Home
last modified time | relevance | path

Searched refs:config (Results 1 – 8 of 8) sorted by relevance

/samples/bpf/
Dxdp_rxq_info_kern.c16 struct config { struct
30 __type(value, struct config); argument
81 struct config *config; in xdp_prognum0() local
95 config = bpf_map_lookup_elem(&config_map, &key); in xdp_prognum0()
96 if (!config) in xdp_prognum0()
100 if (ingress_ifindex != config->ifindex) { in xdp_prognum0()
120 if (unlikely(config->options & (READ_MEM|SWAP_MAC))) { in xdp_prognum0()
133 if (unlikely(config->options & SWAP_MAC)) in xdp_prognum0()
137 return config->action; in xdp_prognum0()
Dtracex6_user.c110 .config = PERF_COUNT_HW_CPU_CYCLES, in test_bpf_perf_event()
119 .config = PERF_COUNT_SW_CPU_CLOCK, in test_bpf_perf_event()
129 .config = 0xc0, in test_bpf_perf_event()
138 .config = in test_bpf_perf_event()
150 .config = in test_bpf_perf_event()
163 .config = 0, in test_bpf_perf_event()
Dtrace_event_user.c222 .config = PERF_COUNT_HW_CPU_CYCLES, in test_bpf_perf_event()
228 .config = PERF_COUNT_SW_CPU_CLOCK, in test_bpf_perf_event()
234 .config = in test_bpf_perf_event()
243 .config = in test_bpf_perf_event()
253 .config = 0xc0, in test_bpf_perf_event()
260 .config = 0x21d0, in test_bpf_perf_event()
Dtask_fd_query_user.c139 attr.config |= 1 << is_return_bit; in test_nondebug_fs_kuprobe_common()
253 attr.config = strtol(buf, NULL, 0); in test_debug_fs_uprobe()
Dsampleip_user.c45 .config = PERF_COUNT_SW_CPU_CLOCK, in sampling_start()
Dxdp_rxq_info_user.c83 struct config { struct
461 struct config cfg = { 0 }; in main()
Dbpf_load.c241 attr.config = id; in load_and_attach()
/samples/
DKconfig9 config SAMPLE_AUXDISPLAY
13 config SAMPLE_TRACE_EVENTS
19 config SAMPLE_TRACE_PRINTK
26 config SAMPLE_FTRACE_DIRECT
34 config SAMPLE_TRACE_ARRAY
41 config SAMPLE_KOBJECT
44 This config option will allow you to build a number of
50 config SAMPLE_KPROBES
56 config SAMPLE_KRETPROBES
61 config SAMPLE_HW_BREAKPOINT
[all …]