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

stackcount: add -c option for CPU only events #2307

Merged
merged 1 commit into from
Apr 10, 2019

Conversation

dstepanovsrc
Copy link
Contributor

Add the -c option to trace events happened only the requested CPU.
Update command line, man and example.

Signed-off-by: Dima Stepanov [email protected]
Signed-off-by: Yury Kotov [email protected]

Add the -c option to trace events happened only the requested CPU.
Update command line, man and example.

Signed-off-by: Dima Stepanov <[email protected]>
Signed-off-by: Yury Kotov <[email protected]>
@dstepanovsrc
Copy link
Contributor Author

While working on the linux scheduler, it was a nice thing to trace the function stacks based on the CPU id. Because for the scheduler routines the process id often differs.

@yonghong-song
Copy link
Collaborator

[buildbot, test this please]

@yonghong-song
Copy link
Collaborator

Looks good to me. Thanks!

@yonghong-song yonghong-song merged commit e75480d into iovisor:master Apr 10, 2019
@brendangregg
Copy link
Member

Thanks;

While we're looking at stackcount. :-) ... I just filed #2308 -- would be good to get that fixed if someone wants to do it.

brendangregg pushed a commit to brendangregg/bcc that referenced this pull request May 23, 2019
Add the -c option to trace events happened only the requested CPU.
Update command line, man and example.

Signed-off-by: Dima Stepanov <[email protected]>
Signed-off-by: Yury Kotov <[email protected]>
palexster pushed a commit to palexster/bcc that referenced this pull request Jul 7, 2019
Add the -c option to trace events happened only the requested CPU.
Update command line, man and example.

Signed-off-by: Dima Stepanov <[email protected]>
Signed-off-by: Yury Kotov <[email protected]>
CrackerCat pushed a commit to CrackerCat/bcc that referenced this pull request Jul 31, 2024
Add the -c option to trace events happened only the requested CPU.
Update command line, man and example.

Signed-off-by: Dima Stepanov <[email protected]>
Signed-off-by: Yury Kotov <[email protected]>
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.

None yet

3 participants