Skip to content

Conversation

@ganboing
Copy link
Contributor

This patch allows the use of large PT buffers. E.g., users can now configure 8GB pt buffer per- logical CPU by:

modprobe simple-pt pt_buffer_order=9 pt_num_buffers=4095

This would configure 4095 2MB output regions. We intentionally use 4095 rather than 4096 to save space on the ToPA pages (Last ToPA entry is for the END pointer)

@andikleen
Copy link
Owner

Can you please create new ioctls for the 64bit variants and keep the old ones? There might be already existing users outside sptdump of the ioctl ABI/API which would be broken otherwise. Other than that the changes look good. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants