Skip to content

perf: Follow-up patches to improve time slice

Jin Yao lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8perf report: Improve error msg when no first/last sample time foundtools/perf/builtin-report.c+3 -10 replies
2/8perf script: Improve error msg when no first/last sample time foundtools/perf/builtin-script.c+3 -10 replies
3/8perf util: Improve error checking for time percent inputtools/perf/util/time-utils.c+6 -20 replies
4/8perf util: Support no index time percent slicetools/perf/util/time-utils.c+36 -00 replies
5/8perf report: Add an indication of what time slices are usedtools/perf/builtin-report.c+3 -00 replies
6/8perf util: Allocate time slices buffer according to number of commatools/perf/util/time-utils.c tools/perf/util/time-utils.h+30 -00 replies
7/8perf report: Remove the time slices number limitationtools/perf/Documentation/perf-report.txt tools/perf/builtin-report.c+18 -71 reply
8/8perf script: Remove the time slices number limitationtools/perf/Documentation/perf-script.txt tools/perf/builtin-script.c+18 -90 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJiri Olsa
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/8] perf: Follow-up patches to improve time slice

It's follow-up patches to improve the perf time slice feature (perf report/script --time xxx)

1. Improve the error message
perf report: Improve error msg when no first/last sample time found perf script: Improve error msg when no first/last sample time found

2. Fix an issue that illegal percent was accepted previously (e.g. 1abc%) perf util: Improve error checking for time percent input

3. Omit the slice index if possible. For example, perf report --stdio --time 10%/1 is equivalent to perf report --stdio --time 10%

perf util: Support no index time percent slice

4. Add indication of time slices in perf report header. perf report: Add an indication of what time slices are used

5. Remove the time slices number limitation in perf report/script perf util: Allocate time slices buffer according to number of comma perf report: Remove the time slices number limitation perf script: Remove the time slices number limitation

Jin Yao (8):
perf report: Improve error msg when no first/last sample time found perf script: Improve error msg when no first/last sample time found perf util: Improve error checking for time percent input perf util: Support no index time percent slice
perf report: Add an indication of what time slices are used perf util: Allocate time slices buffer according to number of comma perf report: Remove the time slices number limitation perf script: Remove the time slices number limitation

 tools/perf/Documentation/perf-report.txt |  2 +-
 tools/perf/Documentation/perf-script.txt | 10 ++---
 tools/perf/builtin-report.c              | 30 +++++++++----
 tools/perf/builtin-script.c              | 21 +++++++---
 tools/perf/util/time-utils.c             | 72 +++++++++++++++++++++++++++++++-
 tools/perf/util/time-utils.h             |  2 +
 6 files changed, 117 insertions(+), 20 deletions(-)
Signature · 1 line
2.7.4