Skip to content

Conversation

mradosav-amd
Copy link
Contributor

Motivation

This PR will prevent buffer to be filled and data to be discarded.

Technical Details

In Perfetto configuration, flushing period is set to 10 seconds.

Test Plan

Trace workload which will generate larger trace than default perfetto_buffer_size, and be sure that larger trace is result of profiling.

Test Result

Without this patch, workload tracing was generating 1.2GB trace and trace result was incomplete, but with this patch, trace was 1.8GB, and trace was full.

Submission Checklist

@mradosav-amd mradosav-amd force-pushed the users/mradosav-amd/perfetto-flush branch from 85562ab to f971273 Compare October 16, 2025 11:23
Copy link
Contributor

@dgaliffiAMD dgaliffiAMD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @mradosav-amd. Good change, I just a couple of comments and I think we should add to the CHANGELOGS.
By the way, is this for SWDEV-518817

@dgaliffiAMD dgaliffiAMD requested a review from a team as a code owner October 16, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants