~james-page/ubuntu/precise/nodejs/test-timeout

« back to all changes in this revision

Viewing changes to deps/v8/tools/oprofile/run

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2011-06-30 07:03:44 UTC
  • mfrom: (7.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110630070344-5928xvhb3ddw5adb
Tags: 0.4.9-1ubuntu1
* Merge from Debian unstable (LP: #786428). Remaining changes:
  - debian/patches/2007_remove_internet_test.patch: Remove test which requires
    internet connection

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
# Source common stuff.
4
 
. `cd $(dirname "$0");pwd`/common
5
 
 
6
 
# Reset oprofile samples.
7
 
sudo_opcontrol --reset
8
 
 
9
 
# Run the executable to profile with the correct arguments.
10
 
"$shell_exec" --oprofile "$@"
11
 
 
12
 
# Flush oprofile data including the generated code into ELF binaries.
13
 
sudo_opcontrol --dump
14