Skip to content

perf tests: Fix Track with sched_switch test for hybrid case

Adrian Hunter lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf parse-events: Fix segfault when event parser gets an errortools/perf/util/parse-events.c+11 -30 replies
2/3perf tests: Fix Track with sched_switch test for hybrid casetools/perf/tests/switch-tracking.c+13 -50 replies
3/3perf tools: Do not pass NULL to parse_events()tools/perf/arch/arm/util/cs-etm.c tools/perf/arch/arm64/util/arm-spe.c tools/perf/arch/x86/tests/intel-cqm.c +19 more+45 -350 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH V2 0/3] perf tests: Fix Track with sched_switch test for hybrid case

Hi

Here are a couple of fixes (V2) related to the Track with sched_switch test, and a subsequent tidy-up.

Changes in V2:

perf parse-events: Fix segfault when event parser gets an error
Amend commit message to refer to subsequent tidy-up patch

perf tools: Do not pass NULL to parse_events()
New patch

Adrian Hunter (3):
perf parse-events: Fix segfault when event parser gets an error perf tests: Fix Track with sched_switch test for hybrid case perf tools: Do not pass NULL to parse_events()

 tools/perf/arch/arm/util/cs-etm.c       |  2 +-
 tools/perf/arch/arm64/util/arm-spe.c    |  2 +-
 tools/perf/arch/x86/tests/intel-cqm.c   |  2 +-
 tools/perf/arch/x86/util/intel-bts.c    |  2 +-
 tools/perf/arch/x86/util/intel-pt.c     |  2 +-
 tools/perf/arch/x86/util/iostat.c       |  2 +-
 tools/perf/arch/x86/util/topdown.c      |  2 +-
 tools/perf/tests/code-reading.c         |  2 +-
 tools/perf/tests/event-times.c          |  2 +-
 tools/perf/tests/evsel-roundtrip-name.c |  4 ++--
 tools/perf/tests/hists_cumulate.c       |  2 +-
 tools/perf/tests/hists_filter.c         |  4 ++--
 tools/perf/tests/hists_link.c           |  4 ++--
 tools/perf/tests/hists_output.c         |  2 +-
 tools/perf/tests/keep-tracking.c        |  4 ++--
 tools/perf/tests/perf-time-to-tsc.c     |  2 +-
 tools/perf/tests/switch-tracking.c      | 24 ++++++++++++++++--------
 tools/perf/util/bpf-loader.c            |  2 +-
 tools/perf/util/parse-events.c          | 22 ++++++++++++++++++----
 tools/perf/util/parse-events.h          |  4 ++++
 tools/perf/util/perf_api_probe.c        |  2 +-
 tools/perf/util/record.c                |  2 +-
 22 files changed, 61 insertions(+), 35 deletions(-)

Regards
Adrian