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

'-c' flag and kernel pages isolation #26

Open
RainM opened this issue May 15, 2019 · 1 comment
Open

'-c' flag and kernel pages isolation #26

RainM opened this issue May 15, 2019 · 1 comment

Comments

@RainM
Copy link

RainM commented May 15, 2019

Hi, Andi

You wrote that '-c' flag doesn't work because of kernel page isolation.
Could you help me to understand how simple-pt deals with processes. How does simple-pt distinguish one process from another? According to what I see at simple-pt.c you set some trace points to scheduler in order to handle context switch and save this information somewhere? Is it right?
And you mentioned that now a process have multiple page tables. Am I right that the purpose of this is to handle different address spaces for application and kernel?
Since it works this way nowadays, how to extract a trace for a specified TID/PID from simple-pt trace? I talk about hypothetical availability for such thing even is this requires writing code.

--Sergey

@RainM RainM changed the title '-c '-c' flag and kernel pages isolation May 15, 2019
@andikleen
Copy link
Owner

andikleen commented May 16, 2019 via email

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

No branches or pull requests

2 participants