Point OPROFILE_EVENTS_DIR to oprofile dir in source tree.
Otherwise oprofile will punt with the following error message when processing results collected by perf events since the event descriptions are not stored in the default location on the host. profile: could not open unit mask description file /usr/local/share/oprofile//arm/armv7/unit_masks Change-Id: I4ff2f2a87546ed3606490596285fb3e466e8d661
This commit is contained in:
parent
1985846eb0
commit
057fde14d1
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue