...

Text file src/github.com/cilium/ebpf/testdata/raw_tracepoint.c

Documentation: github.com/cilium/ebpf/testdata

     1/* This file excercises the ELF loader. */
     2
     3#include "common.h"
     4
     5char __license[] __section("license") = "MIT";
     6
     7struct 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}

View as plain text