Namhyung Kim
7982a89851
tools lib api fs: Move cgroupsfs_find_mountpoint()
...
Move it from tools/perf/util/cgroup.c as it can be used by other places.
Note that cgroup filesystem is different from others since it's usually
mounted separately (in v1) for each subsystem.
I just copied the code with a little modification to pass a name of
subsystem.
Suggested-by: Jiri Olsa <[email protected] >
Signed-off-by: Namhyung Kim <[email protected] >
Cc: Jiri Olsa <[email protected] >
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2020-03-04 10:34:09 -03:00
Jiri Olsa
60a1133a5b
tools lib api fs: Remove debugfs, tracefs and findfs objects
...
We have all the functionality in fs.c, let's remove unneeded
objects.
Signed-off-by: Jiri Olsa <[email protected] >
Cc: David Ahern <[email protected] >
Cc: Matt Fleming <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Raphael Beamonte <[email protected] >
Cc: Steven Rostedt <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2015-09-14 12:50:15 -03:00
Jiri Olsa
592d5a6ba8
tools lib api fs: Move tracing_path interface into api/fs/tracing_path.c
...
Moving tracing_path interface into api/fs/tracing_path.c out of util.c.
It seems generic enough to be used by others, and I couldn't think of
better place.
Signed-off-by: Jiri Olsa <[email protected] >
Reviewed-by: Matt Fleming <[email protected] >
Reviewed-by: Raphael Beamonte <[email protected] >
Cc: David Ahern <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Steven Rostedt <[email protected] >
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2015-09-04 12:00:45 -03:00
Jiri Olsa
285a8f247b
tools lib api: Rename libapikfs.a to libapi.a
...
Renaming libapikfs.a to libapi.a, because it's not just 'fs' specific
library now.
Signed-off-by: Jiri Olsa <[email protected] >
Tested-by: Sukadev Bhattiprolu <[email protected] >
Tested-by: Will Deacon <[email protected] >
Cc: Alexis Berlemont <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Corey Ashford <[email protected] >
Cc: David Ahern <[email protected] >
Cc: Frederic Weisbecker <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Stephane Eranian <[email protected] >
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2015-02-12 17:55:18 -03:00
Jiri Olsa
b4f9166847
tools lib api: Use tools build framework
...
Move the libapikfs library building under tools build framework.
Signed-off-by: Jiri Olsa <[email protected] >
Tested-by: Sukadev Bhattiprolu <[email protected] >
Tested-by: Will Deacon <[email protected] >
Cc: Alexis Berlemont <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Corey Ashford <[email protected] >
Cc: David Ahern <[email protected] >
Cc: Frederic Weisbecker <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Stephane Eranian <[email protected] >
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2015-02-12 17:54:39 -03:00