platform/upstream/bcc.git
8 years agoMerge pull request #483 from iovisor/bblanco_dev
4ast [Mon, 11 Apr 2016 02:11:08 +0000 (19:11 -0700)]
Merge pull request #483 from iovisor/bblanco_dev

miscellaneous cleanups to C++ and tools/trace

8 years agoSimplify error prints in frontend_action
Brenden Blanco [Sun, 10 Apr 2016 01:41:42 +0000 (18:41 -0700)]
Simplify error prints in frontend_action

8 years agoFix compile error when perf headers are included early
Brenden Blanco [Fri, 8 Apr 2016 23:01:51 +0000 (16:01 -0700)]
Fix compile error when perf headers are included early

I didn't actually track this one down, but was getting some errors
coming out of kernel header files when perf_events.h was included first.
Move it after some std headers that mask the issue.

8 years agoUse lookup instead of delete in test_stackid
Brenden Blanco [Fri, 8 Apr 2016 23:00:03 +0000 (16:00 -0700)]
Use lookup instead of delete in test_stackid

BPF programs aren't allowed to attach to these functions since deadlocks
may occur, thus the test would fail since no stack is collected. Use
update_elem to test instead.

8 years agoFix python3 exception when ctrl-c tools/trace.py
Brenden Blanco [Fri, 8 Apr 2016 22:52:55 +0000 (15:52 -0700)]
Fix python3 exception when ctrl-c tools/trace.py

The way to do exception printing in python2/3 compatible way is using
sys.exc_info()[0/1].

8 years agoMerge pull request #481 from iovisor/ast_dev
4ast [Sat, 9 Apr 2016 00:44:04 +0000 (17:44 -0700)]
Merge pull request #481 from iovisor/ast_dev

bcc-lua: switch to quiet by default

8 years agobcc-lua: switch to quiet by default
Alexei Starovoitov [Sat, 9 Apr 2016 00:37:41 +0000 (17:37 -0700)]
bcc-lua: switch to quiet by default

use --verbose to turn verbose output

Signed-off-by: Alexei Starovoitov <ast@fb.com>
8 years agoMerge pull request #480 from larsx2/master
Brenden Blanco [Wed, 6 Apr 2016 21:49:22 +0000 (14:49 -0700)]
Merge pull request #480 from larsx2/master

Fixed tcpv4connect.py broken link on README

8 years agoFixed tcpv4connect.py broken link on README
Eduardo Urias [Wed, 6 Apr 2016 21:18:20 +0000 (17:18 -0400)]
Fixed tcpv4connect.py broken link on README

8 years agoMerge pull request #479 from LucaCanali/master
Brenden Blanco [Wed, 6 Apr 2016 18:58:31 +0000 (11:58 -0700)]
Merge pull request #479 from LucaCanali/master

Fix for find_symbol method, issue #478

8 years agoFix for find_symbol method, issue #478
Luca Canali [Wed, 6 Apr 2016 17:39:07 +0000 (19:39 +0200)]
Fix for find_symbol method, issue #478

8 years agoFix for find_symbol method, issue #478
Luca Canali [Wed, 6 Apr 2016 15:35:07 +0000 (17:35 +0200)]
Fix for find_symbol method, issue #478

8 years agoMerge pull request #477 from ragnard/nixos
Brenden Blanco [Wed, 6 Apr 2016 14:06:24 +0000 (07:06 -0700)]
Merge pull request #477 from ragnard/nixos

Add support for nixos

8 years agoIntroduce BCC_KERNEL_MODULES_DIR
Ragnar Dahlén [Tue, 5 Apr 2016 22:32:02 +0000 (23:32 +0100)]
Introduce BCC_KERNEL_MODULES_DIR

Add support for systems using a non-default ("/lib/modules") kernel lib
directory.

8 years agoadd missing include directory to calculated cflags
Ragnar Dahlén [Tue, 5 Apr 2016 22:21:45 +0000 (23:21 +0100)]
add missing include directory to calculated cflags

8 years agoMerge pull request #474 from mcaleavya/master
4ast [Tue, 5 Apr 2016 17:06:04 +0000 (10:06 -0700)]
Merge pull request #474 from mcaleavya/master

migrated gethostlatency to use bpf_perf_event

8 years agoMerge pull request #470 from vmg/vmg/lua-standalone
Brenden Blanco [Tue, 5 Apr 2016 05:50:39 +0000 (22:50 -0700)]
Merge pull request #470 from vmg/vmg/lua-standalone

Standalone Lua tracing tool

8 years agodebian: Add bcc-lua package to control
Vicent Marti [Mon, 4 Apr 2016 18:50:59 +0000 (20:50 +0200)]
debian: Add bcc-lua package to control

8 years agodebian: Add install rule for bcc-lua
Vicent Marti [Mon, 4 Apr 2016 17:21:29 +0000 (19:21 +0200)]
debian: Add install rule for bcc-lua

8 years agoSPECS: Add a spec for `bcc-lua`
Vicent Marti [Mon, 4 Apr 2016 17:19:49 +0000 (19:19 +0200)]
SPECS: Add a spec for `bcc-lua`

8 years agobcc-lua: Add Install target
Vicent Marti [Mon, 4 Apr 2016 16:57:10 +0000 (18:57 +0200)]
bcc-lua: Add Install target

8 years agomigrated gethostlatency to use bpf_perf_event
mcaleavya [Sat, 2 Apr 2016 17:22:37 +0000 (18:22 +0100)]
migrated gethostlatency to use bpf_perf_event

8 years agobpf.lua: Enable the `--llvm-debug` CLI flag
Vicent Marti [Fri, 1 Apr 2016 15:40:58 +0000 (17:40 +0200)]
bpf.lua: Enable the `--llvm-debug` CLI flag

8 years agobcc.lua: Print traceback on errors
Vicent Marti [Fri, 1 Apr 2016 15:38:43 +0000 (17:38 +0200)]
bcc.lua: Print traceback on errors

8 years agobcc: Move all `argv` parsing to Lua code
Vicent Marti [Fri, 1 Apr 2016 15:31:47 +0000 (17:31 +0200)]
bcc: Move all `argv` parsing to Lua code

8 years agobcc: Allow the runner to parse some arguments
Vicent Marti [Fri, 1 Apr 2016 15:14:49 +0000 (17:14 +0200)]
bcc: Allow the runner to parse some arguments

8 years agobcc-lua: Add test for standalone `bcc-lua`
Vicent Marti [Thu, 31 Mar 2016 06:22:45 +0000 (08:22 +0200)]
bcc-lua: Add test for standalone `bcc-lua`

8 years agolua: Add license to the C wrapper
Vicent Marti [Thu, 31 Mar 2016 03:39:07 +0000 (05:39 +0200)]
lua: Add license to the C wrapper

8 years agocmake: Build bcc-lua conditionally
Vicent Marti [Thu, 31 Mar 2016 00:58:49 +0000 (02:58 +0200)]
cmake: Build bcc-lua conditionally

8 years agolua: Setup compilation for the standalone tool
Vicent Marti [Thu, 31 Mar 2016 00:43:56 +0000 (02:43 +0200)]
lua: Setup compilation for the standalone tool

8 years agolua: Fix tests to work in strict mode
Vicent Marti [Wed, 30 Mar 2016 20:34:43 +0000 (22:34 +0200)]
lua: Fix tests to work in strict mode

8 years agolua: Prepare for standalone build
Vicent Marti [Wed, 30 Mar 2016 19:29:46 +0000 (21:29 +0200)]
lua: Prepare for standalone build

8 years agoMerge pull request #472 from iovisor/ast_dev
Brenden Blanco [Thu, 31 Mar 2016 20:49:15 +0000 (13:49 -0700)]
Merge pull request #472 from iovisor/ast_dev

get rid of version checks

8 years agoget rid of version checks
Alexei Starovoitov [Thu, 31 Mar 2016 20:37:04 +0000 (13:37 -0700)]
get rid of version checks

version checks don't work at all on kernels with backported bpf bits
they also fail when /usr/include/linux/bpf.h doesn't match loaded
kernel.
Fix these issues by embedding bpf.h into libbcc.so and force load it
in clang, so we can remove all version checks and rely on verifier
complaining on unknown function call.
Later patch can make verifier errors less cryptic by converting
'unknown call 12' to strings.

while at it update bpf.h to the latest.

Signed-off-by: Alexei Starovoitov <ast@fb.com>
8 years agoMerge pull request #469 from goldshtn/usdt-v3
4ast [Thu, 31 Mar 2016 16:38:56 +0000 (09:38 -0700)]
Merge pull request #469 from goldshtn/usdt-v3

Bug fix around USDT argument handling for constants

8 years agoBug fix around USDT argument handling for constants
Sasha Goldshtein [Thu, 31 Mar 2016 13:32:14 +0000 (06:32 -0700)]
Bug fix around USDT argument handling for constants

For USDT arguments of the form "-4@$-1", the parsing logic would fail
because it didn't expect the second number (the actual value of the
USDT argument as a constant) to be negative. This is now fixed.

8 years agoMerge pull request #454 from brendangregg/master
Brenden Blanco [Wed, 30 Mar 2016 23:02:10 +0000 (16:02 -0700)]
Merge pull request #454 from brendangregg/master

IPv6 strings with an inet6_ntoa

8 years agouse pack/unpack
Brendan Gregg [Wed, 30 Mar 2016 22:30:41 +0000 (15:30 -0700)]
use pack/unpack

8 years agoMerge pull request #468 from goldshtn/trace-which
Brendan Gregg [Wed, 30 Mar 2016 20:35:40 +0000 (13:35 -0700)]
Merge pull request #468 from goldshtn/trace-which

Replaced `which --skip-alias` with `ProcUtils.which`

8 years agoReplaced `which --skip-alias` with `ProcUtils.which`
Sasha Goldshtein [Wed, 30 Mar 2016 20:25:09 +0000 (13:25 -0700)]
Replaced `which --skip-alias` with `ProcUtils.which`

8 years agoMerge pull request #467 from goldshtn/usdt-v2
4ast [Wed, 30 Mar 2016 18:59:38 +0000 (11:59 -0700)]
Merge pull request #467 from goldshtn/usdt-v2

Support for global variable arguments in USDT probes

8 years agoMerge pull request #457 from vmg/vmg/lua
4ast [Wed, 30 Mar 2016 18:58:27 +0000 (11:58 -0700)]
Merge pull request #457 from vmg/vmg/lua

Lua Tools for BCC

8 years agocmake: Use the wrapper script for Lua tests too
Vicent Marti [Wed, 30 Mar 2016 18:37:26 +0000 (20:37 +0200)]
cmake: Use the wrapper script for Lua tests too

8 years agocmake: Find `sudo` explicitly
Vicent Marti [Wed, 30 Mar 2016 18:17:06 +0000 (20:17 +0200)]
cmake: Find `sudo` explicitly

8 years agoMerge pull request #458 from zaafar/percpu_support
Brenden Blanco [Wed, 30 Mar 2016 17:48:57 +0000 (10:48 -0700)]
Merge pull request #458 from zaafar/percpu_support

Percpu support

8 years agobpf.lua: Implement `dump_func`
Vicent Marti [Wed, 30 Mar 2016 15:41:56 +0000 (17:41 +0200)]
bpf.lua: Implement `dump_func`

8 years agotest.lua: Port the `test_uprobes` suite
Vicent Marti [Wed, 30 Mar 2016 15:31:20 +0000 (17:31 +0200)]
test.lua: Port the `test_uprobes` suite

8 years agold.lua: fix parsing of base16 addresses
Vicent Marti [Wed, 30 Mar 2016 15:31:20 +0000 (17:31 +0200)]
ld.lua: fix parsing of base16 addresses

8 years agobpf.lua: fix detaching uprobes and kprobes
Vicent Marti [Wed, 30 Mar 2016 15:31:20 +0000 (17:31 +0200)]
bpf.lua: fix detaching uprobes and kprobes

8 years agocmake: Run the Lua tests too
Vicent Marti [Wed, 30 Mar 2016 15:31:20 +0000 (17:31 +0200)]
cmake: Run the Lua tests too

8 years agobpf.lua: Sanity check
Vicent Marti [Wed, 30 Mar 2016 15:31:20 +0000 (17:31 +0200)]
bpf.lua: Sanity check

8 years agomemleak.lua: Fix indentation
Vicent Marti [Wed, 30 Mar 2016 15:31:20 +0000 (17:31 +0200)]
memleak.lua: Fix indentation

8 years agotest.lua: Port `test_clang` to Lua
Vicent Marti [Wed, 30 Mar 2016 15:31:20 +0000 (17:31 +0200)]
test.lua: Port `test_clang` to Lua

8 years agotest.lua: Add basic test library and helpers
Vicent Marti [Wed, 30 Mar 2016 15:31:20 +0000 (17:31 +0200)]
test.lua: Add basic test library and helpers

8 years agotable.py: Implement`scanf` and `printf` helpers
Vicent Marti [Wed, 30 Mar 2016 15:31:20 +0000 (17:31 +0200)]
table.py: Implement`scanf` and `printf` helpers

8 years agotable.lua: Add support for decoding bitfield types
Vicent Marti [Wed, 30 Mar 2016 15:31:19 +0000 (17:31 +0200)]
table.lua: Add support for decoding bitfield types

8 years agobpf.lua: Implement `load_funcs`
Vicent Marti [Wed, 30 Mar 2016 15:31:19 +0000 (17:31 +0200)]
bpf.lua: Implement `load_funcs`

8 years agobpf.lua: Add support for CFLAGS and LLVM debug flags
Vicent Marti [Wed, 30 Mar 2016 15:31:19 +0000 (17:31 +0200)]
bpf.lua: Add support for CFLAGS and LLVM debug flags

8 years agobcc-probe: Allow running the helper from any path
Vicent Marti [Wed, 30 Mar 2016 15:31:19 +0000 (17:31 +0200)]
bcc-probe: Allow running the helper from any path

8 years agobcc-probe: Allow loading absolute paths
Vicent Marti [Wed, 30 Mar 2016 15:31:19 +0000 (17:31 +0200)]
bcc-probe: Allow loading absolute paths

8 years agoAdd a few examples written in Lua
Vicent Marti [Wed, 30 Mar 2016 15:31:19 +0000 (17:31 +0200)]
Add a few examples written in Lua

8 years agoLua Tools for BCC
Vicent Marti [Wed, 30 Mar 2016 15:31:19 +0000 (17:31 +0200)]
Lua Tools for BCC

8 years agoSupport for global variable arguments in USDT probes
Sasha Goldshtein [Wed, 30 Mar 2016 15:14:44 +0000 (08:14 -0700)]
Support for global variable arguments in USDT probes

I previously thought it wouldn't be possible to probe arbitrary user-mode addresses,
but it turns out that it is. This was required to support global variable arguments
in USDT probes. For example, there are a few probes in libpthread whose arguments
refer to the mp_ global variable. These are now supported.

Additionally, refactored process-related utils into a ProcUtils class in procstat.py,
and implemented a version of `which` (`ProcUtils.which`) that is as portable as
possible -- it only relies on traversing the PATH environment variable.

8 years agoMerge remote-tracking branch 'origin/master' into percpu
Zaafar Ahmed [Wed, 30 Mar 2016 13:13:48 +0000 (18:13 +0500)]
Merge remote-tracking branch 'origin/master' into percpu

8 years agob_frontend_action.cc
Zaafar Ahmed [Wed, 30 Mar 2016 12:59:54 +0000 (17:59 +0500)]
b_frontend_action.cc
changed pc_hash/array to percpu_hash/array

table.py
optimised/fixup table.py code based on Brenden feedback

test_percpu.py
Now tests are processor aware and doesn't use sleep
added new line at the EOF

8 years agoMerge pull request #452 from yadutaf/jt-solisten
Brenden Blanco [Wed, 30 Mar 2016 03:35:29 +0000 (20:35 -0700)]
Merge pull request #452 from yadutaf/jt-solisten

solisten: clean endian conversion hack

8 years agoadded u64 testcase
Zaafar Ahmed [Tue, 29 Mar 2016 20:46:26 +0000 (01:46 +0500)]
added u64 testcase

8 years agoadded a very simple testcase for PerCpu support patch.
Zaafar Ahmed [Tue, 29 Mar 2016 19:58:07 +0000 (00:58 +0500)]
added a very simple testcase for PerCpu support patch.

8 years agoupdating branch
Zaafar Ahmed [Tue, 29 Mar 2016 17:26:57 +0000 (22:26 +0500)]
updating branch

Merge remote-tracking branch 'origin/master' into percpu

8 years agooptimised the percpu support patch.
Zaafar Ahmed [Tue, 29 Mar 2016 17:13:50 +0000 (22:13 +0500)]
optimised the percpu support patch.
removed kernel checks.

8 years agoMerge pull request #456 from yadutaf/jt-endian
Brenden Blanco [Tue, 29 Mar 2016 16:47:59 +0000 (09:47 -0700)]
Merge pull request #456 from yadutaf/jt-endian

Minor endian and debug enhancement

8 years agoadd debug constants
Jean-Tiare Le Bigot [Tue, 29 Mar 2016 12:48:02 +0000 (12:48 +0000)]
add debug constants

8 years agomove endian flags to kbuild_helper
Jean-Tiare Le Bigot [Tue, 29 Mar 2016 11:04:01 +0000 (11:04 +0000)]
move endian flags to kbuild_helper

8 years agoMerge pull request #451 from goldshtn/usdt
4ast [Tue, 29 Mar 2016 04:36:40 +0000 (21:36 -0700)]
Merge pull request #451 from goldshtn/usdt

argdist, trace, and tplist support for USDT probes

8 years agosolisten: clean endian conversion hack
Jean-Tiare Le Bigot [Mon, 28 Mar 2016 15:14:12 +0000 (15:14 +0000)]
solisten: clean endian conversion hack

8 years agoMerge pull request #453 from yadutaf/jt-endian
Brenden Blanco [Mon, 28 Mar 2016 20:10:59 +0000 (13:10 -0700)]
Merge pull request #453 from yadutaf/jt-endian

expose buitin byte swap methods

8 years agoIPv6 strings with an inet6_ntoa
Brendan Gregg [Mon, 28 Mar 2016 19:11:45 +0000 (12:11 -0700)]
IPv6 strings with an inet6_ntoa

8 years agoexpose buitin byte swap methods
Jean-Tiare Le Bigot [Mon, 28 Mar 2016 15:32:35 +0000 (15:32 +0000)]
expose buitin byte swap methods

8 years agoargdist, trace, and tplist support for USDT probes
Sasha Goldshtein [Thu, 24 Mar 2016 15:39:47 +0000 (08:39 -0700)]
argdist, trace, and tplist support for USDT probes

These tools now support USDT probes with the 'u:provider:probe' syntax.
Probes in a library or process can be listed with 'tplist -l LIB' or 'tplist -p PID'.
Probe arguments are also parsed and available in both argdist and trace as arg1,
arg2, etc., regardless of the probe attach location.

The same USDT probe can be used at multiple locations, which means the attach infra-
structure must probe all these locations. argdist and trace register thunk probes
at each location, which call a central probe function (which is static inline) with
the location id (__loc_id). The central probe function checks the location id to
determine how the arguments should be retrieved -- this is location-dependent.

Finally, some USDT probes must be enabled first by writing a value to a memory
location (this is called a "semaphore"). This value is per-process, so we require a
process id for this kind of probes.

Along with trace and argdist tool support, this commit also introduces new classes
in the bcc module: ProcStat handles pid-wrap detection, whereas USDTReader,
USDTProbe, USDTProbeLocation, and USDTArgument are the shared USDT-related
infrastructure that enables enumeration, attachment, and argument retrieval for
USDT probes.

8 years agoMerge pull request #449 from goldshtn/tp-str-fix
Brenden Blanco [Mon, 28 Mar 2016 11:28:17 +0000 (04:28 -0700)]
Merge pull request #449 from goldshtn/tp-str-fix

Fixed bug around local assignment from char array

8 years agoFixed bug around local assignment from char array
Sasha Goldshtein [Sun, 27 Mar 2016 08:44:26 +0000 (01:44 -0700)]
Fixed bug around local assignment from char array

8 years agoMerge pull request #450 from vmg/vmg/stacks-next
Brendan Gregg [Sun, 27 Mar 2016 17:29:33 +0000 (10:29 -0700)]
Merge pull request #450 from vmg/vmg/stacks-next

Stack Traces: TNG

8 years agostackcount: Resolve stacks using a StackTrace table
Vicent Marti [Sun, 27 Mar 2016 16:39:18 +0000 (18:39 +0200)]
stackcount: Resolve stacks using a StackTrace table

The changes for this script are minimal: the inline C probe has been
_significantly_ simplified, and should now perform better since the
stack walk happens in native code inside the kernel thanks to the
BPF_STACK_TRACE table.

The output of the tool should be virtually identical, so the man page
and included examples have essentially no changes.

8 years agostacksnoop: Resolve stacks using a StackTrace table
Vicent Marti [Sun, 27 Mar 2016 16:22:03 +0000 (18:22 +0200)]
stacksnoop: Resolve stacks using a StackTrace table

Instead of manually walking the stack and printing each frame to the
trace log, we can use a BPF_STACK_TRACE table to store the stack traces,
and print to the trace log their IDs every time they are traced.

The output of the tool has been slightly modified: we no longer prefix
each line of the stack trace with the timestamp and the other headers,
since the whole stack trace is fetched in one go from the table and the
information would be highly redundant.

The man page and the examples have been updated to reflect the new
output.

8 years agoBPF: better format for `ksymaddr`
Vicent Marti [Sun, 27 Mar 2016 16:18:03 +0000 (18:18 +0200)]
BPF: better format for `ksymaddr`

The offset is now returned after a `+` symbol, instead of directly
attached to the symbol name (which made reading the output very
confusing)

Before:
    tick_do_update_jiffies64a0

After:
    tick_do_update_jiffies64+0xa0

8 years agoMerge pull request #448 from vmg/vmg/stacks
Brenden Blanco [Sun, 27 Mar 2016 14:47:30 +0000 (07:47 -0700)]
Merge pull request #448 from vmg/vmg/stacks

Better stack walking APIs

8 years agooffcputime: Resolve stacks using a StackTrace table
Vicent Marti [Fri, 25 Mar 2016 16:21:44 +0000 (17:21 +0100)]
offcputime: Resolve stacks using a StackTrace table

The manual walking for kernel stacks in the eBPF code has been replaced
with a `BPF_STACK_TRACE` table; the stack ID is now stored as an integer
in the main key.

Thanks to the `StackTrace.walk` iterator, the printing code can also be
significantly simplified for both folded and full stack modes.

8 years agomemleak: Resolve stacks with a StackTrace table
Vicent Marti [Fri, 25 Mar 2016 16:14:34 +0000 (17:14 +0100)]
memleak: Resolve stacks with a StackTrace table

Instead of manually walking the (kernel) stack inside the eBPF code,
create a `BPF_STACK_TRACE` table and store the stack IDs in the alloc
info struct.

This greatly simplifies the leak detection code: instead of storing the
full stack trace as a string to de-duplicate the allocation point for
the different allocations, we can store the `stack_id`. Since we're
creating stack IDs with `BPF_F_REUSE_STACKID`, the kernel will take care
of deduplication for us.

Additionally, the `StackDecoder` class has been specialized into a
`UStackDecoder` and `KStackDecoder` (for userland and kernel stacks,
respectively). This lets us pass the decode class directly to
`stack_traces.walk()` to automate symbol resolution.

A new class, `Allocation` has been created to encapsulate what
previously was a 2-element tuple of `(count, size)`. This

8 years agoexamples: Add `mallocstacks`
Vicent Marti [Fri, 25 Mar 2016 22:22:57 +0000 (23:22 +0100)]
examples: Add `mallocstacks`

This simple example script traces all calls to `malloc` in a process and
prints the callsite using the new `BPF_STACK_TRACE` table API.

8 years agotable: Implement a StackWalker for StackTrace tables
Vicent Marti [Fri, 25 Mar 2016 16:12:11 +0000 (17:12 +0100)]
table: Implement a StackWalker for StackTrace tables

The StackWalker iterator lets us call `stack_trace.walk(id)` to iterate
through the addresses in any given stack. The constructor of this
iterator takes an optional `resolver` to convert the addresses in the
iterator into symbols (or to format them according to the users' needs).

8 years agoadded percpu support in bcc.
Zaafar Ahmed [Fri, 25 Mar 2016 10:03:24 +0000 (15:03 +0500)]
added percpu support in bcc.
Due to alignment issue ( alignment of array
must be same as cache alignment of cache ),
complex data structures involved in percpu array/hash tables
must be padded to match cache alignment or else, bcc will generate a error.
non complex data structures which are not aligned to cache size such as int,
uint32 is allowed but a bit slow due to casting/reverting process.

8 years agoMerge pull request #445 from goldshtn/tp-vars
4ast [Thu, 24 Mar 2016 17:59:45 +0000 (10:59 -0700)]
Merge pull request #445 from goldshtn/tp-vars

Allowing more natural syntax for tracepoints with no "tp" struct prefix

8 years agoAllowing more natural syntax for tracepoints with no "tp" struct prefix
Sasha Goldshtein [Thu, 24 Mar 2016 16:56:12 +0000 (09:56 -0700)]
Allowing more natural syntax for tracepoints with no "tp" struct prefix

8 years agoMerge pull request #429 from yadutaf/jt-tcpv4listen
Brenden Blanco [Wed, 23 Mar 2016 23:09:07 +0000 (16:09 -0700)]
Merge pull request #429 from yadutaf/jt-tcpv4listen

add tcpv4listen.py tracing example, with comments

8 years agoadd solisten tool. Currently TCP only.
Jean-Tiare Le Bigot [Fri, 4 Mar 2016 20:45:32 +0000 (21:45 +0100)]
add solisten tool. Currently TCP only.

8 years agoMerge pull request #444 from goldshtn/probefail
Brenden Blanco [Tue, 22 Mar 2016 15:47:12 +0000 (08:47 -0700)]
Merge pull request #444 from goldshtn/probefail

Fix error handling when attaching {u,k}{,ret}probes

8 years agoFix error handling when attaching {u,k}{,ret}probes
Sasha Goldshtein [Tue, 22 Mar 2016 15:30:29 +0000 (08:30 -0700)]
Fix error handling when attaching {u,k}{,ret}probes

8 years agoMerge pull request #442 from goldshtn/usyms
Brenden Blanco [Mon, 21 Mar 2016 19:48:53 +0000 (12:48 -0700)]
Merge pull request #442 from goldshtn/usyms

Moved user symbol decoding from memleak into bcc module

8 years agoAdded pid wrap check, moved user symbols to usyms.py
Sasha Goldshtein [Mon, 21 Mar 2016 17:05:29 +0000 (10:05 -0700)]
Added pid wrap check, moved user symbols to usyms.py

8 years agoMoved user symbol decoding from memleak into bcc module
Sasha Goldshtein [Mon, 21 Mar 2016 14:26:52 +0000 (07:26 -0700)]
Moved user symbol decoding from memleak into bcc module