Skip to content

perf: inherit_stat related fixes

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10perf/x86: Add warning on proper cpu during event's updatearch/x86/events/core.c+2 -01 reply
2/10perf: Fix leader for removed sibling event in perf_group_detachkernel/events/core.c+1 -01 reply
3/10perf: Make sure we read only scheduled eventskernel/events/core.c+7 -32 replies
4/10perf record: Set read_format for inherit_stattools/perf/util/evsel.c+6 -10 replies
5/10perf report: Add dump_read functiontools/perf/builtin-report.c tools/perf/util/session.c+25 -40 replies
6/10perf values: Fix thread index bugtools/perf/util/values.c+2 -20 replies
7/10perf values: Fix allocation checktools/perf/util/values.c+1 -10 replies
8/10perf values: Zero value bufferstools/perf/util/values.c+7 -20 replies
9/10perf report: Group stat values on global event idtools/perf/builtin-report.c tools/perf/util/values.c+2 -20 replies
10/10perf stat: Support inherit/no-inherit termstools/perf/builtin-stat.c tools/perf/util/parse-events.c+21 -03 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/10] perf: inherit_stat related fixes

hi,
Mark reported an issue with inherit_stat code
and posted a fix [1].

I found we have some issues with that in perf
tool as well, so sending his fix together with
perf tool fixes.

The patchset is also available in:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/values

thanks,
jirka

[1] https://marc.info/?l=linux-kernel&m=150238662928203&w=2

---
Jiri Olsa (10):
perf/x86: Add warning on proper cpu during event's update
perf: Fix leader for removed sibling event in perf_group_detach
perf: Make sure we read only scheduled events
perf record: Set read_format for inherit_stat
perf report: Add dump_read function
perf values: Fix thread index bug
perf values: Fix allocation check
perf values: Zero value buffers
perf report: Group stat values on global event id perf stat: Support inherit/no-inherit terms

 arch/x86/events/core.c         |  2 ++
 kernel/events/core.c           | 11 ++++++++---
 tools/perf/builtin-report.c    |  6 +-----
 tools/perf/builtin-stat.c      | 19 +++++++++++++++++++
 tools/perf/util/evsel.c        |  7 ++++++-
 tools/perf/util/parse-events.c |  2 ++
 tools/perf/util/session.c      | 25 +++++++++++++++++++++++++
 tools/perf/util/values.c       | 17 +++++++++++------
 8 files changed, 74 insertions(+), 15 deletions(-)