Speaker
Description
Problem Statement:
Linux tracing provides mechanism to have multiple instances of 'tracing' and each instance of tracing have individual events directory which is known as 'Eventfs Tracing Infrastructure' i.e. '/sys/kernel/debug/tracing/events'.
'Eventfs Tracing Infrastructure' contains lot of files/directories although depending upon the Kernel config, still the number of files/directories ranges more than 10k which consumes memory in MBs. Further creating new instance of 'Linux tracing', creates its own copy of 'events'.
Solution:
As per the usage, it would be creating only the relevant directories/files at runtime and deletes them if it's not require anymore. This is based upon 'Virtual file system'.
POC/Code:
Please refer prototype code here:
https://gitlab.com/akaher/linux-trace/-/commits/ftrace/eventfs/
I agree to abide by the anti-harassment policy | I agree |
---|