Searched refs:shname_prog (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/samples/bpf/
H A Dbpf_load.c230 char *shname, *shname_prog; load_bpf_file() local
289 if (get_sec(elf, shdr.sh_info, &ehdr, &shname_prog, load_bpf_file()
301 if (memcmp(shname_prog, "kprobe/", 7) == 0 || load_bpf_file()
302 memcmp(shname_prog, "kretprobe/", 10) == 0 || load_bpf_file()
303 memcmp(shname_prog, "socket", 6) == 0) load_bpf_file()
304 load_and_attach(shname_prog, insns, data_prog->d_size); load_bpf_file()

Completed in 49 milliseconds