]> git.baikalelectronics.ru Git - kernel.git/commit
perf tests: Define and use symbolic names for fake symbols
authorNamhyung Kim <namhyung@kernel.org>
Fri, 23 May 2014 05:59:57 +0000 (14:59 +0900)
committerJiri Olsa <jolsa@kernel.org>
Sun, 1 Jun 2014 12:35:11 +0000 (14:35 +0200)
commite5941164662987a12e1f227791eac8104422f150
tree13faa52fccc2ed620f89e8c71030c85718daaeb0
parentc31dadf3bc967edd0a970b1552045081416358c3
perf tests: Define and use symbolic names for fake symbols

In various histogram test cases, fake symbols are used as raw numbers.
Define macros for each pid, map, symbols so that it can increase
readability somewhat.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Arun Sharma <asharma@fb.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/1401335910-16832-27-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/tests/hists_common.c
tools/perf/tests/hists_common.h
tools/perf/tests/hists_filter.c
tools/perf/tests/hists_link.c
tools/perf/tests/hists_output.c