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.
tools/syscount: Add syscall filter support (iovisor#4132)
Sometimes, I'd only care about a single syscall rather than all syscalls. Use the --syscall option for this. # syscount -i 1 -p $(pgrep -nx mysqld) --syscall fsync -L Tracing syscall 'fsync'... Ctrl+C to quit. [13:02:24] SYSCALL COUNT TIME (us) fsync 956 2448760.979 [13:02:25] SYSCALL COUNT TIME (us) fsync 979 2387591.025 [13:02:26] SYSCALL COUNT TIME (us) fsync 845 2488404.454
- Loading branch information
1 parent
4a60443
commit 8528919
Showing
3 changed files
with
56 additions
and
6 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