OpenCloudOS-Kernel/tools/lib/perf/tests
Jiri Olsa afd4ad01ff libperf: Add tests for perf_evlist__set_leader()
Add a test for the newly added perf_evlist__set_leader() function.

Committer testing:

  $ cd tools/lib/perf/
  $ sudo make tests
  [sudo] password for acme:
  running static:
  - running tests/test-cpumap.c...OK
  - running tests/test-threadmap.c...OK
  - running tests/test-evlist.c...OK
  - running tests/test-evsel.c...OK
  running dynamic:
  - running tests/test-cpumap.c...OK
  - running tests/test-threadmap.c...OK
  - running tests/test-evlist.c...OK
  - running tests/test-evsel.c...OK
  $

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Requested-by: Shunsuke Nakamura <nakamura.shun@fujitsu.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20210706151704.73662-8-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-07-09 15:34:41 -03:00
..
Build libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
main.c libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
test-cpumap.c libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
test-evlist.c libperf: Add tests for perf_evlist__set_leader() 2021-07-09 15:34:41 -03:00
test-evsel.c libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
test-threadmap.c libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
tests.h libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00