You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
303 B

#!/bin/sh
# Source common stuff.
. `cd $(dirname "$0");pwd`/common
# Reset oprofile samples.
sudo_opcontrol --reset
# Run the executable to profile with the correct arguments.
"$shell_exec" --oprofile "$@"
# Flush oprofile data including the generated code into ELF binaries.
sudo_opcontrol --dump