Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Perf Data Parser failed - Qt Creator
Forum Update on Monday, May 27th 2025

Perf Data Parser failed - Qt Creator

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 661 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shreya_agrawal
    wrote on 2 Apr 2024, 05:20 last edited by
    #1

    When I try to run the Performance Analyzer, I get this error message:

    The Perf data parser failed to process all the samples. Your trace is incomplete. The exit code was 4.

    I am using Performance Analyzer in Qt for the first time, so any help would be great.

    Qt Version: 5.12.9
    Perf Version: 5.15.131
    OS Version: Ubuntu 22.04.3 LTS

    S 1 Reply Last reply 2 Apr 2024, 06:02
    0
    • S shreya_agrawal
      2 Apr 2024, 05:20

      When I try to run the Performance Analyzer, I get this error message:

      The Perf data parser failed to process all the samples. Your trace is incomplete. The exit code was 4.

      I am using Performance Analyzer in Qt for the first time, so any help would be great.

      Qt Version: 5.12.9
      Perf Version: 5.15.131
      OS Version: Ubuntu 22.04.3 LTS

      S Offline
      S Offline
      shreya_agrawal
      wrote on 2 Apr 2024, 06:02 last edited by
      #2

      @shreya_agrawal
      The issue was solved. Follow these steps:
      Add this line in the /etc/sysctl.conf file and then save the file:

      kernel.perf_event_paranoid = -1
      

      Earlier, the perf_event_paranoid was set to 4, which was the cause of the error.

      -1: Allow use of (almost) all events by all users
      0: Disallow raw and ftrace function tracepoint access
      1: Disallow CPU event access
      2: Disallow kernel profiling

      Then, apply the changes by running the following command:

      sudo sysctl -p
      
      1 Reply Last reply
      1
      • S shreya_agrawal has marked this topic as solved on 2 Apr 2024, 06:03

      1/2

      2 Apr 2024, 05:20

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved