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

Script to create memory tracepoints doesn't work on Arch Linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.14.2
    • Fix Version/s: None
    • Component/s: Performance Analyzer
    • Labels:
      None
    • Environment:
      Arch Linux
    • Platform/s:
      Linux/X11
    • Commits:
      ba08864954 (qt-creator/qt-creator/master)

      Description

      When attempting to run the script provided by the "Create Memory Trace Points" menu option, there are three main problems on Arch Linux:
      1. The call to find for libc.so.6 fails since /lib is a symlink. To work around this, you can use /lib/ for the path instead.
      2. The non-inlined _ret functions are decorated automatically by the call to perf probe, likely due to the %return in the function name, causing match_tracepoints to incorrectly delete valid entries.
      3. Some entries queried with perf probe -l have multiple lines, which break finding the "bad" probes that are deleted in match_tracepoints.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTCREATORBUG-25651
          # Subject Branch Project Status CR V

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes