Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UFTrace: Support for perf-CPUx.data files #5

Open
MatthewKhouzam opened this issue Feb 28, 2024 · 0 comments
Open

UFTrace: Support for perf-CPUx.data files #5

MatthewKhouzam opened this issue Feb 28, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@MatthewKhouzam
Copy link
Contributor

From the uftrace wiki:

perf event data files

The perf-cpuX.dat files are used to read event data generated from the Linux kernel using perf_event_open system call. But it doesn't actually open real perf events but just use a dummy event to collect task-related context info like PERF_RECORD_FORK, PERF_RECORD_EXIT, PERF_RECORD_COMM and PERF_RECORD_SWITCH (if supported). Please refer 'MMAP Layout' in the man page of perf event syscall.

It would be very good to add support for this as it can add the kernel line to the flame charts and flame graphs as well as populate the control flow, cpu usage, and resources views, as well as the syscall analyses.

@MatthewKhouzam MatthewKhouzam added enhancement New feature or request good first issue Good for newcomers labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant