perf tools: Factor sysfs code into generic fs object
authorJiri Olsa <jolsa@redhat.com>
Tue, 5 Nov 2013 14:14:45 +0000 (15:14 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Nov 2013 17:44:26 +0000 (14:44 -0300)
commit4299a549979783668d787959d61ba22b6b200877
treec55824db21d990ee0d0a65318b8362c0c081911a
parent44d742e01e6d3dd544ee1873b660a3c8bc1413bb
perf tools: Factor sysfs code into generic fs object

Moving sysfs code into generic fs object and preparing it to carry
procfs support.

This should be merged with tools/lib/lk/debugfs.c at some point in the
future.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1383660887-1734-2-git-send-email-jolsa@redhat.com
[ Added fs__ namespace qualifier to some more functions ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf
tools/perf/tests/parse-events.c
tools/perf/util/cpumap.c
tools/perf/util/fs.c [new file with mode: 0644]
tools/perf/util/fs.h [new file with mode: 0644]
tools/perf/util/pmu.c
tools/perf/util/python-ext-sources
tools/perf/util/sysfs.c [deleted file]
tools/perf/util/sysfs.h [deleted file]