antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 511
|
Posted: Sun Dec 15, 2024 5:35 pm Post subject: AutoFDO |
|
|
Hi,
I came across this article:
https://docs.kernel.org/dev-tools/autofdo.html
I installed cachy-sources 6.12.4
intrigued and did a few tests, but I'll stop at this point:
perf record --pfm-events RETIRED_TAKEN_BRANCH_INSTRUCTIONS:k -a -N -b -c 500009 -o kernel.data
Code: | failed to parse event RETIRED_TAKEN_BRANCH_INSTRUCTIONS:k : event not found |
in fact does not list this event...
am I missing something on the system?
Code: | emerge -pv perf
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 0.89 s (backtrack: 0/20).
[ebuild R ] dev-util/perf-6.12.5::antonellocaroli USE="bpf crypt doc libpfm libtraceevent libtracefs unwind -audit* -babeltrace* (-big-endian) -caps -capstone -debug* -gtk -java -lzma -numa -perl -python -slang* -systemtap* -tcmalloc* -zstd" LLVM_SLOT="19 -16 -17 -18" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13 -python3_13t" 0 KiB |
|
|