Searched refs:savedcmd (Results 1 – 1 of 1) sorted by relevance
2256 static struct saved_cmdlines_buffer *savedcmd; variable2260 return &savedcmd->saved_cmdlines[idx * TASK_COMM_LEN]; in get_saved_cmdlines()2319 savedcmd = allocate_cmdlines_buffer(SAVED_CMDLINES_DEFAULT); in trace_create_savedcmd()2321 return savedcmd ? 0 : -ENOMEM; in trace_create_savedcmd()2439 idx = savedcmd->map_pid_to_cmdline[tpid]; in trace_save_cmdline()2441 idx = (savedcmd->cmdline_idx + 1) % savedcmd->cmdline_num; in trace_save_cmdline()2443 savedcmd->map_pid_to_cmdline[tpid] = idx; in trace_save_cmdline()2444 savedcmd->cmdline_idx = idx; in trace_save_cmdline()2447 savedcmd->map_cmdline_to_pid[idx] = tsk->pid; in trace_save_cmdline()2471 map = savedcmd->map_pid_to_cmdline[tpid]; in __trace_find_cmdline()[all …]