perf tools: cleanups, fixes, updates
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 7 repliesIn review
- v110 patches 15 repliesSuperseded
Changes in v2 from the cover letter
* Rebased version to latest tip/perf/core.
* Removed patches #1 and #2 as they are already applied.
* Dropping patch "perf report: Setup browser if stdout is a pipe", the patch did not properly handle ^C to terminate profiling.
* perf record throws an error now if buildids may not be generated, which can be disabled with the --no-buildid option.
* Prevent potential null pointer access to input_name in builtin-report.c. Needed due to removal of patch "perf report: Setup browser if stdout is a pipe"
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | perf tools: Continue processing header on unknown featurestools/ | +1 | 1 reply | |
| 2/7 | perf tools: Fix out-of-bound access to struct perf_sessiontools/ tools/ | +2 | 1 reply | |
| 3/7 | perf tool: Moving code in some filestools/ tools/ | +264 | 1 reply | |
| 4/7 | perf report: Accept fifos as input filetools/ tools/ tools/ +16 more | +51 | 1 reply | |
| 5/7 | perf tool: Unify handling of features when writing feature sectiontools/ tools/ | +12 | 1 reply | |
| 6/7 | perf tools: Improve macros for struct feature_opstools/ | +22 | 1 reply | |
| 7/7 | perf tools: Use for_each_set_bit() to iterate over feature flagstools/ tools/ tools/ | +149 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/7] perf tools: cleanups, fixes, updates
The patch set contains some cleanups, fixes and updates I found worth to implement during code review. Some patches can be applied independently.
v2:
* Rebased version to latest tip/perf/core.
* Removed patches #1 and #2 as they are already applied.
* Dropping patch "perf report: Setup browser if stdout is a pipe", the patch did not properly handle ^C to terminate profiling.
* perf record throws an error now if buildids may not be generated, which can be disabled with the --no-buildid option.
* Prevent potential null pointer access to input_name in builtin-report.c. Needed due to removal of patch "perf report: Setup browser if stdout is a pipe"
Robert Richter (7):
perf tools: Continue processing header on unknown features perf tools: Fix out-of-bound access to struct perf_session perf tool: Moving code in some files
perf report: Accept fifos as input file
perf tool: Unify handling of features when writing feature section perf tools: Improve macros for struct feature_ops
perf tools: Use for_each_set_bit() to iterate over feature flags
tools/perf/Documentation/perf-annotate.txt | 2 +- tools/perf/Documentation/perf-buildid-list.txt | 2 +- tools/perf/Documentation/perf-evlist.txt | 2 +- tools/perf/Documentation/perf-kmem.txt | 2 +- tools/perf/Documentation/perf-lock.txt | 2 +- tools/perf/Documentation/perf-report.txt | 2 +- tools/perf/Documentation/perf-sched.txt | 2 +- tools/perf/Documentation/perf-script.txt | 2 +- tools/perf/Documentation/perf-timechart.txt | 2 +- tools/perf/builtin-annotate.c | 3 +- tools/perf/builtin-buildid-list.c | 53 +- tools/perf/builtin-evlist.c | 2 +- tools/perf/builtin-kmem.c | 2 +- tools/perf/builtin-lock.c | 2 +- tools/perf/builtin-record.c | 7 + tools/perf/builtin-report.c | 13 +- tools/perf/builtin-sched.c | 2 +- tools/perf/builtin-script.c | 4 +- tools/perf/builtin-timechart.c | 4 +- tools/perf/util/header.c | 663 +++++++++++------------- tools/perf/util/header.h | 6 +- tools/perf/util/include/linux/bitops.h | 118 +++++ tools/perf/util/session.c | 15 +- tools/perf/util/session.h | 2 +- 24 files changed, 496 insertions(+), 418 deletions(-)
Signature · 1 line
1.7.7