mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
35abb67de7
ftrace is very quick to give up on saving the task command line (see `trace_save_cmdline()`). The workaround for events which really care about the command line is to explicitly assign it as part of the entry. However, this doesn't work for kprobe events, as there's no straightforward way to get access to current->comm. Add a kprobe/uprobe event variable $comm which provides exactly that. Link: http://lkml.kernel.org/r/f59b472033b943a370f5f48d0af37698f409108f.1465435894.git.osandov@fb.com Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> |
||
---|---|---|
.. | ||
postprocess | ||
coresight.txt | ||
events-kmem.txt | ||
events-msr.txt | ||
events-nmi.txt | ||
events-power.txt | ||
events.txt | ||
ftrace-design.txt | ||
ftrace.txt | ||
function-graph-fold.vim | ||
intel_th.txt | ||
kprobetrace.txt | ||
mmiotrace.txt | ||
ring-buffer-design.txt | ||
stm.txt | ||
tracepoint-analysis.txt | ||
tracepoints.txt | ||
uprobetracer.txt |