perf: Support a new 'percore' event qualifier
Status from this message: Thanks, applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 5 repliesApplied
- v34 patches 5 repliesSuperseded
- v24 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 6 replies | Superseded |
Changes in v4 from the cover letter
---
Add percore qualifier to documantation.
Rebase to latest perf/core branch
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | perf: Add a 'percore' event qualifiertools/ tools/ tools/ +3 more | +46 | 0 replies | |
| 2/4 | perf stat: Factor out aggregate counts printingtools/ | +39 | 0 replies | |
| 3/4 | perf stat: Support 'percore' event qualifiertools/ tools/ tools/ +1 more | +69 | 3 replies | |
| 4/4 | perf test: Add a simple test for term 'percore'tools/ | +9 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jiri Olsa | Ravi Bangoria |
|---|---|---|
| Series | A-b | |
| 1/4 | ||
| 2/4 | ||
| 3/4 | T-b | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/4] perf: Support a new 'percore' event qualifier
The 'percore' event qualifier which sums up the event counts for both hardware threads in a core. For example,
perf stat -e cpu/event=0,umask=0x3,percore=1/,cpu/event=0,umask=0x3/
In this example, we count the event 'ref-cycles' per-core and per-CPU in one perf stat command-line.
We can already support per-core counting with --per-core, but it's often useful to do this together with other metrics that are collected per CPU (per hardware thread). So this patch series supports this per-core counting on a event level.
v4:
---
Add percore qualifier to documantation.
Rebase to latest perf/core branch
v3:
---
Simplify the patch: "perf: Add a 'percore' event qualifier" Other patches don't have changes.
v2:
---
1. Change 'coresum' to 'percore'.
2. Move the aggregate counts printing to a seperate patch.
Jin Yao (4):
perf: Add a 'percore' event qualifier
perf stat: Factor out aggregate counts printing
perf stat: Support 'percore' event qualifier
perf test: Add a simple test for term 'percore'
tools/perf/Documentation/perf-list.txt | 12 ++++ tools/perf/Documentation/perf-stat.txt | 4 ++ tools/perf/builtin-stat.c | 21 +++++++ tools/perf/tests/parse-events.c | 10 ++- tools/perf/util/evsel.c | 2 + tools/perf/util/evsel.h | 3 + tools/perf/util/parse-events.c | 27 +++++++++ tools/perf/util/parse-events.h | 1 + tools/perf/util/parse-events.l | 1 + tools/perf/util/stat-display.c | 107 ++++++++++++++++++++++++--------- tools/perf/util/stat.c | 8 ++- 11 files changed, 163 insertions(+), 33 deletions(-)
Signature · 1 line
2.7.4