diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2023-11-29 12:47:17 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-11-29 17:49:17 -0300 |
| commit | a472ee42e6f60c8714e2306385687922afcba8c4 (patch) | |
| tree | ae54ecd3e450b61f2f30fdfb7104979660ecd205 /tools/perf/scripts/python | |
| parent | 5940a20a186bd74efd6d0dc0b2b7c77d891895d9 (diff) | |
perf test sigtrap: Generalize the BTF routine to reuse it in this test
Move the part that loads the BTF info to a "btf__available()" that will
lazy load the BTF info so that if we need it for some other test, which
we will in the following cset, we can reuse it.
At some point this will move from this specific 'perf test' entry to be
used in other parts of perf, do it when needed.
Cc: Adrian Hunter <[email protected]>
Cc: Clark Williams <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kate Carcia <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Thomas Gleixner <[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')
0 files changed, 0 insertions, 0 deletions