Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/trace/
Dtrace.c1935 unsigned *map_cmdline_to_pid; member
1958 s->map_cmdline_to_pid = kmalloc_array(val, in allocate_cmdlines_buffer()
1959 sizeof(*s->map_cmdline_to_pid), in allocate_cmdlines_buffer()
1961 if (!s->map_cmdline_to_pid) in allocate_cmdlines_buffer()
1966 kfree(s->map_cmdline_to_pid); in allocate_cmdlines_buffer()
1974 memset(s->map_cmdline_to_pid, NO_CMDLINE_MAP, in allocate_cmdlines_buffer()
1975 val * sizeof(*s->map_cmdline_to_pid)); in allocate_cmdlines_buffer()
2162 pid = savedcmd->map_cmdline_to_pid[idx]; in trace_save_cmdline()
2166 savedcmd->map_cmdline_to_pid[idx] = tsk->pid; in trace_save_cmdline()
5097 for (; ptr < &savedcmd->map_cmdline_to_pid[savedcmd->cmdline_num]; in saved_cmdlines_next()
[all …]