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

Support for large PT buffers (>=2G) #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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