perf tests: Factor out fake_setup_machine()
authorNamhyung Kim <namhyung@kernel.org>
Fri, 25 Apr 2014 03:28:13 +0000 (12:28 +0900)
committerJiri Olsa <jolsa@kernel.org>
Mon, 28 Apr 2014 11:42:29 +0000 (13:42 +0200)
commit6e344a952dcfa45b8bfef8eaf8423ab73c5adaf2
treeaf0200fd0df2a89def1a0a87a1c39309edfe430e
parent2933d7813d8618f18632a7dc7f4e7f1f7d17383a
perf tests: Factor out fake_setup_machine()

The fake_setup_machine() is for setting up a environment for testing
various hists operations. As it'll be used for other test cases it'd
better factoring it out.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1398396494-12811-1-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/Makefile.perf
tools/perf/tests/hists_common.c [new file with mode: 0644]
tools/perf/tests/hists_common.h [new file with mode: 0644]
tools/perf/tests/hists_link.c