summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2015-12-11 14:36:17 -0500
committerSteven Rostedt <rostedt@goodmis.org>2016-02-19 12:11:21 -0500
commit9a154c8911e39e32bdbc2cd6c9b08a64e17612aa (patch)
treec48c7dffe2277b2225f27f5fe6c2ddd71ea78b02 /tools/perf/builtin.h
parentb33c8ff4431a343561e2319f17c14286f2aa52e2 (diff)
downloadlinux-9a154c8911e39e32bdbc2cd6c9b08a64e17612aa.tar.gz
linux-9a154c8911e39e32bdbc2cd6c9b08a64e17612aa.tar.bz2
linux-9a154c8911e39e32bdbc2cd6c9b08a64e17612aa.zip
ftracetest: Fix instance test to use proper shell command for pids
The ftracetest instance test used parsing of the "jobs" output to find the pid of the subshell that is executed previously. But this is not portable to all major shells that may run these tests. The proper way to get the pid of the subshell is the shell command "$!". This will return the pid of the previously executed command. Use that instead, otherwise the test does not work in all environments. Link: http://lkml.kernel.org/r/20151211143617.65f4d7a1@gandalf.local.home Reported-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/builtin.h')
0 files changed, 0 insertions, 0 deletions