mirror_ubuntu-kernels/tools/perf/lib/include/internal
Jiri Olsa 301a89f8cf libperf: Keep count of failed tests
Keep the count of failed tests, so we get better output with failures,
like:

  # make tests
  ...
  running static:
  - running test-cpumap.c...OK
  - running test-threadmap.c...OK
  - running test-evlist.c...FAILED test-evlist.c:53 failed to create evsel2
  FAILED test-evlist.c:163 failed to create evsel2
  FAILED test-evlist.c:287 failed count
    FAILED (3)
  - running test-evsel.c...OK
  running dynamic:
  - running test-cpumap.c...OK
  - running test-threadmap.c...OK
  - running test-evlist.c...FAILED test-evlist.c:53 failed to create evsel2
  FAILED test-evlist.c:163 failed to create evsel2
  FAILED test-evlist.c:287 failed count
    FAILED (3)
  - running test-evsel.c...OK
 ...

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20191017105918.20873-9-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-10-19 15:35:01 -03:00
..
cpumap.h libperf: Move perf's cpu_map__idx() to perf_cpu_map__idx() 2019-08-22 11:18:45 -03:00
evlist.h libperf: Introduce perf_evlist__for_each_mmap() 2019-10-19 15:35:01 -03:00
evsel.h libperf: Add perf_evsel__alloc_id/perf_evsel__free_id functions 2019-09-25 09:51:48 -03:00
lib.h libperf: Use sys/types.h to get ssize_t, not unistd.h 2019-09-25 09:51:49 -03:00
mmap.h libperf: Introduce perf_evlist__for_each_mmap() 2019-10-19 15:35:01 -03:00
tests.h libperf: Keep count of failed tests 2019-10-19 15:35:01 -03:00
threadmap.h libperf: Add perf_thread_map__new_dummy() function 2019-07-29 18:34:44 -03:00
xyarray.h libperf: Fix alignment trap with xyarray contents in 'perf stat' 2019-08-22 17:16:57 -03:00