test_overhead_raw_tp_kern.c 361 B

1234567891011121314151617
  1. // SPDX-License-Identifier: GPL-2.0
  2. /* Copyright (c) 2018 Facebook */
  3. #include <uapi/linux/bpf.h>
  4. #include <bpf/bpf_helpers.h>
  5. SEC("raw_tracepoint/task_rename")
  6. int prog(struct bpf_raw_tracepoint_args *ctx)
  7. {
  8. return 0;
  9. }
  10. SEC("raw_tracepoint/urandom_read")
  11. int prog2(struct bpf_raw_tracepoint_args *ctx)
  12. {
  13. return 0;
  14. }
  15. char _license[] SEC("license") = "GPL";