diff options
| author | Ajay Kaher <[email protected]> | 2023-07-28 23:50:44 +0530 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2023-07-30 18:13:33 -0400 |
| commit | ba37ff75e04be7df5fa19dcd86f81c984294a37b (patch) | |
| tree | 575ba676531a52002fb820d3f557bc505528aae4 /tools/perf/scripts/python | |
| parent | ee41106a12c76f38d0cf82ef17809fa62757151d (diff) | |
eventfs: Implement tracefs_inode_cache
Create a kmem cache of tracefs_inodes. To be more efficient, as there are
lots of tracefs inodes, create its own cache. This also allows to see how
many tracefs inodes have been created.
Add helper functions:
tracefs_alloc_inode()
tracefs_free_inode()
get_tracefs()
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ajay Kaher <[email protected]>
Co-developed-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Tested-by: Ching-lin Yu <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions