platform/upstream/bcc.git
8 years agoAdded small list of automatic includes to make the -I switch less necessary
Sasha Goldshtein [Sun, 14 Feb 2016 13:12:27 +0000 (05:12 -0800)]
Added small list of automatic includes to make the -I switch less necessary

8 years agoMerge branch 'master' into argdist-tuples
Sasha Goldshtein [Sun, 14 Feb 2016 11:57:06 +0000 (13:57 +0200)]
Merge branch 'master' into argdist-tuples

8 years agoFixed bug with labels, added support for tuples in hash
Sasha Goldshtein [Sun, 14 Feb 2016 11:49:01 +0000 (03:49 -0800)]
Fixed bug with labels, added support for tuples in hash

8 years agoMerge pull request #376 from brendangregg/master
4ast [Sun, 14 Feb 2016 10:53:38 +0000 (11:53 +0100)]
Merge pull request #376 from brendangregg/master

mdflush

8 years agoImproved error messages for invalid probe syntax, added -I switch to add include...
Sasha Goldshtein [Sun, 14 Feb 2016 07:14:18 +0000 (23:14 -0800)]
Improved error messages for invalid probe syntax, added -I switch to add include files, fixed bug with labels -- now using # to indicate label

8 years agomdflush
Brendan Gregg [Sun, 14 Feb 2016 05:07:23 +0000 (21:07 -0800)]
mdflush

8 years agoMerge branch 'master' into argdist-enh
Sasha Goldshtein [Sat, 13 Feb 2016 11:58:21 +0000 (03:58 -0800)]
Merge branch 'master' into argdist-enh

8 years agoFinalized $entry, $latency, and $retval implementation including examples and man
Sasha Goldshtein [Sat, 13 Feb 2016 11:56:29 +0000 (03:56 -0800)]
Finalized $entry, $latency, and $retval implementation including examples and man

8 years agoMerge pull request #371 from brendangregg/master
4ast [Sat, 13 Feb 2016 10:14:06 +0000 (11:14 +0100)]
Merge pull request #371 from brendangregg/master

ext4 and xfs tools

8 years agoMerge pull request #372 from mcaleavya/master
Brenden Blanco [Sat, 13 Feb 2016 00:28:57 +0000 (01:28 +0100)]
Merge pull request #372 from mcaleavya/master

migrated biosnoop and bashreadline to use bpf_perf_event_output

8 years agostyle updates
mcaleavya [Fri, 12 Feb 2016 23:43:14 +0000 (23:43 +0000)]
style updates

8 years agochanged key struct to data as requested
mcaleavya [Fri, 12 Feb 2016 23:19:11 +0000 (23:19 +0000)]
changed key struct to data as requested

8 years agoadded spaces and tidyup of biosnoop
mcaleavya [Fri, 12 Feb 2016 23:06:53 +0000 (23:06 +0000)]
added spaces and tidyup of biosnoop

8 years agoupdated man pages
mcaleavya [Fri, 12 Feb 2016 20:10:59 +0000 (20:10 +0000)]
updated man pages

8 years agoadded new files for biosnoop and bashreadline
mcaleavya [Fri, 12 Feb 2016 20:06:38 +0000 (20:06 +0000)]
added new files for biosnoop and bashreadline

8 years agoreworking of biosnoop and bashreadline to use bf_perf_event_output. Also moved old...
mcaleavya [Fri, 12 Feb 2016 20:04:35 +0000 (20:04 +0000)]
reworking of biosnoop and bashreadline to use bf_perf_event_output. Also moved old versions to tools/old

8 years agoAdded (paramname) support
Sasha Goldshtein [Fri, 12 Feb 2016 19:14:20 +0000 (11:14 -0800)]
Added (paramname) support

8 years agoMerge branch 'master' into master
Brendan Gregg [Fri, 12 Feb 2016 16:20:33 +0000 (08:20 -0800)]
Merge branch 'master' into master

8 years agoMerge pull request #369 from goldshtn/alloc-hist
Brendan Gregg [Fri, 12 Feb 2016 16:20:07 +0000 (08:20 -0800)]
Merge pull request #369 from goldshtn/alloc-hist

argdist.py: Trace a function and its parameters into a histogram or frequency count

8 years agoUpdated man and examples with new probe syntax and command-line switches
Sasha Goldshtein [Fri, 12 Feb 2016 14:52:19 +0000 (06:52 -0800)]
Updated man and examples with new probe syntax and command-line switches

8 years agoMerge pull request #2 from iovisor/master
Allan McAleavy [Fri, 12 Feb 2016 12:45:58 +0000 (12:45 +0000)]
Merge pull request #2 from iovisor/master

update local repo

8 years agoAdded optional label, fixed inline examples
Sasha Goldshtein [Fri, 12 Feb 2016 11:04:53 +0000 (03:04 -0800)]
Added optional label, fixed inline examples

8 years agoext4dist
Brendan Gregg [Fri, 12 Feb 2016 10:29:08 +0000 (02:29 -0800)]
ext4dist

8 years agoext4slower
Brendan Gregg [Fri, 12 Feb 2016 10:27:19 +0000 (02:27 -0800)]
ext4slower

8 years agoxfsdist
Brendan Gregg [Fri, 12 Feb 2016 10:25:32 +0000 (02:25 -0800)]
xfsdist

8 years agoxfsslower
Brendan Gregg [Fri, 12 Feb 2016 10:23:39 +0000 (02:23 -0800)]
xfsslower

8 years agoRenamed to argdist.py, updated command-line switches, added kernel probe pid filterin...
Sasha Goldshtein [Fri, 12 Feb 2016 09:29:39 +0000 (01:29 -0800)]
Renamed to argdist.py, updated command-line switches, added kernel probe pid filtering, added verbose mode that prints the BPF program

8 years agoAdded tool to README
Sasha Goldshtein [Thu, 11 Feb 2016 19:34:49 +0000 (11:34 -0800)]
Added tool to README

8 years agoMerge branch 'master' into alloc-hist
Sasha Goldshtein [Thu, 11 Feb 2016 19:30:49 +0000 (11:30 -0800)]
Merge branch 'master' into alloc-hist

8 years agoMerge remote-tracking branch 'origin/master' into alloc-hist
Sasha Goldshtein [Thu, 11 Feb 2016 19:30:13 +0000 (11:30 -0800)]
Merge remote-tracking branch 'origin/master' into alloc-hist

8 years agoAdded license (Apache)
Sasha Goldshtein [Thu, 11 Feb 2016 19:26:48 +0000 (11:26 -0800)]
Added license (Apache)

8 years agoAdded man page, reshuffled some options
Sasha Goldshtein [Thu, 11 Feb 2016 19:21:01 +0000 (11:21 -0800)]
Added man page, reshuffled some options

8 years agoAdded ret probes
Sasha Goldshtein [Thu, 11 Feb 2016 10:17:22 +0000 (02:17 -0800)]
Added ret probes

8 years agoImplemented histogram functionality, including strings; added examples
Sasha Goldshtein [Thu, 11 Feb 2016 09:55:11 +0000 (01:55 -0800)]
Implemented histogram functionality, including strings; added examples

8 years agoMerge pull request #360 from brendangregg/master
Brenden Blanco [Thu, 11 Feb 2016 06:46:16 +0000 (07:46 +0100)]
Merge pull request #360 from brendangregg/master

3 tools: oomkill, dcstat, dcsnoop

8 years agoMerge pull request #362 from goldshtn/memleak-enh
Brenden Blanco [Thu, 11 Feb 2016 06:43:29 +0000 (07:43 +0100)]
Merge pull request #362 from goldshtn/memleak-enh

Enhancements to memleak.py

8 years agofix for spaces in filenames, #361
Brendan Gregg [Thu, 11 Feb 2016 06:32:03 +0000 (22:32 -0800)]
fix for spaces in filenames, #361

8 years agoAdded license (Apache), merged memleak.c into memleak.py
Sasha Goldshtein [Thu, 11 Feb 2016 06:17:26 +0000 (22:17 -0800)]
Added license (Apache), merged memleak.c into memleak.py

8 years agoMerge branch 'master' into memleak-enh
Sasha Goldshtein [Thu, 11 Feb 2016 06:10:42 +0000 (22:10 -0800)]
Merge branch 'master' into memleak-enh

8 years agoInitial version of gentrace with raw counting only
Sasha Goldshtein [Thu, 11 Feb 2016 06:10:09 +0000 (22:10 -0800)]
Initial version of gentrace with raw counting only

8 years agoMerge branch 'master' into master
Brendan Gregg [Thu, 11 Feb 2016 01:39:56 +0000 (17:39 -0800)]
Merge branch 'master' into master

8 years agosave one bpf_probe_read()
Brendan Gregg [Thu, 11 Feb 2016 00:38:18 +0000 (16:38 -0800)]
save one bpf_probe_read()

8 years agocopy-n-paste man page error
Brendan Gregg [Thu, 11 Feb 2016 00:34:22 +0000 (16:34 -0800)]
copy-n-paste man page error

8 years agouse bpf_perf_event_output() instead
Brendan Gregg [Thu, 11 Feb 2016 00:33:12 +0000 (16:33 -0800)]
use bpf_perf_event_output() instead

8 years agoMerge pull request #368 from iovisor/runqlat-fix
Brenden Blanco [Wed, 10 Feb 2016 23:54:40 +0000 (00:54 +0100)]
Merge pull request #368 from iovisor/runqlat-fix

Fix for improper includes in runqlat.py

8 years agoFix for improper includes in runqlat.py
Brenden Blanco [Wed, 10 Feb 2016 23:42:16 +0000 (15:42 -0800)]
Fix for improper includes in runqlat.py

Fixes: #367
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
8 years agoAdded -z and -Z switches for filtering by size, added copyright notices
Sasha Goldshtein [Wed, 10 Feb 2016 16:35:20 +0000 (08:35 -0800)]
Added -z and -Z switches for filtering by size, added copyright notices

8 years agodcsnoop
Brendan Gregg [Wed, 10 Feb 2016 09:38:32 +0000 (01:38 -0800)]
dcsnoop

8 years agodcstat
Brendan Gregg [Wed, 10 Feb 2016 09:36:51 +0000 (01:36 -0800)]
dcstat

8 years agooomkill
Brendan Gregg [Wed, 10 Feb 2016 09:34:53 +0000 (01:34 -0800)]
oomkill

8 years agoUpdated examples to show timestamp output for each message
Sasha Goldshtein [Tue, 9 Feb 2016 19:18:32 +0000 (11:18 -0800)]
Updated examples to show timestamp output for each message

8 years agoAdded option to display only top N stacks by size
Sasha Goldshtein [Tue, 9 Feb 2016 19:15:41 +0000 (11:15 -0800)]
Added option to display only top N stacks by size

8 years agoMerge pull request #358 from brendangregg/master
4ast [Tue, 9 Feb 2016 14:40:57 +0000 (15:40 +0100)]
Merge pull request #358 from brendangregg/master

updates and 3 tools: statsnoop, filelife, filetop

8 years agoFixed long arg name from stack_depth to stack-depth
Sasha Goldshtein [Tue, 9 Feb 2016 14:24:33 +0000 (06:24 -0800)]
Fixed long arg name from stack_depth to stack-depth

8 years agoAdded --stack-depth switch to control the number of stack frames captured for each...
Sasha Goldshtein [Tue, 9 Feb 2016 14:23:10 +0000 (06:23 -0800)]
Added --stack-depth switch to control the number of stack frames captured for each allocation

8 years agoUpdated manual, examples, and usage with new interval and count options
Sasha Goldshtein [Tue, 9 Feb 2016 14:03:46 +0000 (06:03 -0800)]
Updated manual, examples, and usage with new interval and count options

8 years agoAdded interval and count options per *stat tool conventions
Sasha Goldshtein [Tue, 9 Feb 2016 13:53:48 +0000 (05:53 -0800)]
Added interval and count options per *stat tool conventions

8 years agoinspiration section for biotop
Brendan Gregg [Tue, 9 Feb 2016 08:37:12 +0000 (00:37 -0800)]
inspiration section for biotop

8 years agofiletop.8
Brendan Gregg [Tue, 9 Feb 2016 08:36:43 +0000 (00:36 -0800)]
filetop.8

8 years agofilelife
Brendan Gregg [Tue, 9 Feb 2016 08:32:51 +0000 (00:32 -0800)]
filelife

8 years agostatsnoop
Brendan Gregg [Tue, 9 Feb 2016 08:31:24 +0000 (00:31 -0800)]
statsnoop

8 years agomissing options section on biotop
Brendan Gregg [Tue, 9 Feb 2016 08:28:43 +0000 (00:28 -0800)]
missing options section on biotop

8 years agomakes more sense to invert the -X usage
Brendan Gregg [Tue, 9 Feb 2016 08:28:09 +0000 (00:28 -0800)]
makes more sense to invert the -X usage

8 years agoMerge pull request #355 from goldshtn/master
Brenden Blanco [Mon, 8 Feb 2016 21:51:26 +0000 (22:51 +0100)]
Merge pull request #355 from goldshtn/master

New tool: memleak

8 years agoMerge pull request #353 from brendangregg/master
Brenden Blanco [Mon, 8 Feb 2016 21:30:19 +0000 (22:30 +0100)]
Merge pull request #353 from brendangregg/master

3 tools: fsslower, execsnoop, runqlat

8 years agomecs typo
Brendan Gregg [Mon, 8 Feb 2016 15:50:33 +0000 (07:50 -0800)]
mecs typo

8 years agoMerge pull request #357 from iovisor/prandom
4ast [Mon, 8 Feb 2016 14:34:44 +0000 (15:34 +0100)]
Merge pull request #357 from iovisor/prandom

Add bpf_get_prandom_u32 to helpers

8 years agoAdd bpf_get_prandom_u32 to helpers
Brenden Blanco [Mon, 8 Feb 2016 14:22:23 +0000 (15:22 +0100)]
Add bpf_get_prandom_u32 to helpers

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
8 years agoAdded -s switch to perform allocation sampling
Sasha Goldshtein [Mon, 8 Feb 2016 13:48:31 +0000 (05:48 -0800)]
Added -s switch to perform allocation sampling

8 years agoAdded memleak.py to README
Sasha Goldshtein [Mon, 8 Feb 2016 12:05:48 +0000 (04:05 -0800)]
Added memleak.py to README

8 years agoAdded man page
Sasha Goldshtein [Mon, 8 Feb 2016 12:04:15 +0000 (04:04 -0800)]
Added man page

8 years agoClarified example output
Sasha Goldshtein [Mon, 8 Feb 2016 11:41:43 +0000 (03:41 -0800)]
Clarified example output

8 years agoFixed indentation and Python style issues from pep
Sasha Goldshtein [Mon, 8 Feb 2016 11:39:44 +0000 (03:39 -0800)]
Fixed indentation and Python style issues from pep

8 years agoAdded examples
Sasha Goldshtein [Mon, 8 Feb 2016 11:10:13 +0000 (03:10 -0800)]
Added examples

8 years agoAdded -c switch to run a command and trace that process
Sasha Goldshtein [Mon, 8 Feb 2016 10:57:02 +0000 (02:57 -0800)]
Added -c switch to run a command and trace that process

8 years agorunqlat
Brendan Gregg [Mon, 8 Feb 2016 09:20:31 +0000 (01:20 -0800)]
runqlat

8 years agorename fsslower to fileslower
Brendan Gregg [Mon, 8 Feb 2016 02:48:20 +0000 (18:48 -0800)]
rename fsslower to fileslower

8 years agoextra dot
Brendan Gregg [Mon, 8 Feb 2016 00:36:10 +0000 (16:36 -0800)]
extra dot

8 years agoexecsnoop
Brendan Gregg [Sun, 7 Feb 2016 23:28:50 +0000 (15:28 -0800)]
execsnoop

8 years agodocs typo
Brendan Gregg [Sun, 7 Feb 2016 21:05:09 +0000 (13:05 -0800)]
docs typo

8 years agomore advice in the man page
Brendan Gregg [Sun, 7 Feb 2016 20:22:50 +0000 (12:22 -0800)]
more advice in the man page

8 years agoRefactored StackDecoder, added 'run command' option with no implementation yet
Sasha Goldshtein [Sun, 7 Feb 2016 20:20:19 +0000 (12:20 -0800)]
Refactored StackDecoder, added 'run command' option with no implementation yet

8 years agofsslower
Brendan Gregg [Sun, 7 Feb 2016 20:14:37 +0000 (12:14 -0800)]
fsslower

8 years agoRefactored Time class and added usage example
Sasha Goldshtein [Sun, 7 Feb 2016 20:03:54 +0000 (12:03 -0800)]
Refactored Time class and added usage example

8 years agoMerge remote-tracking branch 'upstream/master'
Sasha Goldshtein [Sun, 7 Feb 2016 19:16:24 +0000 (11:16 -0800)]
Merge remote-tracking branch 'upstream/master'

8 years agoAdded source for gettime code
Sasha Goldshtein [Sun, 7 Feb 2016 19:11:56 +0000 (11:11 -0800)]
Added source for gettime code

8 years agoDon't show allocations newer than a configurable age
Sasha Goldshtein [Sun, 7 Feb 2016 19:09:36 +0000 (11:09 -0800)]
Don't show allocations newer than a configurable age

8 years agoMerge pull request #351 from iovisor/iteritems
4ast [Sun, 7 Feb 2016 15:11:55 +0000 (07:11 -0800)]
Merge pull request #351 from iovisor/iteritems

Fix python map.items() racing with bpf delete

8 years agoFix python map.items() racing with bpf delete
Brenden Blanco [Sun, 7 Feb 2016 14:57:17 +0000 (06:57 -0800)]
Fix python map.items() racing with bpf delete

The default python implementation of itervalues(), iteritems(), items(), and
values() do a sequence of iter().next followed by self[key], which may
produce a KeyError since a bpf program can delete them quickly. It
should be safe to suppress such errors, hiding them from the user.

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
8 years agoMerge pull request #349 from brendangregg/master
4ast [Sun, 7 Feb 2016 14:30:37 +0000 (06:30 -0800)]
Merge pull request #349 from brendangregg/master

biotop

8 years agoMerge pull request #348 from iovisor/scanf_fix
4ast [Sun, 7 Feb 2016 14:03:01 +0000 (06:03 -0800)]
Merge pull request #348 from iovisor/scanf_fix

Support array and pointer types in scanf generated function

8 years agoAdded memory leak tracer
Sasha Goldshtein [Sun, 7 Feb 2016 09:57:42 +0000 (01:57 -0800)]
Added memory leak tracer

8 years agoupdate comments
Brendan Gregg [Sun, 7 Feb 2016 08:54:44 +0000 (00:54 -0800)]
update comments

8 years agobiotop
Brendan Gregg [Sun, 7 Feb 2016 08:46:34 +0000 (00:46 -0800)]
biotop

8 years agoSupport array and pointer types in scanf generated function
Brenden Blanco [Sun, 7 Feb 2016 04:59:10 +0000 (20:59 -0800)]
Support array and pointer types in scanf generated function

The rewriter-created sscanf and snprintf routines did not support map
structs with arrays or pointer types in them. Add such support.

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
8 years agoMerge pull request #346 from brendangregg/master
Brenden Blanco [Sun, 7 Feb 2016 04:07:03 +0000 (20:07 -0800)]
Merge pull request #346 from brendangregg/master

biosnoop.py: use one map instead of two

8 years agosimplify
Brendan Gregg [Sun, 7 Feb 2016 01:19:59 +0000 (17:19 -0800)]
simplify

8 years agonits
Brendan Gregg [Sun, 7 Feb 2016 01:11:59 +0000 (17:11 -0800)]
nits

8 years agobitesize nits
Brendan Gregg [Sun, 7 Feb 2016 01:08:38 +0000 (17:08 -0800)]
bitesize nits

8 years agouse one map instead of two
Brendan Gregg [Sun, 7 Feb 2016 00:45:29 +0000 (16:45 -0800)]
use one map instead of two