I'm on "Vendor ID: GenuineIntel\nModel name: Intel(R) Core(TM) i7-14700" and this kernel:
Linux d-8xpf794 6.8.0-59-generic #61~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:03:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
when I try to run
bash -x ./uarch-bench.sh --timer=libpfc --test-name=studies/store-fwd-try/stfwd-try1 --extra-events=MACHINE_CLEARS.MEMORY_ORDERING
I run into this line:
sudo sh -c "echo 2 > /sys/bus/event_source/devices/cpu/rdpmc"
sh: 1: cannot create /sys/bus/event_source/devices/cpu/rdpmc: Directory nonexistent
Is there a fix for this?