diff options
author | Ian Rogers <[email protected]> | 2024-04-15 23:15:20 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-04-26 22:07:20 -0300 |
commit | f91fa2ae63604e6fe9eed9ac05eb9ed3b23701cc (patch) | |
tree | b4b15e0c3765aafe6f5f80191cba366085345b82 /tools/perf/scripts/python | |
parent | 90b2c210a54e657ea8fcba3d724dba180c716edc (diff) |
perf pmu: Refactor perf_pmu__match()
Move all implementation to pmu code. Don't allocate a fnmatch wildcard
pattern, matching ignoring the suffix already handles this, and only
use fnmatch if the given PMU name has a '*' in it.
Signed-off-by: Ian Rogers <[email protected]>
Reviewed-by: Kan Liang <[email protected]>
Tested-by: Atish Patra <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Beeman Strong <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[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