Skip to content

cannot create /sys/bus/event_source/devices/cpu/rdpmc: Directory nonexistent #100

@SurenNihalani

Description

@SurenNihalani

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions