perf auxtrace: Refactor with evsel__is_aux_event()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | perf auxtrace: Use evsel__is_aux_event() for checking AUX eventtools/ | +2 | 1 reply | |
| 2/9 | perf auxtrace: Remove unused 'pmu' pointer from struct auxtrace_recordtools/ tools/ tools/ +3 more | +0 | 3 replies | |
| 3/9 | perf auxtrace: Refactor auxtrace__evsel_is_auxtrace()tools/ tools/ tools/ +5 more | +3 | 3 replies | |
| 4/9 | perf arm-spe: Remove the 'pmu_type' fieldtools/ | +1 | 0 replies | |
| 5/9 | perf cs-etm: Remove the 'pmu_type' fieldtools/ | +1 | 0 replies | |
| 6/9 | perf hisi-ptt: Remove the unused 'pmu_type' fieldtools/ | +0 | 0 replies | |
| 7/9 | perf intel-bts: Remove the 'pmu_type' fieldtools/ | +1 | 0 replies | |
| 8/9 | perf intel-pt: Remove the 'pmu_type' fieldtools/ | +17 | 0 replies | |
| 9/9 | perf s390-cpumsf: Remove the unused 'pmu_type' fieldtools/ | +0 | 0 replies |
Reviews trailers per patch
2 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Adrian Hunter |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/9] perf auxtrace: Refactor with evsel__is_aux_event()
As the evsel__is_aux_event() function can be used to detect AUX event, it is not necessary for every AUX module to maintain a 'pmu_type' field and compare it for detecting AUX event.
This patch series refactors auxtrace with using evsel__is_aux_event(), and remove unused the 'pmu_type' field from every AXU module's structure.
This series has been tested on Arm SPE and Intel PT.
Leo Yan (9):
perf auxtrace: Use evsel__is_aux_event() for checking AUX event perf auxtrace: Remove unused 'pmu' pointer from struct auxtrace_record perf auxtrace: Refactor auxtrace__evsel_is_auxtrace()
perf arm-spe: Remove the 'pmu_type' field
perf cs-etm: Remove the 'pmu_type' field
perf hisi-ptt: Remove the unused 'pmu_type' field
perf intel-bts: Remove the 'pmu_type' field
perf intel-pt: Remove the 'pmu_type' field
perf s390-cpumsf: Remove the unused 'pmu_type' field
tools/perf/arch/arm/util/cs-etm.c | 1 - tools/perf/arch/arm64/util/arm-spe.c | 1 - tools/perf/arch/arm64/util/hisi-ptt.c | 1 - tools/perf/arch/x86/util/intel-bts.c | 1 - tools/perf/arch/x86/util/intel-pt.c | 1 - tools/perf/util/arm-spe.c | 13 +------- tools/perf/util/auxtrace.c | 8 ++--- tools/perf/util/auxtrace.h | 3 -- tools/perf/util/cs-etm.c | 17 ++-------- tools/perf/util/hisi-ptt.c | 11 ------- tools/perf/util/intel-bts.c | 14 +------- tools/perf/util/intel-pt.c | 46 ++++++++++----------------- tools/perf/util/s390-cpumsf.c | 11 ------- 13 files changed, 25 insertions(+), 103 deletions(-)
Signature · 1 line
2.34.1