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)
commita1891aa4805fa77d98db44ec6e1d93e2921828fb
tree13faa52fccc2ed620f89e8c71030c85718daaeb0
parentd69b2962a0aebd431cdda939f4418dd606e2f77e
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