diff options
author | Steven Rostedt (Google) <[email protected]> | 2024-02-01 10:34:52 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-03-17 07:58:52 -0400 |
commit | c3137ab6318d56370dd5541ebf027ddfc0c8557c (patch) | |
tree | e5ecca26c7861b418ae3570ad97e8ee6e8447789 /tools/perf/util/trace-event-scripting.c | |
parent | 04204cd9b0b450bfe561a5f8d0fc91288c6427ab (diff) |
eventfs: Create eventfs_root_inode to store dentry
Only the root "events" directory stores a dentry. There's no reason to
hold a dentry pointer for every eventfs_inode as it is never set except
for the root "events" eventfs_inode.
Create a eventfs_root_inode structure that holds the events_dir dentry.
The "events" eventfs_inode *is* special, let it have its own descriptor.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Linus Torvalds <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Ajay Kaher <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions