diff options
| author | Nikita Shubin <[email protected]> | 2022-08-15 16:22:38 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-10-27 16:37:24 -0300 |
| commit | 25c2e5911705c69d7b01c35ea0b32cbe6ada67cd (patch) | |
| tree | 529458117189ffcbd731d00ff88df1d2da81907d /tools/perf/scripts/python/flamegraph.py | |
| parent | 200204f56f3b5a464c719ddb930a1a2557562dda (diff) | |
perf tools riscv: Add support for get_cpuid_str function
The get_cpuid_str function returns the string that contains values of
MVENDORID, MARCHID and MIMPID in hex format separated by coma.
The values themselves are taken from first cpu entry in "/proc/cpuid"
that contains "mvendorid", "marchid" and "mimpid".
Signed-off-by: Nikita Shubin <[email protected]>
Tested-by: Kautuk Consul <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Cc: Albert Ou <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Anup Patel <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Palmer Dabbelt <[email protected]>
Cc: Paul Walmsley <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions