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

Side by Side Diff: tools/oprofile/common

Issue 6474037: Remove OProfile support. We have Linux Perf support, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « tools/oprofile/annotate ('k') | tools/oprofile/dump » ('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/sh
2
3 # Determine the session directory to use for oprofile.
4 [ "$OPROFILE_SESSION_DIR" ] || OPROFILE_SESSION_DIR=/tmp/oprofv8
5
6 # If no executable passed as the first parameter assume V8 release mode shell.
7 if [[ -x $1 ]]
8 then
9 shell_exec=`readlink -f "$1"`
10 # Any additional parameters are for the oprofile command.
11 shift
12 else
13 oprofile_tools_path=`cd $(dirname "$0");pwd`
14 [ "$V8_SHELL_DIR" ] || V8_SHELL_DIR=$oprofile_tools_path/../..
15 shell_exec=$V8_SHELL_DIR/shell
16 fi
17
18 alias sudo_opcontrol='sudo opcontrol --session-dir="$OPROFILE_SESSION_DIR"'
19
OLDNEW
« no previous file with comments | « tools/oprofile/annotate ('k') | tools/oprofile/dump » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698