On 12/14/17, 23:40, "Peter Zijlstra" wrote:
> On Thu, Dec 14, 2017 at 07:16:00PM -0800, Alexei Starovoitov wrote:
> > On 12/14/17 12:49 PM, Peter Zijlstra wrote:
> > > On Thu, Dec 14, 2017 at 12:20:41PM -0800, Teng Qin wrote:
> > > > This set of com
n
the Tracepoint's struct. BPF programs can read task information via task
struct pointer. Exposing these pointers explicitly gives BPF programs an
easy and reliable way of using the Tracepoint.
Signed-off-by: Teng Qin
---
include/trace/events/sched.h | 11 +--
kernel/fork.c
ommit also exposes pointers of the previous and next task_struct in
the Tracepoint's struct. BPF programs can read task information via task
struct pointer. Exposing these pointers explicitly gives BPF programs an
easy and reliable way of using the Tracepoint.
Signed-off-by: Teng Qin
---
inclu
reliable.
Teng Qin (3):
Improve sched_switch Tracepoint
Improve sched_process_fork Tracepoint
Improve sched_process_exit Tracepoint
include/trace/events/sched.h | 54
kernel/exit.c| 2 +-
kernel/fork.c| 2 +-
3
m can read task
information via task struct pointer. Exposing the pointer explicitly gives
BPF programs an easy and reliable way of using the Tracepoint.
Signed-off-by: Teng Qin
---
include/trace/events/sched.h | 37 +
kernel/exit.c| 2 +-
2
On 5/22/17, 20:08, "David Miller" wrote:
From: Teng Qin
Date: Tue, 23 May 2017 00:39:34 +
> diff --git a/samples/bpf/bpf_helpers.h b/samples/bpf/bpf_helpers.h
> index 9a9c95f..a94ce42 100644
> --- a/samples/bpf/bpf_helpers.h
> +++ b/sam
From: Teng Qin
This commit updates function signature of the bpf_perf_event_output and
bpf_perf_event_read helpers to match their implementation. Also updates
their documentation in the header files.
Signed-off-by: Teng Qin
Acked-by: Alexei Starovoitov
---
include/uapi/linux/bpf.h | 11
7 matches
Mail list logo