summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-10-31 18:02:05 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-11-03 13:42:49 -0500
commite7dbb48958897c0a80b14250a981a563d9160e4d (patch)
treee679714789ebae73bc88f3c7a8a45e15521309d8 /Kconfig
parent89c5497d1f933af56dac617f0fd86150942a7fb6 (diff)
downloadop-kernel-dev-e7dbb48958897c0a80b14250a981a563d9160e4d.zip
op-kernel-dev-e7dbb48958897c0a80b14250a981a563d9160e4d.tar.gz
ftracetest: Take the first debugfs mount found
Running ftracetests on a box that mounted debugfs in two locations made the ftracetests fail. This is because the tests uses a grep of debugfs from the /proc/mounts file to find the debugfs mount point, and then appends "/tracing" to that string to get the tracing directory. If the debugfs directory is mounted twice, then that grep will return two answers and appending "/tracing" to a string with two lines will not work. Use "head -1" to only take the first mount point found. Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud