20–24 Sept 2021
US/Pacific timezone

Eventfs based upon VFS to reduce memory footprint.

22 Sept 2021, 09:25
25m
Microconference1/Virtual-Room (LPC Virtual)

Microconference1/Virtual-Room

LPC Virtual

150
Tracing MC Tracing MC

Speaker

Ajay Kaher

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

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