Home
last modified time | relevance | path

Searched refs:comm_length (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dprofiler.inc.h341 metadata->comm_length = 0; in populate_var_metadata()
343 size_t comm_length = bpf_core_read_str(payload, TASK_COMM_LEN, &task->comm); in populate_var_metadata() local
344 if (bpf_cmp_likely(comm_length, <=, TASK_COMM_LEN)) { in populate_var_metadata()
345 metadata->comm_length = comm_length; in populate_var_metadata()
346 payload += comm_length; in populate_var_metadata()
647 size_t comm_length = bpf_core_read_str(payload, TASK_COMM_LEN, &task->comm); in raw_tracepoint__sched_process_exit() local
648 if (bpf_cmp_likely(comm_length, <=, TASK_COMM_LEN)) { in raw_tracepoint__sched_process_exit()
649 kill_data->kill_target_name_length = comm_length; in raw_tracepoint__sched_process_exit()
650 payload += comm_length; in raw_tracepoint__sched_process_exit()
H A Dprofiler.h72 uint8_t comm_length; member