github.com/cilium/ebpf@v0.15.1-0.20240517100537-8079b37aa138/testdata/raw_tracepoint.c (about)

     1  /* This file excercises the ELF loader. */
     2  
     3  #include "common.h"
     4  
     5  char __license[] __section("license") = "MIT";
     6  
     7  struct bpf_args {
     8  	uint64_t args[0];
     9  };
    10  
    11  __section("raw_tracepoint/sched_process_exec") int sched_process_exec(struct bpf_args *ctx) {
    12  	return 0;
    13  }