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

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 4.14.2
    • Performance Analyzer
    • None
    • Arch Linux
    • Linux/X11
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: