aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNikita Shubin <[email protected]>2022-08-15 16:22:38 +0300
committerArnaldo Carvalho de Melo <[email protected]>2022-10-27 16:37:24 -0300
commit25c2e5911705c69d7b01c35ea0b32cbe6ada67cd (patch)
tree529458117189ffcbd731d00ff88df1d2da81907d /tools/perf/util/scripting-engines/trace-event-python.c
parent200204f56f3b5a464c719ddb930a1a2557562dda (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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions