diff options
| author | Namhyung Kim <[email protected]> | 2020-12-16 09:05:56 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-02-17 18:09:08 +0000 |
| commit | 48859e5293a261437deb0231d78a388e242ed2d3 (patch) | |
| tree | d9053042a5878714b76fd3c5ec68f9e8dcfc107a /tools/perf/ui/browsers/annotate.c | |
| parent | tools api fs: Diet cgroupfs_find_mountpoint() (diff) | |
| download | kernel-48859e5293a261437deb0231d78a388e242ed2d3.tar.gz kernel-48859e5293a261437deb0231d78a388e242ed2d3.zip | |
tools api fs: Cache cgroupfs mount point
Currently it parses the /proc file everytime it opens a file in the
cgroupfs. Save the last result to avoid it (assuming it won't be
changed between the accesses).
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions
