diff options
author | Sandipan Das <sandipan.das@amd.com> | 2024-03-25 13:17:54 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-03-26 09:04:21 +0100 |
commit | 68cdf1e6e8f2ce78ed7d8f5d80844fd75a9c54ff (patch) | |
tree | 3dd3cefc28e3f2570b957d5c22d6ab522ff6471f /drivers/net | |
parent | c7b2edd8377be983442c1344cb940cd2ac21b601 (diff) | |
download | linux-stable-68cdf1e6e8f2ce78ed7d8f5d80844fd75a9c54ff.tar.gz linux-stable-68cdf1e6e8f2ce78ed7d8f5d80844fd75a9c54ff.tar.bz2 linux-stable-68cdf1e6e8f2ce78ed7d8f5d80844fd75a9c54ff.zip |
perf/x86/amd/core: Define a proper ref-cycles event for Zen 4 and later
Add the "ref-cycles" event for AMD processors based on Zen 4 and later
microarchitectures. The backing event is based on PMCx120 which counts
cycles not in halt state in P0 frequency (same as MPERF).
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/089155f19f7c7e65aeb1caa727a882e2ca9b8b04.1711352180.git.sandipan.das@amd.com
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions