Lines Matching refs:proc_exec_data
708 struct var_exec_data_t* proc_exec_data = bpf_map_lookup_elem(&data_heap, &zero); in raw_tracepoint__sched_process_exec() local
709 if (!proc_exec_data) in raw_tracepoint__sched_process_exec()
718 proc_exec_data->meta.type = EXEC_EVENT; in raw_tracepoint__sched_process_exec()
719 proc_exec_data->bin_path_length = 0; in raw_tracepoint__sched_process_exec()
720 proc_exec_data->cmdline_length = 0; in raw_tracepoint__sched_process_exec()
721 proc_exec_data->environment_length = 0; in raw_tracepoint__sched_process_exec()
722 void* payload = populate_var_metadata(&proc_exec_data->meta, task, pid, in raw_tracepoint__sched_process_exec()
723 proc_exec_data->payload); in raw_tracepoint__sched_process_exec()
724 payload = populate_cgroup_info(&proc_exec_data->cgroup_data, task, payload); in raw_tracepoint__sched_process_exec()
727 proc_exec_data->parent_pid = BPF_CORE_READ(parent_task, tgid); in raw_tracepoint__sched_process_exec()
728 proc_exec_data->parent_uid = BPF_CORE_READ(parent_task, real_cred, uid.val); in raw_tracepoint__sched_process_exec()
729 proc_exec_data->parent_exec_id = BPF_CORE_READ(parent_task, self_exec_id); in raw_tracepoint__sched_process_exec()
730 proc_exec_data->parent_start_time = BPF_CORE_READ(parent_task, start_time); in raw_tracepoint__sched_process_exec()
738 proc_exec_data->bin_path_length = bin_path_length; in raw_tracepoint__sched_process_exec()
749 proc_exec_data->cmdline_length = cmdline_length; in raw_tracepoint__sched_process_exec()
759 proc_exec_data->environment_length = env_len; in raw_tracepoint__sched_process_exec()
764 bpf_stats_pre_submit_var_perf_event(&stats_ctx, &proc_exec_data->meta); in raw_tracepoint__sched_process_exec()
765 unsigned long data_len = payload - (void*)proc_exec_data; in raw_tracepoint__sched_process_exec()
769 bpf_perf_event_output(ctx, &events, BPF_F_CURRENT_CPU, proc_exec_data, data_len); in raw_tracepoint__sched_process_exec()