On 5/17/15 10:30 PM, He Kuang wrote:
This helper function uses kernel structure trace_probe and related fetch
functions for fetching variables described in 'SEC' to bpf stack.
Signed-off-by: He Kuang
...
+/* Store the value of each argument */
+static void
+bpf_store_trace_args(struct pt_regs
This helper function uses kernel structure trace_probe and related fetch
functions for fetching variables described in 'SEC' to bpf stack.
Signed-off-by: He Kuang
---
include/uapi/linux/bpf.h | 1 +
kernel/trace/bpf_trace.c | 38 ++
samples/bpf/bpf_helpers.
2 matches
Mail list logo