Skip to content

perf tools: Fix attr tests

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15perf tools: Fix -n optiontools/perf/util/evsel.c+3 -17 replies
2/15perf tests attr: Do not store failed eventstools/perf/tests/attr.c+1 -10 replies
3/15perf tests attr: Add test_attr__ready functiontools/perf/perf.h tools/perf/tests/attr.c tools/perf/util/evsel.c+15 -00 replies
4/15perf tests attr: Make compare_data globaltools/perf/tests/attr.py+18 -180 replies
5/15perf tests attr: Rename compare_data to data_equaltools/perf/tests/attr.py+4 -40 replies
6/15perf tests attr: Add 1s for exclude_kernel and task base bitstools/perf/tests/attr/base-record tools/perf/tests/attr/base-stat+2 -20 replies
7/15perf tests attr: Fix record dwarf testtools/perf/tests/attr/test-record-graph-dwarf+2 -10 replies
8/15perf tests attr: Fix no-delay testtools/perf/tests/attr/test-record-no-buffering+1 -10 replies
9/15perf tests attr: Add proper return valuestools/perf/tests/attr/test-record-C0 tools/perf/tests/attr/test-record-basic tools/perf/tests/attr/test-record-branch-any +21 more+24 -00 replies
10/15perf tests attr: Fix cpu test disabled term setuptools/perf/tests/attr/test-stat-C0+2 -20 replies
11/15perf tests attr: Fix sample_period setuptools/perf/tests/attr/base-record tools/perf/tests/attr/test-record-branch-any tools/perf/tests/attr/test-record-branch-filter-any +9 more+1 -130 replies
12/15perf tests attr: Fix precise_ip setuptools/perf/tests/attr/base-record+1 -10 replies
13/15perf tests attr: Fix stat sample_type setuptools/perf/tests/attr/base-stat+1 -10 replies
14/15perf tests attr: Add optional termtools/perf/tests/attr.py tools/perf/tests/attr/test-stat-default tools/perf/tests/attr/test-stat-detailed-1 +2 more+23 -30 replies
15/15perf tests attr: Fix task term valuestools/perf/tests/attr/base-record tools/perf/tests/attr/test-record-group tools/perf/tests/attr/test-record-group-sampling +1 more+4 -22 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/15] perf tools: Fix attr tests

hi,
attr tests have been broken for some time now. Updating the data files plus some other processing fixes.

It's also available in here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/attr_test

thanks,
jirka

---
 tools/perf/perf.h                                                        |  1 +
 tools/perf/tests/attr.c                                                  | 12 +++++++++++-
 tools/perf/tests/attr.py                                                 | 50 +++++++++++++++++++++++++++++---------------------
 tools/perf/tests/attr/base-record                                        |  8 ++++----
 tools/perf/tests/attr/base-stat                                          |  4 ++--
 tools/perf/tests/attr/test-record-C0                                     |  1 +
 tools/perf/tests/attr/test-record-basic                                  |  1 +
 tools/perf/tests/attr/test-record-branch-any                             |  2 +-
 tools/perf/tests/attr/test-record-branch-filter-any                      |  2 +-
 tools/perf/tests/attr/test-record-branch-filter-any_call                 |  2 +-
 tools/perf/tests/attr/test-record-branch-filter-any_ret                  |  2 +-
 tools/perf/tests/attr/test-record-branch-filter-hv                       |  2 +-
 tools/perf/tests/attr/test-record-branch-filter-ind_call                 |  2 +-
 tools/perf/tests/attr/test-record-branch-filter-k                        |  2 +-
 tools/perf/tests/attr/test-record-branch-filter-u                        |  2 +-
 tools/perf/tests/attr/test-record-count                                  |  1 +
 tools/perf/tests/attr/test-record-data                                   |  3 +--
 tools/perf/tests/attr/test-record-freq                                   |  1 +
 tools/perf/tests/attr/test-record-graph-default                          |  1 +
 tools/perf/tests/attr/test-record-graph-dwarf                            |  4 +++-
 tools/perf/tests/attr/test-record-graph-fp                               |  1 +
 tools/perf/tests/attr/test-record-group                                  |  2 ++
 tools/perf/tests/attr/test-record-group-sampling                         |  3 ++-
 tools/perf/tests/attr/test-record-group1                                 |  2 ++
 tools/perf/tests/attr/{test-record-no-delay => test-record-no-buffering} |  4 ++--
 tools/perf/tests/attr/test-record-no-inherit                             |  1 +
 tools/perf/tests/attr/test-record-no-samples                             |  1 +
 tools/perf/tests/attr/test-record-period                                 |  1 +
 tools/perf/tests/attr/test-record-raw                                    |  2 +-
 tools/perf/tests/attr/test-stat-C0                                       |  4 ++--
 tools/perf/tests/attr/test-stat-default                                  |  2 ++
 tools/perf/tests/attr/test-stat-detailed-1                               |  2 ++
 tools/perf/tests/attr/test-stat-detailed-2                               |  3 +++
 tools/perf/tests/attr/test-stat-detailed-3                               |  5 +++++
 tools/perf/util/evsel.c                                                  |  8 +++++++-
 35 files changed, 98 insertions(+), 46 deletions(-)