diff options
| author | Namhyung Kim <[email protected]> | 2020-01-27 10:00:31 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-03-04 13:34:09 +0000 |
| commit | 7982a898515064ba180d958bfc89ed22d13905ee (patch) | |
| tree | 6bdc83844fbf9854fc97c1f155f370636917afb0 /tools/lib/perf/Documentation/examples/counting.c | |
| parent | Merge remote-tracking branch 'acme/perf/urgent' into perf/core (diff) | |
| download | kernel-7982a898515064ba180d958bfc89ed22d13905ee.tar.gz kernel-7982a898515064ba180d958bfc89ed22d13905ee.zip | |
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]>
Diffstat (limited to 'tools/lib/perf/Documentation/examples/counting.c')
0 files changed, 0 insertions, 0 deletions
