Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
execsnoop: don't print newlines in argv
by escaping newlines. Fixes iovisor#1037 * Before: ``` $ sudo /usr/share/bcc/tools/execsnoop PCOMM PID PPID RET ARGS awk 9910 7831 0 /usr/bin/awk BEGIN { print "hi" } ``` * With this patch: ``` $ sudo /usr/share/bcc/tools/execsnoop PCOMM PID PPID RET ARGS awk 10033 7831 0 /usr/bin/awk \nBEGIN { print "hi" } ```
- Loading branch information