diff options
| author | James Clark <[email protected]> | 2024-04-10 10:34:55 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-04-12 15:02:06 +0000 |
| commit | 7aa87499797c8e805c93fb0fd457c6babfb44bdb (patch) | |
| tree | 528987cdd247bf058ff9772ca2805880c8967977 /tools/perf/builtin-annotate.c | |
| parent | perf map: Remove kernel map before updating start and end addresses (diff) | |
| download | kernel-7aa87499797c8e805c93fb0fd457c6babfb44bdb.tar.gz kernel-7aa87499797c8e805c93fb0fd457c6babfb44bdb.zip | |
perf tests: Remove dependency on lscpu
This check can be done with uname which is more portable. At the same
time re-arrange it into a standard if statement so that it's more
readable.
Reviewed-by: Ian Rogers <[email protected]>
Signed-off-by: James Clark <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Athira Rajeev <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Spoorthy S <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
