summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2011-11-28 14:57:21 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-11-28 14:57:21 -0800
commit2260c40bc791a89dd95e739fb79313a97121519d (patch)
treee5cc195bbbb8ff5acc684bef055ae3119e0dee0b
parent40f3dec34a059160e3a7136cb22a1a4945ca328c (diff)
parent057fde14d1258375def4ffdc813683dade9027e2 (diff)
downloadbuild-2260c40bc791a89dd95e739fb79313a97121519d.zip
build-2260c40bc791a89dd95e739fb79313a97121519d.tar.gz
build-2260c40bc791a89dd95e739fb79313a97121519d.tar.bz2
Merge "Point OPROFILE_EVENTS_DIR to oprofile dir in source tree."
-rw-r--r--envsetup.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/envsetup.sh b/envsetup.sh
index 274901b..272eb18 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -146,6 +146,10 @@ function setpaths()
unset ANDROID_HOST_OUT
export ANDROID_HOST_OUT=$(get_abs_build_var HOST_OUT)
+ # needed for processing samples collected by perf counters
+ unset OPROFILE_EVENTS_DIR
+ export OPROFILE_EVENTS_DIR=$T/external/oprofile/events
+
# needed for building linux on MacOS
# TODO: fix the path
#export HOST_EXTRACFLAGS="-I "$T/system/kernel_headers/host_include