Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + set +x
- root@imx6q-phytec-mira-rdk-nand:/tmp# ./test.sh
- + md5sum /usr/bin/evim
- 2e96f54a92413a070fbf735e46070114 /usr/bin/evim
- + ldd /usr/bin/evim
- linux-vdso.so.1 (0xbefca000)
- libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0xb677d000)
- libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0xb66d0000)
- libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb66b6000)
- libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb666f000)
- libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb659f000)
- libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6571000)
- libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6526000)
- libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6435000)
- libSM.so.6 => /usr/lib/libSM.so.6 (0xb641f000)
- libICE.so.6 => /usr/lib/libICE.so.6 (0xb63fe000)
- libXt.so.6 => /usr/lib/libXt.so.6 (0xb63b1000)
- libX11.so.6 => /usr/lib/libX11.so.6 (0xb62bc000)
- libm.so.6 => /lib/libm.so.6 (0xb6256000)
- libtinfo.so.5 => /lib/libtinfo.so.5 (0xb622b000)
- libacl.so.1 => /usr/lib/libacl.so.1 (0xb6215000)
- libdl.so.2 => /lib/libdl.so.2 (0xb6202000)
- libc.so.6 => /lib/libc.so.6 (0xb6107000)
- /lib/ld-linux-armhf.so.3 (0xb6f07000)
- libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb60f0000)
- libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb60d9000)
- libXext.so.6 => /usr/lib/libXext.so.6 (0xb60be000)
- librt.so.1 => /lib/librt.so.1 (0xb60a8000)
- libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6095000)
- libXi.so.6 => /usr/lib/libXi.so.6 (0xb607a000)
- libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb6067000)
- libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6054000)
- libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6040000)
- libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0xb602a000)
- libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6001000)
- libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0xb5fce000)
- libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0xb5f89000)
- libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0xb5f72000)
- libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0xb5f60000)
- libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0xb5f47000)
- libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0xb5e82000)
- libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0xb5e59000)
- libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb5d24000)
- libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb5d05000)
- libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xb5c5b000)
- libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb5c1c000)
- libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb5ba2000)
- libpthread.so.0 => /lib/libpthread.so.0 (0xb5b7d000)
- libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb5af3000)
- libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb5ac0000)
- libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0xb5aad000)
- libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb5a83000)
- libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb5a69000)
- libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb5a52000)
- libz.so.1 => /lib/libz.so.1 (0xb5a32000)
- libGL.so.1 => /usr/lib/libGL.so.1 (0xb59d5000)
- libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb5992000)
- libffi.so.8 => /usr/lib/libffi.so.8 (0xb5977000)
- libpcre.so.1 => /usr/lib/libpcre.so.1 (0xb5917000)
- libattr.so.1 => /usr/lib/libattr.so.1 (0xb5903000)
- libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb58c0000)
- libatspi.so.0 => /usr/lib/libatspi.so.0 (0xb588a000)
- libmount.so.1 => /lib/libmount.so.1 (0xb583c000)
- libresolv.so.2 => /lib/libresolv.so.2 (0xb581c000)
- libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb57f1000)
- libuuid.so.1 => /usr/lib/libuuid.so.1 (0xb57db000)
- libXau.so.6 => /usr/lib/libXau.so.6 (0xb57c8000)
- libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb57b3000)
- libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb5774000)
- libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb5754000)
- libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb5732000)
- libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb5720000)
- libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xb570c000)
- libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb56f8000)
- libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0xb56e4000)
- libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0xb56d1000)
- libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0xb56bc000)
- libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0xb56aa000)
- libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0xb5694000)
- libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb566b000)
- libblkid.so.1 => /lib/libblkid.so.1 (0xb5624000)
- + readelf -S /usr/bin/evim
- There are 28 section headers, starting at offset 0x1d55c0:
- Section Headers:
- [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
- [ 0] NULL 00000000 000000 000000 00 0 0 0
- [ 1] .interp PROGBITS 00000154 000154 000019 00 A 0 0 1
- [ 2] .note.gnu.bu[...] NOTE 00000170 000170 000024 00 A 0 0 4
- [ 3] .note.ABI-tag NOTE 00000194 000194 000020 00 A 0 0 4
- [ 4] .gnu.hash GNU_HASH [ 129.728562] test.sh (501): drop_caches: 3
- 000001b4 0001b4 000018 04 A 5 0 4
- [ 5] .dynsym DYNSYM 000001cc 0001cc 002c60 10 A 6 3 4
- [ 6] .dynstr STRTAB 00002e2c 002e2c 003209 00 A 0 0 1
- [ 7] .gnu.version VERSYM 00006036 006036 00058c 02 A 5 0 2
- [ 8] .gnu.version_r VERNEED 000065c4 0065c4 000100 00 A 6 5 4
- [ 9] .rel.dyn REL 000066c4 0066c4 00f0f8 08 A 5 0 4
- [10] .rel.plt REL 000157bc 0157bc 001580 08 AI 5 22 4
- [11] .init PROGBITS 00016d3c 016d3c 00000c 00 AX 0 0 4
- [12] .plt PROGBITS 00016d48 016d48 0021a4 04 AX 0 0 4
- [13] .text PROGBITS 00018ef0 018ef0 178b74 00 AX 0 0 8
- [14] .fini PROGBITS 00191a64 191a64 000008 00 AX 0 0 4
- [15] .rodata PROGBITS 00191a6c 191a6c 028ec4 00 A 0 0 4
- [16] .ARM.exidx ARM_EXIDX 001ba930 1ba930 000008 00 AL 13 0 4
- [17] .eh_frame PROGBITS 001ba938 1ba938 000004 00 A 0 0 4
- [18] .init_array INIT_ARRAY 001caf3c 1baf3c 000004 04 WA 0 0 4
- [19] .fini_array FINI_ARRAY 001caf40 1baf40 000004 04 WA 0 0 4
- [20] .data.rel.ro PROGBITS 001caf44 1baf44 00658c 00 WA 0 0 4
- [21] .dynamic DYNAMIC 001d14d0 1c14d0 000180 08 WA 6 0 4
- [22] .got PROGBITS 001d1650 1c1650 0019b0 04 WA 0 0 4
- [23] .data PROGBITS 001d3000 1c3000 012474 00 WA 0 0 8
- [24] .bss NOBITS 001e5478 1d5474 009240 00 WA 0 0 8
- [25] .ARM.attributes ARM_ATTRIBUTES 00000000 1d5474 000035 00 0 0 1
- [26] .gnu_debuglink PROGBITS 00000000 1d54ac 00000c 00 0 0 4
- [27] .shstrtab STRTAB 00000000 1d54b8 000108 00 0 0 1
- Key to Flags:
- W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
- L (link order), O (extra OS processing required), G (group), T (TLS),
- C (compressed), x (unknown), o (OS specific), E (exclude),
- y (purecode), p (processor specific)
- + sync
- + echo 3
- + perf stat sh -c 'LD_BIND_NOW=true LD_DEBUG=statistics /usr/bin/evim 2>&1 > /dev/null'
- 512: number of relocations: 17574
- 512: number of relocations from cache: 1004
- 512: number of relative relocations: 38269
- E233: cannot open display
- 512:
- 512: runtime linker statistics:
- 512: final number of relocations: 17574
- 512: final number of relocations from cache: 1004
- Performance counter stats for 'sh -c LD_BIND_NOW=true LD_DEBUG=statistics /usr/bin/evim 2>&1 > /dev/null':
- 174.25 msec task-clock # 0.208 CPUs utilized
- 224 context-switches # 0.001 M/sec
- 0 cpu-migrations # 0.000 K/sec
- 787 page-faults # 0.005 M/sec
- <not counted> cycles (0.00%)
- <not counted> instructions (0.00%)
- <not counted> branches (0.00%)
- <not counted> branch-misses (0.00%)
- 0.838039667 seconds time elapsed
- 0.087679000 seconds user
- 0.091107000 seconds sys
- + set +x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement