Home
last modified time | relevance | path

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

/kernel/trace/
Dtrace_events_synth.c48 static char *last_cmd; variable
55 if (!str || !last_cmd) in errpos()
58 ret = err_pos(last_cmd, str); in errpos()
70 kfree(last_cmd); in last_cmd_set()
71 last_cmd = kstrdup(str, GFP_KERNEL); in last_cmd_set()
78 if (!last_cmd) in synth_err()
81 tracing_log_err(NULL, "synthetic_events", last_cmd, err_text, in synth_err()
Dtrace_events_hist.c759 static char *last_cmd; variable
764 if (!str || !last_cmd) in errpos()
767 return err_pos(last_cmd, str); in errpos()
781 kfree(last_cmd); in last_cmd_set()
782 last_cmd = kzalloc(len, GFP_KERNEL); in last_cmd_set()
783 if (!last_cmd) in last_cmd_set()
786 strcpy(last_cmd, HIST_PREFIX); in last_cmd_set()
789 strncat(last_cmd, str, len); in last_cmd_set()
807 if (!last_cmd) in hist_err()
810 tracing_log_err(tr, last_cmd_loc, last_cmd, err_text, in hist_err()
[all …]