diff options
| author | Namhyung Kim <[email protected]> | 2024-10-16 06:23:53 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-10-22 16:52:11 +0000 |
| commit | d9e0970f77b92b0e2afff5e4a9e379bc9885df56 (patch) | |
| tree | 7a69a453dcdfb25d00ea61d479edb46f84b40377 /tools/perf/builtin-script.c | |
| parent | perf tools: Don't set attr.exclude_guest by default (diff) | |
| download | kernel-d9e0970f77b92b0e2afff5e4a9e379bc9885df56.tar.gz kernel-d9e0970f77b92b0e2afff5e4a9e379bc9885df56.zip | |
perf tools: Simplify evsel__add_modifier()
Since it doesn't set the exclude_guest, no need to special handle the
bit and simply show only if one of host or guest bit is set. Now the
default event name might not have :H prefix anymore so change the
dlfilter test not to compare the ":" at the end.
Reviewed-by: Ian Rogers <[email protected]>
Reviewed-by: James Clark <[email protected]>
Reviewed-by: Ravi Bangoria <[email protected]>
Acked-by: Kan Liang <[email protected]>
Cc: James Clark <[email protected]>
Cc: Atish Patra <[email protected]>
Cc: Mingwei Zhang <[email protected]>
Cc: Kajol Jain <[email protected]>
Cc: Thomas Richter <[email protected]>
Cc: Palmer Dabbelt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
