tools api fs: Diet cgroupfs_find_mountpoint()
authorNamhyung Kim <namhyung@kernel.org>
Wed, 16 Dec 2020 09:05:55 +0000 (18:05 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 17 Feb 2021 18:08:32 +0000 (15:08 -0300)
commit6fd99b7f625c1fa0bbedbad03dc36e16e37e1777
tree8ec3824214a2a0d18f72c20ef8c8212fe75a43f4
parent27ab1c1c06529056df498b9647c03167e682b4d9
tools api fs: Diet cgroupfs_find_mountpoint()

Reduce the number of buffers and hopefully make it more efficient. :)

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20201216090556.813996-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/api/fs/cgroup.c