diff options
author | Namhyung Kim <[email protected]> | 2020-12-16 18:05:56 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-02-17 15:09:08 -0300 |
commit | 48859e5293a261437deb0231d78a388e242ed2d3 (patch) | |
tree | d9053042a5878714b76fd3c5ec68f9e8dcfc107a /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | 6fd99b7f625c1fa0bbedbad03dc36e16e37e1777 (diff) |
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 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions