samples/bpf: tracepoint example
authorAlexei Starovoitov <ast@fb.com>
Thu, 7 Apr 2016 01:43:30 +0000 (18:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2016 01:04:27 +0000 (21:04 -0400)
commit3c9b16448cf6924c203e3c01696c87fcbfb71fc6
treed4c9d8fbef001900eba025c6f864af4b484d8ba0
parentc07660409ec954403776200cec1dd04b2db851f8
samples/bpf: tracepoint example

modify offwaketime to work with sched/sched_switch tracepoint
instead of kprobe into finish_task_switch

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/offwaketime_kern.c