Fix small bugs with pulling ftrace files 1) Support tabbing in explorer.html 2) Add a .gtiignore for private ftrace file sets. 3) Pull whole tracing/ file rather than events/ Change-Id: Ie49ed926662a21f00bb913bf807d7133baf57cfa
diff --git a/tools/pull_ftrace_format_files.py b/tools/pull_ftrace_format_files.py index 81ff13e..de5d3a7 100755 --- a/tools/pull_ftrace_format_files.py +++ b/tools/pull_ftrace_format_files.py
@@ -88,14 +88,15 @@ def pull_format_files(serial, output_directory): # Pulling each file individually is 100x slower so we pipe all together then # split them on the host. - cmd = "find /sys/kernel/debug/tracing/events/ " \ + cmd = "find /sys/kernel/debug/tracing/ " \ + "-name available_events -o " \ "-name format -o " \ "-name header_event -o " \ "-name header_page | " \ "while read f; do echo 'path:' $f; cat $f; done" output = adb('shell', cmd, serial=serial) - sections = output.split('path: /sys/kernel/debug/tracing/events/') + sections = output.split('path: /sys/kernel/debug/tracing/') for section in sections: if not section: continue