OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Copyright 2012 the V8 project authors. All rights reserved. | 2 # Copyright 2012 the V8 project authors. All rights reserved. |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
5 # met: | 5 # met: |
6 # | 6 # |
7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
10 # copyright notice, this list of conditions and the following | 10 # copyright notice, this list of conditions and the following |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 adb -p "$DEPLOY" sync data | 53 adb -p "$DEPLOY" sync data |
54 | 54 |
55 adb shell "cd /data/local/tmp/v8;\ | 55 adb shell "cd /data/local/tmp/v8;\ |
56 perf record -R -e cycles -c 10000 -f -i \ | 56 perf record -R -e cycles -c 10000 -f -i \ |
57 ./d8 --ll_prof --gc-fake-mmap=/data/local/tmp/__v8_gc__ $RUN_ARGS" | 57 ./d8 --ll_prof --gc-fake-mmap=/data/local/tmp/__v8_gc__ $RUN_ARGS" |
58 | 58 |
59 adb pull /data/local/tmp/v8/v8.log . | 59 adb pull /data/local/tmp/v8/v8.log . |
60 adb pull /data/local/tmp/v8/v8.log.ll . | 60 adb pull /data/local/tmp/v8/v8.log.ll . |
61 adb pull /data/perf.data . | 61 adb pull /data/perf.data . |
62 | 62 |
63 ARCH=arm-linux-androideabi-4.4.3 | 63 ARCH=arm-linux-androideabi-4.6 |
64 TOOLCHAIN="${ANDROID_NDK_ROOT}/toolchains/$ARCH/prebuilt/linux-x86/bin" | 64 TOOLCHAIN="${ANDROID_NDK_ROOT}/toolchains/$ARCH/prebuilt/linux-x86/bin" |
65 | 65 |
66 $BASE/tools/ll_prof.py --host-root="$BASE/deploy" \ | 66 $BASE/tools/ll_prof.py --host-root="$BASE/deploy" \ |
67 --gc-fake-mmap=/data/local/tmp/__v8_gc__ \ | 67 --gc-fake-mmap=/data/local/tmp/__v8_gc__ \ |
68 --objdump="$TOOLCHAIN/arm-linux-androideabi-objdump" \ | 68 --objdump="$TOOLCHAIN/arm-linux-androideabi-objdump" \ |
69 $LL_PROF_ARGS | 69 $LL_PROF_ARGS |
OLD | NEW |