perf-tools icon indicating copy to clipboard operation
perf-tools copied to clipboard

Errors on Icelake server

Open uttampawar opened this issue 3 years ago • 0 comments

Hi Ahmad, I'm continuously seeing errors with "counter names" on Icelake server. Here is an example.

$ git clone --recurse-submodules https://github.com/aayasin/perf-tools $ cd perf-tools $ ./do.py profile -a "./proto_benchmark -- --benchmark_min_time=30" icelake logging setup .. /usr/bin/ldd: line 41: printf: write error: Broken pipe /usr/bin/ldd: line 43: printf: write error: Broken pipe INFO: App: ./proto_benchmark -- --benchmark_min_time=30 . per-app counting 3 runs .. event syntax error: '..,cycles:k,{slots,topdown-retiring,topdown-bad-spec,top..' ___ parser error Run 'perf list' for a list of valid events

Usage: perf stat [] []

-e, --event <event>   event selector. use 'perf list' to list available events

ERROR: Command "perf stat -r3 --log-fd=1 -e "cpu-clock,context-switches,cpu-migrations,page-faults,instructions,cycles,ref-cycles,branches,branch-misses,cycles:k,{slots,topdown-retiring,topdown-bad-spec,topdown-fe-bound,topdown-be-bound},cpu/event=0xc4,umask=0x40,name=System-entries/u,r2424" -- ./proto_benchmark -- --benchmark_min_time=30 | tee proto_benchmark--benchmark_min_time30.perf_stat-r3.log | egrep 'seconds [st]|CPUs|GHz|insn|topdown|Work|System|all branches' | uniq 2>&1 | tee -a proto_benchmark--benchmark_min_time30-out.txt" failed with '1' !

uttampawar avatar Jan 09 '23 20:01 uttampawar