Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: tools/node-linux-tick-processor

Issue 1179173009: Add support for running the profiler output processing scripts with node. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: buffered readline polyfill Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/node-mac-tick-processor » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 TEMP_SCRIPT_FILE="/tmp/node-tick-processor-input-script"
4 tools_path=`cd $(dirname "$0");pwd`
5 log_file="v8.log"
6 for arg in "$@"
7 do
8 if ! expr "X${arg}" : "^X-" > /dev/null; then
9 log_file=${arg}
10 fi
11 done
12
13 cat $tools_path/node-polyfill.js $tools_path/splaytree.js $tools_path/codemap.js \
14 $tools_path/csvparser.js $tools_path/consarray.js \
15 $tools_path/profile.js $tools_path/profile_view.js \
16 $tools_path/logreader.js $tools_path/tickprocessor.js \
17 $tools_path/SourceMap.js \
18 $tools_path/tickprocessor-driver.js >> $TEMP_SCRIPT_FILE
19
20 # nm spits out 'no symbols found' messages to stderr.
21 node $TEMP_SCRIPT_FILE $log_file 2>/dev/null
22
23 rm -f $TEMP_SCRIPT_FILE
OLDNEW
« no previous file with comments | « no previous file | tools/node-mac-tick-processor » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698