Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AutoFDO
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 511

PostPosted: Sun Dec 15, 2024 5:35 pm    Post subject: AutoFDO Reply with quote

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
Code:
perf list
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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum