Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25652

Memory usage isn't reported with Performance Analyzer when using tracepoints on Arch Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 4.14.2
    • Performance Analyzer
    • None
    • Arch Linux
    • Linux/X11

    Description

      When adding the memory tracepoints (after applying the fixes for QTCREATORBUG-25651) and using those tracepoints for a performance analysis, the memory usage statistics don't show up in the Flame Graph.

      The samples for the flame graph (which I presume are the calls to malloc, free, etc.) show up, and are very different compared to the results when using the default CPU counters. However, the "Peak Usage", "Allocations", and "Releases" portions of the flame graph are all empty.

      Some modifications to the tracepoint script (QTCREATORBUG-25651) were required to get the tracepoints properly added. My guess is some changes in the recent versions of the perf tool prevent the statistics from being parsed properly.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ulherman Ulf Hermann
              akb825 Aaron Barany
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes