diff options
author | David S. Miller <davem@davemloft.net> | 2020-03-13 21:13:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-13 21:13:45 +0300 |
commit | 242a6df688dcad7c55105280a79aaff83addf7ce (patch) | |
tree | f9adee4a9f9cc9e55bcace5b5ae91fdc032c0699 /tools/testing/selftests/bpf/progs/test_send_signal_kern.c | |
parent | 0d81a3f29c0afb18ba2b1275dcccf21e0dd4da38 (diff) | |
parent | 90db6d772f749e38171d04619a5e3cd8804a6d02 (diff) | |
download | linux-242a6df688dcad7c55105280a79aaff83addf7ce.tar.xz |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Alexei Starovoitov says:
====================
pull-request: bpf 2020-03-12
The following pull-request contains BPF updates for your *net* tree.
We've added 12 non-merge commits during the last 8 day(s) which contain
a total of 12 files changed, 161 insertions(+), 15 deletions(-).
The main changes are:
1) Andrii fixed two bugs in cgroup-bpf.
2) John fixed sockmap.
3) Luke fixed x32 jit.
4) Martin fixed two issues in struct_ops.
5) Yonghong fixed bpf_send_signal.
6) Yoshiki fixed BTF enum.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_send_signal_kern.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/test_send_signal_kern.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/progs/test_send_signal_kern.c b/tools/testing/selftests/bpf/progs/test_send_signal_kern.c index 1acc91e87bfc..b4233d3efac2 100644 --- a/tools/testing/selftests/bpf/progs/test_send_signal_kern.c +++ b/tools/testing/selftests/bpf/progs/test_send_signal_kern.c @@ -31,6 +31,12 @@ int send_signal_tp(void *ctx) return bpf_send_signal_test(ctx); } +SEC("tracepoint/sched/sched_switch") +int send_signal_tp_sched(void *ctx) +{ + return bpf_send_signal_test(ctx); +} + SEC("perf_event") int send_signal_perf(void *ctx) { |