aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2020-12-16 09:05:56 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-02-17 18:09:08 +0000
commit48859e5293a261437deb0231d78a388e242ed2d3 (patch)
treed9053042a5878714b76fd3c5ec68f9e8dcfc107a /tools/perf/ui/browsers/annotate.c
parenttools api fs: Diet cgroupfs_find_mountpoint() (diff)
downloadkernel-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