This group is locked. No changes can be made to the group while it is locked.
Re: Todays call & filtering probes on strings
Brendan Gregg
On Fri, Jul 15, 2016 at 1:48 PM, Alexei Starovoitov <alexei.starovoitov@...> wrote:
Useful; is it possible we could also have versions that read to buffers? Just for a slight improvement over code like (from nodejs_http_server.py): char path[128]; bpf_usdt_readarg(6, ctx, &addr); bpf_probe_read(&path, sizeof(path), (void *)addr); becoming: char path[128]; bpf_usdt_readarg(6, ctx, &addr); bpf_read_unsafe_string(&path, (void *), 0); so bpf_read_unsafe_string() can read to the NULL termination. Brendan |