Alastair Robertson

Results 63 issues of Alastair Robertson

If the `END` probe is defined, don't print out maps automatically when bpftrace exits. This will change the behaviour of some existing scripts, so could do with a discussion. I...

RFC

### Is your feature request related to a problem? Please describe. When aggregating data from tracepoint probes, it is only currently possible to distinguish the data from each tracepoint by...

enhancement
priority: low
difficulty: easy

Latest bpftrace will SEGV when compiling scripts which attempt to access the BPF context from the body of a for-loop: ``` kprobe:do_nanosleep { @map[0] = 1; for ($kv : @map)...

bug
priority: high

Multiple probes are allowed to be attached to the same event. When this happens, bpftrace tries to ensure that the probes fire in the order that they're defined in the...

good first issue
tests
priority: low
difficulty: easy

Since #3091, errors which trigger bpftrace to terminate do so by calling `abort()` and core-dumping. This is a bad user experience. #### Repro Trigger an error: ``` # bpftrace -e...

bug
reliability

- CONFIGURE_DEPENDS triggers re-generation of the list of source files as necessary - Pass list of source files through to the sub command so we only have a single glob...

Fixes #3000 Previously a lifetime.end was always inserted for expressions used as map keys. This is not correct if the expression is a variable which is used again later in...

By default, folly::sorted_vector_map stores its elements in pairs in a vector, although this is configurable: ``` class Container = std::vector> ``` We do not model the underlying container, which means...

This is currently broken because the Class-IDs generated by CodeGen v1 and CodeGen v2 do not match, and TreeBuilder only understands CodeGen v1's IDs. CodeGen v2 fixes a number of...

cla signed
codegen

Example: ``` union MyUnion { std::vector vec; std::unordered_map map; }; union TaggedUnion { MyUnion storage; uint8_t tag; }; ``` We can't capture `MyUnion` by itself, as we have no way...