Searched refs:savedcmd (Results 1 – 1 of 1) sorted by relevance
2232 static struct saved_cmdlines_buffer *savedcmd; variable2236 return &savedcmd->saved_cmdlines[idx * TASK_COMM_LEN]; in get_saved_cmdlines()2273 savedcmd = kmalloc(sizeof(*savedcmd), GFP_KERNEL); in trace_create_savedcmd()2274 if (!savedcmd) in trace_create_savedcmd()2277 ret = allocate_cmdlines_buffer(SAVED_CMDLINES_DEFAULT, savedcmd); in trace_create_savedcmd()2279 kfree(savedcmd); in trace_create_savedcmd()2280 savedcmd = NULL; in trace_create_savedcmd()2444 idx = savedcmd->map_pid_to_cmdline[tpid]; in trace_save_cmdline()2446 idx = (savedcmd->cmdline_idx + 1) % savedcmd->cmdline_num; in trace_save_cmdline()2448 savedcmd->map_pid_to_cmdline[tpid] = idx; in trace_save_cmdline()[all …]