Searched refs:attach_counter (Results 1 - 2 of 2) sorted by path
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_hierarchical_stats.c | 195 unsigned long long attach_counter = 0, id = 0; local 204 ASSERT_EQ(sscanf(buf, "cg_id: %llu, attach_counter: %llu\n", 205 &id, &attach_counter), 2, "output format"); 210 ASSERT_GT(attach_counter, 0, "attach counter non-zero"); 211 return attach_counter;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | cgroup_hierarchical_stats.c | 19 struct attach_counter { struct 37 __type(value, struct attach_counter); 58 struct attach_counter init = {.state = state, .pending = pending}; 86 struct attach_counter *total_counter, *parent_counter; 136 struct attach_counter *total_counter; 148 BPF_SEQ_PRINTF(seq, "cg_id: %llu, attach_counter: 0\n", 151 BPF_SEQ_PRINTF(seq, "cg_id: %llu, attach_counter: %llu\n",
|
Completed in 262 milliseconds