Sasha Goldshtein
b41b1cd3b8
funcslower: Make -p switch respect all the process' threads
...
The -p switch used to set the `set_ftrace_pid` file, which is really
a thread id from the user's perspective. As a result, only the main
thread would be traced. Fix by enumerating the thread ids from /proc/
$pid/task and putting them all in `set_ftrace_pid` when asked.
Signed-off-by: Sasha Goldshtein <goldshtn@gmail.com >
2017-09-04 09:36:38 -04:00
Brendan Gregg
5a511f5f77
update URL
v1.0
2016-04-17 15:57:13 -07:00
Brendan Gregg
29f192d0a2
tools map
2016-04-17 15:55:40 -07:00
Brendan Gregg
0c13e83723
link to newer eBPF/bcc tools
2015-09-19 22:40:38 -07:00
Brendan Gregg
5a2c24587b
Merge pull request #36 from DiegoPomares/patch-1
...
Added filters
2015-08-07 15:50:45 -07:00
Diego Pomares
0eb3456a91
Added filters
...
The only thing missing is the capability of adding filters, example:
# ... synchronous writes histogram, 5 seconds
perf-stat-hist -f 'rwbs == "WS"' block:block_rq_complete nr_sector 5
2015-08-06 13:38:44 +02:00
Brendan Gregg
94b23cc96c
links
2015-07-26 10:50:26 -07:00
Brendan Gregg
80e25785e1
Merge pull request #33 from rgulewich/master
...
Add lsblk to the "See Also" section
2015-07-23 10:49:08 -07:00
Brendan Gregg
3e05a2de72
Merge pull request #28 from ronin13/syscount-fix
...
syscount: Fix for perf list and perf script.
2015-07-23 10:48:04 -07:00
Rob Gulewich
4047d0f306
Add lsblk to the "See Also" section
2015-07-21 16:43:05 -07:00
Brendan Gregg
b6c75ffb5e
kprobe USAGE message update
2015-07-14 11:52:39 -07:00
Brendan Gregg
06aa0eb988
USAGE message
2015-07-11 11:58:54 -07:00
Raghavendra D Prabhu
56edb4e321
syscount: Fix for perf list and perf script.
...
perf list adds the header 'List of ..' which requires to be filtered,
otherwise follow up commands fail.
perf script has had its option for fields changed from '-f' to '-F' in
recent perf. Hence, using longer option for compatibility.
2015-07-05 18:43:46 +05:30
Brendan Gregg
30ff475891
avoid listing symbol duplicates
2015-07-02 19:26:28 -07:00
Brendan Gregg
f3eee1f894
mysqld example
2015-07-02 16:36:10 -07:00
Brendan Gregg
e2be680480
handle missing dependencies
2015-07-02 15:36:41 -07:00
Brendan Gregg
e2dc944e78
warning message
2015-07-02 15:27:47 -07:00
Brendan Gregg
e203ba8c62
improve error messages, and better symbol match
2015-07-02 15:12:07 -07:00
Brendan Gregg
2be3c8d079
improve warnings
2015-07-01 12:06:34 -07:00
Brendan Gregg
5103491a8c
synopsis
2015-06-29 12:53:35 -07:00
Brendan Gregg
952b85ef56
comment
2015-06-29 12:50:34 -07:00
Brendan Gregg
e1e25a0d6d
link
2015-06-29 11:58:42 -07:00
Brendan Gregg
ab991efaa9
more uprobe examples
2015-06-29 00:48:19 -07:00
Brendan Gregg
d1bd15c601
wrong comment
2015-06-29 00:01:13 -07:00
Brendan Gregg
d626d3699e
use objdump to find base load addr instead of needing a live process
2015-06-28 19:41:11 -07:00
Brendan Gregg
71086ef90b
uprobe for user-level tracing
2015-06-28 13:48:29 -07:00
Brendan Gregg
b4e8f3802c
usage message improvement, and drop printing probe name unless debug mode
2015-06-27 17:21:50 -07:00
Brendan Gregg
5ea7fd3975
Merge pull request #26 from yangoliver/master
...
bitesize: work with different versions of awk and bash
2015-06-27 16:43:14 -07:00
Yong Yang
7431cc024f
bitesize: work with different versions of awk and bash
...
This patch tries to fix following bitesize issues,
1. Error flooding messages when array index value is negative.
2. the smax in gawk was treated as string, that cause bug when
perf return zero IO count.
Signed-off-by: Yong Yang <yangoliver@gmail.com >
2015-06-06 23:24:01 +08:00
Brendan Gregg
85414b0124
Merge pull request #20 from yangoliver/cmdline
...
Replace split by sub to get pid
2015-01-30 10:36:29 -08:00
Oliver Yang
cea905d417
Replace split by sub to get pid
...
Signed-off-by: Oliver Yang <yangoliver@gmail.com >
2015-01-29 01:12:48 -08:00
Brendan Gregg
522d0d9291
Merge pull request #19 from yangoliver/cmdline
...
awk scirpt can't work if process name contains space
2015-01-28 10:25:14 -08:00
Oliver Yang
c20539a1ad
awk scirpt can't work if process name contains space
...
Signed-off-by: Oliver Yang <yangoliver@gmail.com >
2015-01-28 06:40:07 -08:00
Brendan Gregg
feeefeba7b
Merge pull request #17 from yangoliver/killsnoop
...
killsnoop: can't work with mawk
2015-01-19 11:56:47 -08:00
Oliver Yang
a52538f823
killsnoop: can't work with mawk
...
On Ubuntu Linux release, mawk is used by default. This issue caused
killsnoop can't work on Ubuntu by default.
There are two issues,
a. The strtonum is not supported by mawk.
Try to use int to convert string to number.
For gawk, int usage need the --non-decimal-data option.
On very old RHEL release(2.6.18 kernel), the gawk can support
this option.
b. killsnoop still has no results due to mawk buffering porblems.
Using -W interactive could solve this isue.
The option is available on mawk 1.2, RHEL 4+ should support it.
Signed-off-by: Oliver Yang <yangoliver@gmail.com >
2015-01-17 02:24:34 -08:00
Brendan Gregg
27d206f9d4
Merge pull request #14 from g2p/master
...
execsnoop: Instrument sys_execve first
2015-01-05 13:54:30 +11:00
Brendan Gregg
41fe778cd3
cachestat for page cache statistics
2015-01-02 11:54:12 +09:30
Brendan Gregg
21ee61e151
typo
2014-12-20 14:01:14 +11:00
Brendan Gregg
0494f41433
formatting
2014-12-16 13:05:26 -08:00
Brendan Gregg
9c1615d11e
warn about Linux 2.6.x kernels
2014-12-16 13:00:49 -08:00
Gabriel
50893c8b8f
execsnoop: Instrument sys_execve first
...
On my kernel (3.16 amd64), stub_execve can't be instrumented, and
do_execve gets instrumented but fails silently (no events are caught).
Print which implementation is used.
Make sure do_execve is tried last due to silent failures.
2014-12-16 16:18:07 +01:00
Brendan Gregg
eda43a5179
another execsnoop example
2014-12-16 02:30:50 -08:00
Brendan Gregg
2dd02b6f36
skip control files (filter/enable) in tpoint -l
2014-11-14 22:41:16 -08:00
Brendan Gregg
5fb0a4a6e4
usage message typos
2014-11-14 22:34:04 -08:00
Brendan Gregg
2c05860ca6
Merge pull request #11 from pyKun/add_sys_execue
...
add sys_execve to inspect
2014-11-13 21:10:44 -08:00
Kun Huang
312ca53529
add sys_execve to inspect
2014-11-14 02:20:39 +08:00
Brendan Gregg
2eb08cf55c
Merge pull request #10 from mpiehl/master
...
Fixed a couple minor documentation issues
2014-09-29 10:29:22 -07:00
mpiehl
e2d127db23
Fixed a couple minor documentation issues
2014-09-28 20:29:40 -05:00
Brendan Gregg
3d4c80998c
edit
2014-09-20 00:44:38 -07:00
Brendan Gregg
2462d9570d
edits
2014-09-20 00:41:54 -07:00