diff options
| author | Ajay Kaher <[email protected]> | 2023-07-28 23:50:46 +0530 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2023-07-30 18:13:33 -0400 |
| commit | c1504e5102384762bd06b068e9928b624a8a88c6 (patch) | |
| tree | 640a6cf06518ca72bbcb711e9814fa33cccec6b4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 2c6b6b1029d46a8760d6cba09b4e75cb1ac9b579 (diff) | |
eventfs: Implement eventfs dir creation functions
Add eventfs_file structure which will hold the properties of the eventfs
files and directories.
Add following functions to create the directories in eventfs:
eventfs_create_events_dir() will create the top level "events" directory
within the tracefs file system.
eventfs_add_subsystem_dir() creates an eventfs_file descriptor with the
given name of the subsystem.
eventfs_add_dir() creates an eventfs_file descriptor with the given name of
the directory and attached to a eventfs_file of a subsystem.
Add tracefs_inode structure to hold the inodes, flags and pointers to
private data used by eventfs.
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]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-lkp/[email protected]
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions