Sep 20 – 24, 2021
US/Pacific timezone

Eventfs based upon VFS to reduce memory footprint.

Sep 22, 2021, 9:25 AM
Microconference1/Virtual-Room (LPC Virtual)


LPC Virtual

Tracing MC Tracing MC


Ajay Kaher


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'.

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'.

Please refer prototype code here:

I agree to abide by the anti-harassment policy I agree

Primary authors

Steven Rostedt Ajay Kaher

Presentation materials

Diamond Sponsor

Platinum Sponsor

Gold Sponsors

Silver Sponsors

Speaker Gift Sponsor

T-Shirt Sponsor

Conference Services provided by