Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most are "[section .text]" and "[334 Others]" when using -d compileunits so no much useful information :/ #213

Closed
fzyzcjy opened this issue Sep 12, 2020 · 8 comments

Comments

@fzyzcjy
Copy link

fzyzcjy commented Sep 12, 2020

Hi thanks for this wonderful library! I am using it to examine a .so generated by Android NDK. However, I cannot find much useful information:

bloaty ./build/temp-libvision_utils.so --debug-file=./build/vision_utils/intermediates/stripped_native_libs/debug/out/lib/arm64-v8a/libvision_utils.so -d compileunits

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  36.7%  2.49Mi  34.1%  2.49Mi    [section .text]
  26.6%  1.81Mi  25.2%  1.84Mi    [334 Others]
  12.2%   850Ki  11.4%   850Ki    [section .rodata]
   0.0%       0   6.6%   496Ki    [section .bss]
   4.0%   277Ki   3.7%   277Ki    [section .rela.dyn]
   3.7%   257Ki   3.5%   260Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/locale.cpp
   2.8%   193Ki   2.6%   193Ki    [section .eh_frame]
   2.4%   165Ki   2.2%   165Ki    [section .gcc_except_table]
   1.5%   103Ki   1.4%   103Ki    [section .data.rel.ro]
   1.4%  99.4Ki   1.3%  99.4Ki    [section .dynstr]
   1.4%  97.0Ki   1.3%  97.0Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_fax3sm.c
   1.1%  75.9Ki   1.0%  75.9Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/cxa_demangle.cpp
   1.0%  67.4Ki   0.9%  67.4Ki    [section .dynsym]
   0.8%  56.9Ki   0.8%  56.9Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDwaCompressor.cpp
   0.7%  51.1Ki   0.7%  51.2Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/ios.cpp
   0.7%  46.9Ki   0.6%  47.0Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfHeader.cpp
   0.7%  45.8Ki   0.6%  45.8Ki    /Users/tom/QAPMain/Development/rzzsdxx_frontend/vision_utils/ios/Classes/basic_vision_utils.cpp
   0.6%  44.8Ki   0.6%  44.8Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_qmfb.c
   0.6%  40.0Ki   0.5%  40.0Ki    [section .eh_frame_hdr]
   0.5%  38.0Ki   0.5%  38.0Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/string.cpp
   0.5%  37.5Ki   0.5%  37.5Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jas_icc.c
 100.0%  6.79Mi 100.0%  7.32Mi    TOTAL

Most are [section .text] and [334 Others]. Thus, I cannot do anything to make my .so file smaller :(

I would appreciate it if any advice could be provided. I am really new to this area. Thank you so much!

P.S. The source code is like, several simple c++ file using OpenCV library. So the "opencv" words in the output looks normal. But everything else seems strange :/

Judge from the below full output, I suspect that, only some opencv/3rdparty code has symbols attached, and any other thing does not? However, when I use objdump -syms ./build/vision_utils/intermediates/cmake/debug/obj/arm64-v8a/libvision_utils.so | grep calc_local_stats I do see output 00000000000bf720 g F .text 000004e0 _Z16calc_local_statsRN2cv3MatES1_S1_Phi (where calc_local_stats is a function in my cpp file). However, when grep for binarization.cpp (my source file name), I do find nothing. Maybe this indicate that the symbol exists but the filenames does not?

Here is the full output:

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  36.7%  2.49Mi  34.1%  2.49Mi    [section .text]
  12.2%   850Ki  11.4%   850Ki    [section .rodata]
   4.0%   277Ki   3.7%   277Ki    [section .rela.dyn]
   3.7%   257Ki   3.5%   260Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/locale.cpp
   2.8%   193Ki   2.6%   193Ki    [section .eh_frame]
   2.4%   165Ki   2.2%   165Ki    [section .gcc_except_table]
   1.5%   103Ki   1.4%   103Ki    [section .data.rel.ro]
   1.4%  99.4Ki   1.3%  99.4Ki    [section .dynstr]
   1.4%  97.0Ki   1.3%  97.0Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_fax3sm.c
   1.1%  75.9Ki   1.0%  75.9Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/cxa_demangle.cpp
   1.0%  67.4Ki   0.9%  67.4Ki    [section .dynsym]
   0.8%  56.9Ki   0.8%  56.9Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDwaCompressor.cpp
   0.7%  51.1Ki   0.7%  51.2Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/ios.cpp
   0.7%  46.9Ki   0.6%  47.0Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfHeader.cpp
   0.7%  45.8Ki   0.6%  45.8Ki    /Users/tom/QAPMain/Development/rzzsdxx_frontend/vision_utils/ios/Classes/basic_vision_utils.cpp
   0.6%  44.8Ki   0.6%  44.8Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_qmfb.c
   0.6%  40.0Ki   0.5%  40.0Ki    [section .eh_frame_hdr]
   0.5%  38.0Ki   0.5%  38.0Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/string.cpp
   0.5%  37.5Ki   0.5%  37.5Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jas_icc.c
   0.5%  36.9Ki   0.5%  36.9Ki    [section .gnu.hash]
   0.5%  35.1Ki   0.5%  35.1Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jchuff.c
   0.5%  33.8Ki   0.5%  33.8Ki    [section .hash]
   0.5%  32.7Ki   0.4%  32.7Ki    [section .rela.plt]
   0.5%  31.6Ki   0.4%  31.6Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_getimage.c
   0.4%  31.0Ki   0.4%  31.0Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/upsampling_neon.c
   0.4%  28.1Ki   0.4%  28.1Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDeepTiledInputFile.cpp
   0.4%  27.4Ki   0.4%  27.4Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_fax3.c
   0.4%  26.4Ki   0.4%  26.4Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_dirread.c
   0.4%  26.4Ki   0.4%  26.4Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfStandardAttributes.cpp
   0.3%  24.2Ki   0.3%  24.2Ki    /build/master_pack-android/opencv/3rdparty/libpng/png.c
   0.3%  23.8Ki   0.3%  23.8Ki    /Users/tom/QAPMain/Development/rzzsdxx_frontend/vision_utils/ios/Classes/cpp/binarization.cpp
   0.3%  23.5Ki   0.3%  23.5Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngrutil.c
   0.3%  23.1Ki   0.3%  23.1Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/arena.cpp
   0.3%  22.0Ki   0.3%  22.0Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/scheduler.cpp
   0.3%  21.8Ki   0.3%  21.8Ki    [section .plt]
   0.3%  21.7Ki   0.3%  21.7Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDeepScanLineInputFile.cpp
   0.3%  21.4Ki   0.3%  21.4Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_cs.c
   0.3%  21.0Ki   0.3%  21.0Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngwutil.c
   0.3%  20.9Ki   0.3%  20.9Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngrtran.c
   0.3%  20.2Ki   0.3%  20.2Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngread.c
   0.3%  18.9Ki   0.3%  18.9Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_dirinfo.c
   0.3%  18.1Ki   0.2%  18.1Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_enc.c
   0.3%  17.8Ki   0.2%  18.2Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_luv.c
   0.3%  17.8Ki   0.2%  17.8Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp
   0.2%  17.1Ki   0.2%  17.1Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfOutputFile.cpp
   0.2%  17.1Ki   0.3%  21.8Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/picture_csp_enc.c
   0.2%  16.8Ki   0.2%  17.0Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/yuv.c
   0.2%  16.6Ki   0.2%  16.6Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_dec.c
   0.2%  16.3Ki   0.2%  16.3Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_dirwrite.c
   0.2%  15.3Ki   0.2%  15.7Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/lossless_enc.c
   0.2%  15.2Ki   0.2%  15.2Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfMultiPartInputFile.cpp
   0.2%  15.1Ki   0.2%  15.1Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_t1enc.c
   0.2%  15.1Ki   0.2%  15.1Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_dir.c
   0.2%  14.9Ki   0.2%  14.9Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_jpeg.c
   0.2%  14.9Ki   0.2%  14.9Ki    [section .got]
   0.2%  14.8Ki   0.2%  14.8Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfMisc.cpp
   0.2%  14.4Ki   0.2%  14.4Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/quant_enc.c
   0.2%  13.9Ki   0.2%  13.9Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jidctint.c
   0.2%  13.9Ki   0.2%  13.9Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dec/vp8l_dec.c
   0.2%  13.7Ki   0.2%  13.7Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/histogram_enc.c
   0.2%  13.5Ki   0.2%  13.5Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/vp8l_enc.c
   0.2%  13.2Ki   0.2%  13.2Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdcolor.c
   0.2%  13.2Ki   0.2%  13.2Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jp2_cod.c
   0.2%  13.1Ki   0.2%  13.1Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfTileOffsets.cpp
   0.2%  12.8Ki   0.2%  12.8Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp
   0.2%  12.6Ki   0.2%  14.6Ki    /Users/tom/QAPMain/Development/rzzsdxx_frontend/vision_utils/ios/Classes/cpp/palette_png.cpp
   0.2%  12.6Ki   0.2%  12.6Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfCompositeDeepScanLine.cpp
   0.2%  11.9Ki   0.2%  13.7Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jas_image.c
   0.2%  11.5Ki   0.2%  11.5Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jas_cm.c
   0.2%  11.3Ki   0.2%  11.3Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfInputFile.cpp
   0.2%  11.3Ki   0.2%  11.3Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngwrite.c
   0.2%  11.1Ki   0.1%  11.1Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/dec_neon.c
   0.2%  10.9Ki   0.1%  10.9Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcmarker.c
   0.2%  10.6Ki   0.1%  10.6Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/market.cpp
   0.2%  10.5Ki   0.1%  10.5Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_t1dec.c
   0.1%  10.2Ki   0.1%  10.3Ki    /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-dw2.c
   0.1%  9.96Ki   0.1%  9.96Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jas_stream.c
   0.1%  9.84Ki   0.1%  9.84Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/picture_tools_enc.c
   0.1%  9.74Ki   0.1%  9.74Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngset.c
   0.1%  9.63Ki   0.1%  9.63Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdmerge.c
   0.1%  9.53Ki   0.1%  9.53Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/task_group_context.cpp
   0.1%  9.49Ki   0.1%  9.50Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dec/vp8_dec.c
   0.1%  9.43Ki   0.1%  10.0Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/lossless.c
   0.1%  9.02Ki   0.1%  9.02Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/predictor_enc.c
   0.1%  8.91Ki   0.1%  8.91Ki    /build/master_pack-android/opencv/3rdparty/openexr/Iex/IexThrowErrnoExc.cpp
   0.1%  8.91Ki   0.1%  8.91Ki    [section .gnu.version]
   0.1%  8.82Ki   0.1%  8.82Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfHuf.cpp
   0.1%  8.70Ki   0.1%  8.70Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/frame_enc.c
   0.1%  8.62Ki   0.1%  8.62Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdmarker.c
   0.1%  8.31Ki   0.1%  8.31Ki    [section .data]
   0.1%  8.22Ki   0.1%  8.22Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jccolor.c
   0.1%  7.97Ki   0.1%  7.97Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/private_typeinfo.cpp
   0.1%  7.91Ki   0.1%  7.91Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_predict.c
   0.1%  7.77Ki   0.1%  7.77Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_read.c
   0.1%  7.70Ki   0.1%  7.70Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfB44Compressor.cpp
   0.1%  7.66Ki   0.1%  8.12Ki    /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/unwind-dw2-fde-dip.c
   0.1%  7.64Ki   0.1%  7.64Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdhuff.c
   0.1%  7.62Ki   0.1%  7.62Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dec/webp_dec.c
   0.1%  7.61Ki   0.1%  7.61Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfChannelList.cpp
   0.1%  7.52Ki   0.1%  7.52Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dec/tree_dec.c
   0.1%  7.34Ki   0.1%  7.34Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_mqcod.c
   0.1%  7.28Ki   0.1%  7.28Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jquant2.c
   0.1%  7.25Ki   0.1%  7.26Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/future.cpp
   0.1%  7.16Ki   0.1%  7.16Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/backward_references_enc.c
   0.1%  7.09Ki   0.1%  8.04Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/enc.c
   0.1%  7.02Ki   0.1%  7.03Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/governor.cpp
   0.1%  6.91Ki   0.1%  6.91Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcarith.c
   0.1%  6.83Ki   0.1%  6.83Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dec/frame_dec.c
   0.1%  6.74Ki   0.1%  7.02Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/upsampling.c
   0.1%  6.55Ki   0.1%  6.55Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngget.c
   0.1%  6.55Ki   0.1%  6.55Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/backward_references_cost_enc.c
   0.1%  6.47Ki   0.1%  6.47Ki    /Users/tom/QAPMain/Development/rzzsdxx_frontend/vision_utils/ios/Classes/cpp/image_enhancement.cpp
   0.1%  6.19Ki   0.1%  6.19Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfMatrixAttribute.cpp
   0.1%  5.95Ki   0.1%  5.95Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dec/io_dec.c
   0.1%  5.90Ki   0.1%  5.90Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jmemmgr.c
   0.1%  5.82Ki   0.1%  5.82Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcparam.c
   0.1%  5.78Ki   0.1%  5.78Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_lzw.c
   0.1%  5.64Ki   0.1%  5.64Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/iterator_enc.c
   0.1%  5.58Ki   0.1%  5.58Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_mqenc.c
   0.1%  5.52Ki   0.1%  5.52Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/picture_enc.c
   0.1%  5.51Ki   0.1%  5.57Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/cost.c
   0.1%  5.45Ki   0.1%  5.46Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/system_error.cpp
   0.1%  5.44Ki   0.1%  5.44Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngerror.c
   0.1%  5.30Ki   0.1%  5.30Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfStdIO.cpp
   0.1%  5.27Ki   0.1%  5.27Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_t2cod.c
   0.1%  5.25Ki   0.1%  5.27Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmThread/IlmThreadPool.cpp
   0.1%  5.22Ki   0.1%  5.22Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/tbb_main.cpp
   0.1%  5.11Ki   0.1%  5.11Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_t2enc.c
   0.1%  5.04Ki   0.1%  5.04Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdapistd.c
   0.1%  4.99Ki   0.1%  4.99Ki    /Users/tom/QAPMain/Development/rzzsdxx_frontend/vision_utils/ios/Classes/cpp/utils.cpp
   0.1%  4.98Ki   0.1%  4.98Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/private_server.cpp
   0.1%  4.91Ki   0.1%  4.91Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_write.c
   0.1%  4.90Ki   0.1%  4.90Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfPizCompressor.cpp
   0.1%  4.89Ki   0.1%  4.89Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdcoefct.c
   0.1%  4.87Ki   0.1%  4.87Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdarith.c
   0.1%  4.86Ki   0.1%  4.86Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/yuv_neon.c
   0.1%  4.85Ki   0.1%  4.85Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/cost_enc.c
   0.1%  4.83Ki   0.1%  4.83Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/token_enc.c
   0.1%  4.78Ki   0.1%  4.78Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jerror.c
   0.1%  4.74Ki   0.1%  4.74Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcphuff.c
   0.1%  4.66Ki   0.1%  4.66Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDeepCompositing.cpp
   0.1%  4.65Ki   0.1%  4.65Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDeepFrameBuffer.cpp
   0.1%  4.57Ki   0.1%  4.57Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/iostream.cpp
   0.1%  4.50Ki   0.1%  4.50Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/tbb_misc.cpp
   0.1%  4.45Ki   0.1%  4.45Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/tree_enc.c
   0.1%  4.44Ki   0.1%  4.44Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jquant1.c
   0.1%  4.42Ki   0.1%  4.42Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp
   0.1%  4.39Ki   0.1%  4.39Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/observer_proxy.cpp
   0.1%  4.37Ki   0.1%  4.37Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/enc_neon.c
   0.1%  4.28Ki   0.1%  4.28Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/analysis_enc.c
   0.1%  4.25Ki   0.1%  4.25Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdphuff.c
   0.1%  4.20Ki   0.1%  4.20Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/lossless_neon.c
   0.1%  4.19Ki   0.1%  4.19Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/task.cpp
   0.1%  4.14Ki   0.1%  4.14Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngtrans.c
   0.1%  4.13Ki   0.1%  4.13Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/mutex.cpp
   0.1%  4.09Ki   0.1%  4.09Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/bit_writer_utils.c
   0.1%  4.02Ki   0.1%  4.02Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jas_seq.c
   0.1%  3.90Ki   0.1%  3.90Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcmaster.c
   0.1%  3.85Ki   0.1%  3.85Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp
   0.1%  3.80Ki   0.1%  3.80Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/cxa_exception.cpp
   0.1%  3.80Ki   0.1%  3.80Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfFastHuf.cpp
   0.1%  3.62Ki   0.0%  3.62Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/dec_clip_tables.c
   0.1%  3.61Ki   0.0%  3.61Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdsample.c
   0.1%  3.53Ki   0.0%  3.53Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcdctmgr.c
   0.1%  3.52Ki   0.0%  3.52Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/memory.cpp
   0.1%  3.51Ki   0.0%  3.51Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/cxa_personality.cpp
   0.1%  3.49Ki   0.0%  3.49Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcsample.c
   0.0%  3.48Ki   0.0%  3.48Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_t2dec.c
   0.0%  3.46Ki   0.0%  3.46Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jas_iccdata.c
   0.0%  3.44Ki   0.0%  3.44Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfTiledMisc.cpp
   0.0%  3.41Ki   0.0%  3.41Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdmaster.c
   0.0%  3.27Ki   0.4%  29.6Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_t1cod.c
   0.0%  3.23Ki   0.0%  3.23Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfVecAttribute.cpp
   0.0%  3.19Ki   0.0%  3.19Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/filters_neon.c
   0.0%  3.12Ki   0.0%  3.12Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jp2_dec.c
   0.0%  3.11Ki   0.0%  3.11Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfChromaticities.cpp
   0.0%  3.10Ki   0.0%  3.11Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_aux.c
   0.0%  3.03Ki   0.0%  3.04Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_compress.c
   0.0%  2.96Ki   0.0%  2.96Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/filter_enc.c
   0.0%  2.95Ki   0.0%  2.95Ki    /build/master_pack-android/opencv/3rdparty/openexr/Iex/IexBaseExc.cpp
   0.0%  2.92Ki   0.0%  2.92Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jccoefct.c
   0.0%  2.88Ki   0.0%  2.88Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_bs.c
   0.0%  2.87Ki   0.0%  2.88Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/thread.cpp
   0.0%  2.87Ki   0.0%  2.87Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/stdlib_stdexcept.cpp
   0.0%  2.81Ki   0.0%  2.81Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/huffman_encode_utils.c
   0.0%  2.78Ki   0.0%  2.78Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_open.c
   0.0%  2.78Ki   0.0%  2.78Ki    /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/soft-fp/addtf3.c
   0.0%  2.75Ki   0.0%  2.75Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_zip.c
   0.0%  2.73Ki   0.0%  2.80Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfAttribute.cpp
   0.0%  2.55Ki   0.0%  2.55Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/quant_levels_dec_utils.c
   0.0%  2.53Ki   0.0%  2.53Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_mqdec.c
   0.0%  2.50Ki   0.0%  2.50Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdmainct.c
   0.0%  2.48Ki   0.0%  2.48Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngwtran.c
   0.0%  2.45Ki   0.0%  2.45Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dec/buffer_dec.c
   0.0%  2.43Ki   0.0%  2.43Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/webp_enc.c
   0.0%  2.43Ki   0.0%  2.43Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_tagtree.c
   0.0%  2.41Ki   0.0%  2.41Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/concurrent_monitor.cpp
   0.0%  2.39Ki   0.0%  2.39Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/alpha_enc.c
   0.0%  2.38Ki   0.0%  2.38Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jsimd_none.c
   0.0%  2.37Ki   0.0%  2.37Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcprepct.c
   0.0%  2.37Ki   0.0%  2.37Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_color.c
   0.0%  2.35Ki   0.0%  2.35Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/syntax_enc.c
   0.0%  2.29Ki   0.0%  2.29Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfTimeCode.cpp
   0.0%  2.28Ki   0.0%  2.28Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_swab.c
   0.0%  2.26Ki   0.0%  2.26Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_strip.c
   0.0%  2.24Ki   0.0%  2.24Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_mct.c
   0.0%  2.20Ki   0.0%  2.20Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/new.cpp
   0.0%  2.14Ki   0.0%  2.14Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jp2_enc.c
   0.0%  2.11Ki   0.0%  2.11Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/stdexcept.cpp
   0.0%  2.08Ki   0.0%  2.08Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfPartType.cpp
   0.0%  2.08Ki   0.0%  2.08Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/hash.cpp
   0.0%  2.08Ki   0.0%  2.08Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_unix.c
   0.0%  2.07Ki   0.0%  2.07Ki    /build/master_pack-android/opencv/3rdparty/openexr/Half/half.cpp
   0.0%  2.07Ki   0.0%  2.44Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/dec.c
   0.0%  2.05Ki   0.0%  2.05Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_packbits.c
   0.0%  2.04Ki   0.0%  2.16Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/alpha_processing.c
   0.0%  2.02Ki   0.0%  2.02Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_tile.c
   0.0%  2.00Ki   0.0%  2.00Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/cache_aligned_allocator.cpp
   0.0%  1.95Ki   0.0%  1.95Ki    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/spin_rw_mutex.cpp
   0.0%  1.94Ki   0.0%  1.94Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jddctmgr.c
   0.0%  1.84Ki   0.0%  1.84Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdinput.c
   0.0%  1.82Ki   0.0%  1.82Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/bit_reader_utils.c
   0.0%  1.81Ki   0.0%  1.81Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/huffman_utils.c
   0.0%  1.80Ki   0.0%  1.80Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfOpaqueAttribute.cpp
   0.0%  1.79Ki   0.0%  1.79Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_codec.c
   0.0%  1.75Ki   0.0%  1.75Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/thread_utils.c
   0.0%  1.68Ki   0.0%  1.75Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/ssim.c
   0.0%  1.65Ki   0.0%  1.65Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_tsfb.c
   0.0%  1.65Ki   0.0%  1.65Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdapimin.c
   0.0%  1.62Ki   0.0%  1.62Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jidctred.c
   0.0%  1.62Ki   0.0%       0    [ELF Headers]
   0.0%  1.61Ki   0.0%  1.61Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/quant_levels_utils.c
   0.0%  1.58Ki   0.0%  1.58Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/exception.cpp
   0.0%  1.58Ki   0.0%  1.58Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_util.c
   0.0%  1.55Ki   0.0%  1.55Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/charconv.cpp
   0.0%  1.52Ki   0.0%  1.52Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfChannelListAttribute.cpp
   0.0%  1.51Ki   0.0%  1.51Ki    /Users/tom/QAPMain/Development/rzzsdxx_frontend/vision_utils/ios/Classes/cpp/palette_bmp.cpp
   0.0%  1.51Ki   0.0%  1.51Ki    /Users/tom/QAPMain/Development/rzzsdxx_frontend/vision_utils/ios/Classes/cpp/misc_algorithm.cpp
   0.0%  1.44Ki   0.0%  1.44Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcapimin.c
   0.0%  1.41Ki   0.0%  1.41Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/stdlib_exception.cpp
   0.0%  1.41Ki   0.0%  1.41Ki    /build/master_pack-android/opencv/3rdparty/libpng/pngmem.c
   0.0%  1.39Ki   0.0%  1.39Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/alpha_processing_neon.c
   0.0%  1.34Ki   0.0%  1.34Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jfdctflt.c
   0.0%  1.34Ki   0.0%  1.34Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdpostct.c
   0.0%  1.34Ki   0.0%  1.34Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jfdctint.c
   0.0%  1.34Ki   0.0%  1.34Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp
   0.0%  1.34Ki   0.0%  1.34Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfKeyCode.cpp
   0.0%  1.33Ki   0.0%  1.40Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/rescaler.c
   0.0%  1.33Ki   0.0%  1.33Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfWav.cpp
   0.0%  1.32Ki   0.0%  1.32Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/utils.c
   0.0%  1.31Ki   0.0%  1.31Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/near_lossless_enc.c
   0.0%  1.30Ki   0.0%  1.30Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfCompressor.cpp
   0.0%  1.25Ki   0.0%  1.25Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfPreviewImage.cpp
   0.0%  1.24Ki   0.0%  1.24Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfZip.cpp
   0.0%  1.22Ki   0.0%  1.22Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/condition_variable.cpp
   0.0%  1.20Ki   0.0%  1.20Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_thunder.c
   0.0%  1.13Ki   0.0%  1.13Ki    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/stdlib_typeinfo.cpp
   0.0%  1.11Ki   0.0%  1.11Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfRleCompressor.cpp
   0.0%  1.11Ki   0.0%  1.11Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dec/alpha_dec.c
   0.0%  1.10Ki   0.0%  1.10Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfKeyCodeAttribute.cpp
   0.0%  1.09Ki   0.0%  1.09Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfGenericOutputFile.cpp
   0.0%  1.07Ki   0.0%  1.07Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfGenericInputFile.cpp
   0.0%  1.05Ki   0.0%  1.05Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/rescaler_neon.c
   0.0%  1.05Ki   0.0%  1.05Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmThread/IlmThreadSemaphorePosix.cpp
   0.0%  1.04Ki   0.0%       0    [Unmapped]
   0.0%  1.02Ki   0.0%  1.02Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jidctfst.c
   0.0%  1.02Ki   0.0%  1.02Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfIO.cpp
   0.0%    1016   0.0%    1016    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/fallback_malloc.cpp
   0.0%    1008   0.0%    1008    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jidctflt.c
   0.0%     988   0.0%     988    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp
   0.0%     984   0.0%     984    /build/master_pack-android/opencv/3rdparty/libwebp/src/dec/quant_dec.c
   0.0%     984   0.0%     984    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfStringVectorAttribute.cpp
   0.0%     961   0.0%     961    /build/master_pack-android/opencv/3rdparty/libtiff/tif_next.c
   0.0%     958   0.0%     958    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/cxa_guard.cpp
   0.0%     935   0.0%     935    /build/master_pack-android/opencv/3rdparty/libwebp/src/enc/config_enc.c
   0.0%     932   0.0%     932    /build/master_pack-android/opencv/3rdparty/openexr/IlmThread/IlmThread.cpp
   0.0%     912   0.0%     912    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jaricom.c
   0.0%     908   0.0%     908    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/rescaler_utils.c
   0.0%     900   0.0%     900    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfPreviewImageAttribute.cpp
   0.0%     861   0.0%     869    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/cxa_handlers.cpp
   0.0%     860   0.0%     860    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcapistd.c
   0.0%     820   0.0%     820    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/dwaLookups.cpp
   0.0%     808   0.0%     808    /build/master_pack-android/opencv/3rdparty/libjasper/jas_tvp.c
   0.0%     800   0.0%     800    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/cxa_default_handlers.cpp
   0.0%     795   0.0%     795    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/rml/client/rml_tbb.cpp
   0.0%     788   0.0%     788    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jfdctfst.c
   0.0%     784   0.0%     792    /build/master_pack-android/opencv/3rdparty/libtiff/tif_error.c
   0.0%     784   0.0%     792    /build/master_pack-android/opencv/3rdparty/libtiff/tif_warning.c
   0.0%     748   0.0%     748    /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/soft-fp/trunctfdf2.c
   0.0%     748   0.0%     748    /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/soft-fp/trunctfsf2.c
   0.0%     728   0.0%     728    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/filters_utils.c
   0.0%     708   0.0%     708    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDeepScanLineInputPart.cpp
   0.0%     692   0.0%     692    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcmainct.c
   0.0%     688   0.0%     688    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdatasrc.c
   0.0%     680   0.0%     680    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfZipCompressor.cpp
   0.0%     655   0.0%     655    /build/master_pack-android/opencv/3rdparty/libtiff/tif_dumpmode.c
   0.0%     652   0.0%     652    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jutils.c
   0.0%     652   0.0%     652    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/cost_neon.c
   0.0%     652   0.0%     652    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfRle.cpp
   0.0%     640   0.0%     640    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jdatadst.c
   0.0%     632   0.0%     632    /build/master_pack-android/opencv/3rdparty/libjasper/jas_malloc.c
   0.0%     596   0.0%     596    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfStringAttribute.cpp
   0.0%     592   0.0%     592    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfConvert.cpp
   0.0%     580   0.0%     580    /build/master_pack-android/opencv/3rdparty/libtiff/tif_flush.c
   0.0%     568   0.0%     568    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfFloatVectorAttribute.cpp
   0.0%     560   0.0%     564    /build/master_pack-android/opencv/3rdparty/libjasper/jas_debug.c
   0.0%     557   0.0%     557    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/cxa_exception_storage.cpp
   0.0%     544   0.0%     544    [section .dynamic]
   0.0%     543   0.0%     543    [LOAD #0 [RX]]
   0.0%     536   0.0%     536    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfTileDescriptionAttribute.cpp
   0.0%     512   0.0%     512    /build/master_pack-android/opencv/3rdparty/libtiff/tif_close.c
   0.0%     492   0.0%     492    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/lossless_enc_neon.c
   0.0%     488   0.0%     488    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfTimeCodeAttribute.cpp
   0.0%     484   0.0%     484    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfRationalAttribute.cpp
   0.0%     483   0.0%       0    [section .comment]
   0.0%     400   0.0%     400    /build/master_pack-android/opencv/3rdparty/libpng/pngwio.c
   0.0%     384   0.0%     488    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/filters.c
   0.0%     380   0.0%     380    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcomapi.c
   0.0%     372   0.0%     372    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/random_utils.c
   0.0%     356   0.0%     356    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jmemnobs.c
   0.0%     351   0.0%     351    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/tbb_misc_ex.cpp
   0.0%     339   0.0%     339    /build/master_pack-android/build/o4a/3rdparty/tbb/oneTBB-2020.2/src/tbb/dynamic_link.cpp
   0.0%     328   0.0%     328    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfCompressionAttribute.cpp
   0.0%     328   0.0%     328    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDeepImageStateAttribute.cpp
   0.0%     328   0.0%     328    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfEnvmapAttribute.cpp
   0.0%     328   0.0%     328    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfLineOrderAttribute.cpp
   0.0%     320   0.0%     320    /build/master_pack-android/opencv/3rdparty/libpng/pngrio.c
   0.0%     296   0.0%     296    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/abort_message.cpp
   0.0%     284   0.0%     284    /build/master_pack-android/opencv/3rdparty/libjasper/jas_init.c
   0.0%     260   0.0%     260    /build/master_pack-android/opencv/3rdparty/libwebp/src/utils/color_cache_utils.c
   0.0%     256   0.0%     256    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jcinit.c
   0.0%     251   0.0%       0    [section .shstrtab]
   0.0%     209   0.0%     209    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/cxa_virtual.cpp
   0.0%     194   0.0%     194    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/condition_variable_destructor.cpp
   0.0%     192   0.0%     192    [section .init_array]
   0.0%     172   0.0%     172    /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/soft-fp/floatditf.c
   0.0%     166   0.0%     166    /Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/src/mutex_destructor.cpp
   0.0%     152   0.0%     152    [section .note.android.ident]
   0.0%     144   0.0%     144    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_math.c
   0.0%     140   0.0%     140    /Volumes/Android/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/libgcc/config/aarch64/sfp-exceptions.c
   0.0%     136   0.0%     136    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfInputPartData.cpp
   0.0%     136   0.0%     136    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfThreading.cpp
   0.0%     114   0.0%     114    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/cpu.c
   0.0%     112   0.0%     112    /build/master_pack-android/opencv/3rdparty/libjasper/jas_string.c
   0.0%      96   0.0%      96    [section .gnu.version_r]
   0.0%      48   0.0%      48    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfSystemSpecific.cpp
   0.0%      44   0.0%      44    /build/master_pack-android/opencv/3rdparty/libjasper/jas_version.c
   0.0%      44   0.0%      44    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDoubleAttribute.cpp
   0.0%      44   0.0%      44    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfFloatAttribute.cpp
   0.0%      44   0.0%      44    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfIntAttribute.cpp
   0.0%      36   0.0%      36    [section .note.gnu.build-id]
   0.0%      16   0.0%      16    [section .fini_array]
   0.0%       0   0.0%      16    [LOAD #1 [RW]]
   0.0%       0   6.6%   496Ki    [section .bss]
 100.0%  6.79Mi 100.0%  7.32Mi    TOTAL
@haberman
Copy link
Member

Hi, thanks for your kind words. Please note that the -d compileunits source requires debug info, meaning you need to compile with -g -- just having symbols isn't enough. Every binary will have symbols unless it is stripped, but you have to compile with -g to get the info needed by -d compileunits.

On the other hand, -d symbols will work with just with symbols, so it might be a better place to start if you don't have full debug info available. The output size from -d symbols will probably be overwhelming, and too granular to be helpful, but you may be able to regex-filter this using custom data sources if your symbol names follow any useful pattern.

Good luck!

@fzyzcjy
Copy link
Author

fzyzcjy commented Sep 13, 2020

@haberman Thanks for the reply! I do use -g in my compile flags. It is Android NDK code, so here is part of my build.gradle. Note the cppFlags has both build-id and -g (and I have also tried to add-O0 but no use).


android {
    defaultConfig {
        externalNativeBuild {
            cmake {
                cppFlags "-frtti -fexceptions -std=c++11 -Wl,--build-id -g -O0"
                abiFilters 'armeabi-v7a', 'arm64-v8a'
                arguments '-DANDROID_STL=c++_static'
            }
        }
        packagingOptions { doNotStrip '**.so' }
    }

    externalNativeBuild {
        cmake {
            path "CMakeLists.txt"
        }
    }
}

@mraleph
Copy link
Member

mraleph commented Sep 13, 2020

            `arguments '-DANDROID_STL=c++_static'`

I would not be surprised if most of the size originated from this line. Try using c++_shared instead and see if it has the effect.

@fzyzcjy
Copy link
Author

fzyzcjy commented Sep 13, 2020

@mraleph Thank you very much for the reply! From the official doc,

The shared library for libc++ is libc++_shared.so, and the static library is libc++_static.a.
Note: libc++ is not a system library. If you use libc++_shared.so, it must be included in your APK. If you're building your application with Gradle this is handled automatically.

I only use c++ in this one .so file, so IMHO using a dynamic library will be bigger since the unused parts in the dynamic lib cannot be deleted. Moreover, my c++ code uses just very simple STL things. I only use vector, string, etc.

Please correct me if I am wrong. Thank you very much!

@mraleph
Copy link
Member

mraleph commented Sep 13, 2020

@fzyzcjy my suggestion was more about debugging the code size issue. if you switch to shared library and you see the size drop (and unattributed portion disappear) then you know where it came from.

@fzyzcjy
Copy link
Author

fzyzcjy commented Sep 13, 2020

@mraleph Great suggestion! I will have a look. Thanks!

@haberman
Copy link
Member

I'm going to close this for now, please re-open if you have more problems.

@fzyzcjy
Copy link
Author

fzyzcjy commented Apr 1, 2021

@mraleph Hi I make an experiment using the c++_shared:

...
arguments '-DANDROID_STL=c++_shared'
...

result:

bloaty ./build/temp-libvision_utils.so --debug-file=./build/vision_utils/intermediates/stripped_native_libs/debug/out/lib/arm64-v8a/libvision_utils.so -d compileunits 
    FILE SIZE        VM SIZE    
 --------------  -------------- 
  40.5%  2.47Mi  37.4%  2.47Mi    [section .text]
  26.4%  1.61Mi  24.4%  1.61Mi    [303 Others]
  13.4%   833Ki  12.3%   833Ki    [section .rodata]
   0.0%       0   7.3%   492Ki    [section .bss]
   3.4%   213Ki   3.2%   213Ki    [section .rela.dyn]
   3.0%   188Ki   2.8%   188Ki    [section .eh_frame]
   2.3%   146Ki   2.2%   146Ki    [section .gcc_except_table]
   1.6%  97.0Ki   1.4%  97.0Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_fax3sm.c
   1.3%  80.1Ki   1.2%  80.1Ki    [section .data.rel.ro]
   1.2%  74.7Ki   1.1%  74.7Ki    [section .dynstr]
   0.9%  56.9Ki   0.8%  56.9Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfDwaCompressor.cpp
   0.9%  54.1Ki   0.8%  54.1Ki    /Users/tom/QAPMain/Development/rzzsdxx_frontend/vision_utils/ios/Classes/basic_vision_utils.cpp
   0.8%  51.0Ki   0.8%  51.0Ki    [section .dynsym]
   0.8%  46.9Ki   0.7%  47.0Ki    /build/master_pack-android/opencv/3rdparty/openexr/IlmImf/ImfHeader.cpp
   0.7%  44.8Ki   0.7%  44.8Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_qmfb.c
   0.6%  38.9Ki   0.6%  38.9Ki    [section .eh_frame_hdr]
   0.6%  37.5Ki   0.6%  37.5Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jas_icc.c
   0.6%  35.1Ki   0.5%  35.1Ki    /build/master_pack-android/opencv/3rdparty/libjpeg-turbo/src/jchuff.c
   0.5%  31.6Ki   0.5%  31.6Ki    /build/master_pack-android/opencv/3rdparty/libtiff/tif_getimage.c
   0.5%  31.0Ki   0.5%  31.0Ki    /build/master_pack-android/opencv/3rdparty/libwebp/src/dsp/upsampling_neon.c
   0.1%  3.27Ki   0.4%  29.6Ki    /build/master_pack-android/opencv/3rdparty/libjasper/jpc_t1cod.c
 100.0%  6.09Mi 100.0%  6.60Mi    TOTAL

Therefore, it seems that c++_static vs c++_shared does not make very much difference, if I understand correctly.

More info on the apk file (I build in debug mode; but the thing should be similar imho) are as follows. So the c++_shared argument does work.

image

Therefore, I wonder what I should try next? Thank you very much!

P.S. The binary has changed since half a year has passed; but it does not change very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants