forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
capable: add user and kernel stack trace options (iovisor#2042)
* add kernel stack trace option to capable Signed-off-by: Andrea Righi <[email protected]> * capable: avoid stack trace overwrite Use 0 in get_stack() to avoid overwriting the stack trace in the kernel for the same stack_id. Signed-off-by: Andrea Righi <[email protected]> * capable: print both TID and PID Signed-off-by: Andrea Righi <[email protected]> * add user-space stack trace option to capable Signed-off-by: Andrea Righi <[email protected]> * capable: avoid catching itself Signed-off-by: Andrea Righi <[email protected]> * capable: drop unused member pid_tgid in struct Signed-off-by: Andrea Righi <[email protected]> * capable: report a proper error message when stack trace is missing Print [Missed User Stack] or [Missed Kernel Stack] when get_stackid() returns an error. Signed-off-by: Andrea Righi <[email protected]> * capable: add missing errno import Signed-off-by: Andrea Righi <[email protected]> * capable: remove dependency from python-enum module Signed-off-by: Andrea Righi <[email protected]>
- Loading branch information
1 parent
6bbdb9c
commit 8417f69
Showing
3 changed files
with
114 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters