Skip to content

Commit 554f81e

Browse files
committed
Pull etdump
1 parent 65ecfd1 commit 554f81e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

extension/benchmark/android/benchmark/android-llm-device-farm-test-spec.yml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ phases:
148148
# Trying to pull the file using adb ends up with permission error, but this works too, so why not
149149
echo "${BENCHMARK_RESULTS}" > $DEVICEFARM_LOG_DIR/benchmark_results.json
150150

151+
adb -s $DEVICEFARM_DEVICE_UDID pull /data/local/tmp/result.etdump $DEVICEFARM_LOG_DIR/result.etdump
152+
151153
artifacts:
152154
# By default, Device Farm will collect your artifacts from the $DEVICEFARM_LOG_DIR directory.
153155
- $DEVICEFARM_LOG_DIR

scripts/build_android_library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ build_android_native_library() {
4141
-DBUILD_TESTING=OFF \
4242
-DEXECUTORCH_ENABLE_LOGGING=ON \
4343
-DEXECUTORCH_BUILD_DEVTOOLS=ON \
44-
-DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
44+
-DEXECUTORCH_ENABLE_EVENT_TRACER="${EXECUTORCH_ANDROID_PROFILING:-OFF}" \
4545
-DEXECUTORCH_LOG_LEVEL=Info \
4646
-DEXECUTORCH_BUILD_XNNPACK=ON \
4747
-DEXECUTORCH_XNNPACK_SHARED_WORKSPACE=ON \

0 commit comments

Comments
 (0)