Skip to content

Update perf tool #2876

Merged
merged 3 commits into from Mar 24, 2023
Merged

Update perf tool #2876

merged 3 commits into from Mar 24, 2023

Conversation

david
Copy link
Collaborator

@david david commented Mar 23, 2023

Since the binutils update from 2.37 to 2.40, perf fails to start:

$ sudo perf stat sleep 5
perf: error while loading shared libraries: libbfd-2.37.so: cannot open shared object file: No such file or directory

So update to the version of our default Linux kernel.

Resolves: #2871

@pmenzel
Copy link
Collaborator

pmenzel commented Mar 24, 2023

Tested on folsomprisonblues:

@folsomprisonblues:~$ sudo perf stat sleep 5

 Performance counter stats for 'sleep 5':

              0.86 msec task-clock                #    0.000 CPUs utilized          
                 1      context-switches          #    1.161 K/sec                  
                 0      cpu-migrations            #    0.000 /sec                   
                66      page-faults               #   76.644 K/sec                  
           1008506      cycles                    #    1.171 GHz                    
            129409      stalled-cycles-frontend   #   12.83% frontend cycles idle   
            240694      stalled-cycles-backend    #   23.87% backend cycles idle    
            828747      instructions              #    0.82  insn per cycle         
                                                  #    0.29  stalled cycles per insn
            187032      branches                  #  217.196 M/sec                  
              7341      branch-misses             #    3.92% of all branches        

       5.001727398 seconds time elapsed

       0.000000000 seconds user
       0.001869000 seconds sys

@pmenzel pmenzel merged commit 18f6612 into master Mar 24, 2023
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

perf: missing libbfd-2.37.so
2 participants