diff options
| author | Namhyung Kim <[email protected]> | 2023-12-12 16:13:11 -0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-12-23 22:39:42 -0300 |
| commit | 0669729eb0afb0cf55fe1b97d7a8b1315354910f (patch) | |
| tree | 32d651fab24e888618bc0d11abf691f3fb9e68ba /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | fc044c53b99fad039ac30b95b289992ebf7dd6b4 (diff) | |
perf annotate: Factor out evsel__get_arch()
The evsel__get_arch() is to get architecture info from the environment.
It'll be used by other places later so let's factor it out.
Also add arch__is() to check the arch info by name.
Committer notes:
"get" is usually associated with refcounting, so we better rename this
at some point to a better name.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[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 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions