commit | 9940d67c93b5bb7ddcf862b41b1847cb728186c4 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@fb.com> | Wed Apr 06 18:43:27 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 07 21:04:26 2016 -0400 |
tree | e5b9a36df5bc8bde9b7435cda796d2cefe686e45 | |
parent | 9fd82b610ba3351f05a59c3e9117cfefe82f7751 [diff] |
bpf: support bpf_get_stackid() and bpf_perf_event_output() in tracepoint programs needs two wrapper functions to fetch 'struct pt_regs *' to convert tracepoint bpf context into kprobe bpf context to reuse existing helper functions Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>