hi, please provide updates ..... thank you, Raghu
On Oct 5, 12:33 pm, RK <bcsf...@gmail.com> wrote: > Hi, > I have followed your instructions to update the following > environment variable: $PATH, and $ANDROID_PRODUCT_OUT. And verify they > are set correctly by the following ways: > 1. $PATH: I could run arm-eabi-addr2line from everywhere, which means > that the path for arm-eabi-addr2line is set correctly. > 2. $ANDROID_PRODUCT_OUT: I could execute "cd $ANDROID_PRODUCT_OUT/ > symbols" successfully, and it indeed changed to the symbols folder, > which means that the path for symbols under $ANDROID_PRODUCT_OUT is > set correctly. > > With the settings for $PATH, and $ANDROID_PRODUCT_OUT, I run ddms to > see the Native Heap tab. However, I still failed to locate the memory > leak. The problems I faced are: > 1. The button "Load Symbol" is disabled. > 2. The following fields are blank, nothing seen. > a) library, > b) file, > c) line > > I believed that there must be something I did not follow. Could anyone > just give me some instruction? Thanks in advance. > > regards, > RK > > On 8月19日, 下午5時02分, clikx <click...@gmail.com> wrote: > > > > > Hi Fadden, > > > Things seems to be working. Both the coloumns are getting populated > > with file and function names. > > > I have updated following environment variables > > 1. $PATH with ~/open_src/prebuilt/linux-x86/toolchain/arm-eabi-XXX/bin > > 2. $ANDROID_PRODUCT_OUT with ~/open_src/out/target/product/<XXX>/ > > > 'PATH' is used for getting "arm-eabi-addr2line" and > > ANDROID_PRODUCT_OUT for getting the path to /symbol folder. > > > Thanks and Regards > > Supriyo > > > On Aug 19, 12:54 am, fadden <fad...@android.com> wrote: > > > > On Aug 18, 4:49 am, clikx <click...@gmail.com> wrote: > > > > > I am using own tree. > > > ... > > > > I am getting the following error for all the libraries. > > > > 03:48 E/ddm-Addr2Line: Error while trying to start arm-eabi-addr2line > > > > process for library /system/lib/libssl.so > > > > > I am not able to find; which file, the path preferences of "/<path>/ > > > > arm-eabi-addr2line" and "/out/target/product/<prod>/symbols/system/ > > > > lib/" are to be updated. > > > > When I type "which arm-eabi-addr2line", I find it in ./prebuilt/linux- > > > x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-addr2line. Are you setting > > > your path with ". build/envsetup.sh" and an appropriate "lunch" > > > command? > > > > There appears to be an addr2line preference in File->Preferences, but > > > you shouldn't have to mess with that.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---