Skip to content

perf tools: fix parsing with no sample_id_all bit set

Adrian Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf tools: add test for parsing with no sample_id_all bittools/perf/Makefile tools/perf/tests/builtin-test.c tools/perf/tests/parse-no-sample-id-all.c +1 more+115 -10 replies
2/2perf tools: fix parsing with no sample_id_all bit settools/perf/util/evlist.c+7 -21 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchDavid Ahern
1/2
2/2Tested-and-Acked-by

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 0/2] perf tools: fix parsing with no sample_id_all bit set

Hi

Here is a fix, with a test to illustrate the issue.

Adrian Hunter (2):
perf tools: add test for parsing with no sample_id_all bit perf tools: fix parsing with no sample_id_all bit set

 tools/perf/Makefile                       |   3 +-
 tools/perf/tests/builtin-test.c           |   4 ++
 tools/perf/tests/parse-no-sample-id-all.c | 108 ++++++++++++++++++++++++++++++
 tools/perf/tests/tests.h                  |   1 +
 tools/perf/util/evlist.c                  |   9 ++-
 5 files changed, 122 insertions(+), 3 deletions(-)
 create mode 100644 tools/perf/tests/parse-no-sample-id-all.c

Regards
Adrian