Skip to content

perf lock: misc fixes and enhancements

Davidlohr Bueso lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7perf lock: remove dead codetools/perf/builtin-lock.c+0 -60 replies
2/7perf lock: return proper code in report_lock_*_eventtools/perf/builtin-lock.c+12 -120 replies
3/7perf lock: plug some memleakstools/perf/builtin-lock.c+9 -52 replies
4/7perf lock: redo __cmd_reporttools/perf/builtin-lock.c+36 -320 replies
5/7perf lock: do not cut lock nametools/perf/builtin-lock.c+2 -161 reply
6/7perf lock: limit bad rate precisiontools/perf/builtin-lock.c+1 -10 replies
7/7perf lock: account for lock average wait timetools/perf/Documentation/perf-lock.txt tools/perf/builtin-lock.c+10 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] perf lock: misc fixes and enhancements

This patchset is a first in a series of perf-lock enhancements I am working on. Overall it is pretty straightforward, dealing with cleanups, and some cosmetic changes.

Patches 1-3 deal with some minor fixes and cleanups.

Patch 4 fixes a segfault in the report command when the perf.data file is generated by a non perf-lock command.

Patch 5 and 6 are cosmetic changes.

Patch 7 allows the tool to report the average wait times.

Thanks!

Davidlohr Bueso (7):
perf lock: remove dead code
perf lock: return proper code in report_lock_*_event perf lock: plug some memleaks
perf lock: redo __cmd_report
perf lock: do not cut lock name
perf lock: limit bad rate precision
perf lock: account for lock average wait time

 tools/perf/Documentation/perf-lock.txt |   2 +-
 tools/perf/builtin-lock.c              | 142 ++++++++++++++++-----------------
 2 files changed, 70 insertions(+), 74 deletions(-)
Signature · 1 line
1.7.11.7