Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-26102

dgcov: add support for *.gcda.gcov.json.gz files of gcov 9.1+

Details

    Description

      1. dgcov should be supported with gcc version gcc 4.9.4+ since there is -i option introduced.
      2. json format found from here that is introduced with 9.1.0. Looking from all release changes for 9.1.0

      The following improvements to the gcov command-line utility have been made.
       
      The gcov tool received a new option --use-hotness-colors (-q) that can provide perf-like coloring of hot functions.
      The gcov tool has changed its intermediate format to a new JSON format.
      

      and seems that in that version intermediate format was deprecated.
      Additional links:
      [1] Zulip analysis
      [2] Support GCOV intermediate format

      Attachments

        Issue Links

          Activity

            anel Anel Husakovic created issue -
            anel Anel Husakovic made changes -
            Field Original Value New Value
            anel Anel Husakovic made changes -
            Description 1. dgcov should be supported with gcc version gcc 4.9.4+ since there is -i option introduced.
            2. json format found from here that is introduced with 9.1.0. Looking from all release changes for 9.1.0

            The following improvements to the gcov command-line utility have been made.
             
            The gcov tool received a new option --use-hotness-colors (-q) that can provide perf-like coloring of hot functions.
            The gcov tool has changed its intermediate format to a new JSON format.
            and seems that in that version intermediate format was deprecated. Additional links [2].
            Link:
            [1] Zulip analysis
            [2]Support GCOV intermediate format
            1. dgcov should be supported with gcc version [gcc 4.9.4+|https://gcc.gnu.org/onlinedocs/gcc-4.9.4/gcc/Invoking-Gcov.html#Invoking-Gcov] since there is -i option introduced.
            2. json format found from [here|https://patches-gcc.linaro.org/patch/10364/] that is introduced with [9.1.0|https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/Invoking-Gcov.html#Invoking-Gcov]. Looking from [all release|https://gcc.gnu.org/releases.html] [changes for 9.1.0|https://gcc.gnu.org/gcc-9/changes.html]
            {code:noformat}
            The following improvements to the gcov command-line utility have been made.
             
            The gcov tool received a new option --use-hotness-colors (-q) that can provide perf-like coloring of hot functions.
            The gcov tool has changed its intermediate format to a new JSON format.
            {code}
            and seems that in that version intermediate format was deprecated.
            Additional links:
            \[1\] [Zulip analysis|https://mariadb.zulipchat.com/#narrow/stream/118759-general/topic/gcov.20and.20how.20is.20used.20in.20MariaDB.20.2010.2E2.2B.20-.20dgcov.20-.20writing.20.2E.2E.2E]
            \[2\] [Support GCOV intermediate format|https://github.com/gcovr/gcovr/issues/282]
            anel Anel Husakovic made changes -
            Assignee Anel Husakovic [ anel ]
            anel Anel Husakovic made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            anel Anel Husakovic made changes -
            Assignee Anel Husakovic [ anel ] Sergei Golubchik [ serg ]
            Status Confirmed [ 10101 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Anel Husakovic [ anel ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            anel Anel Husakovic made changes -
            Assignee Anel Husakovic [ anel ] Sergei Golubchik [ serg ]
            Status Stalled [ 10000 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Summary gcov 9.1 doesn't support intermediate format any more, but json instead - refactoring needed dgcov: add support for *.gcda.gcov.json.gz files of gcov 9.1+
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Anel Husakovic [ anel ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            anel Anel Husakovic made changes -
            Assignee Anel Husakovic [ anel ] Sergei Golubchik [ serg ]
            Status Stalled [ 10000 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Anel Husakovic [ anel ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 123306 ] MariaDB v4 [ 131747 ]
            anel Anel Husakovic made changes -
            Assignee Anel Husakovic [ anel ] Sergei Golubchik [ serg ]
            Status Stalled [ 10000 ] In Review [ 10002 ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Fix Version/s 10.2 [ 14601 ]
            serg Sergei Golubchik made changes -
            Status In Review [ 10002 ] In Testing [ 10301 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.3.38 [ 28507 ]
            Fix Version/s 10.4.28 [ 28509 ]
            Fix Version/s 10.5.19 [ 28511 ]
            Fix Version/s 10.6.12 [ 28513 ]
            Fix Version/s 10.7.8 [ 28515 ]
            Fix Version/s 10.8.7 [ 28517 ]
            Fix Version/s 10.9.5 [ 28519 ]
            Fix Version/s 10.10.3 [ 28521 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Assignee Sergei Golubchik [ serg ] Anel Husakovic [ anel ]
            Resolution Fixed [ 1 ]
            Status In Testing [ 10301 ] Closed [ 6 ]

            People

              anel Anel Husakovic
              anel Anel Husakovic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.