Is it not possible to restart zygote with zalgrind? I'm trying to debug an app using the NDK. I don't know if the NDK library is loaded and executed in the zygote process? If so I guess I have a similar problem.
In the init.rc file on android zygote is started as: service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server I suppose that could be changed to start zygote by valgrind instead? This would run valgrind for all apps though. Matthew. On 5 Oct 2013, at 18:32, Marc Sampé <marc.c...@gmail.com> wrote: > Yep. "am start" sends a signal via socket to zygote, so there's no children > to follow. > > > 2013/10/5 Vasily Golubev <vasily.golu...@gmail.com> > Mr. Sampe, > > Did you try flag --trace-children=yes? > > Vasily > > On Thu, Oct 3, 2013 at 4:19 PM, Marc Sampé <marc.sa...@est.fib.upc.edu> wrote: > > Hi! > > > > I'm new using Valgrind out of Linux. I'm working in a project on Android and > > I'm trying to instrument "com.android.mms" or Mms.apk. > > > > I tried using "am start" but am only sends a signal to Zygote so valgrind > > will never trace the new process. > > > > I read that Valgrind has ARM support, so I guess that someone knows hot to > > do it. > > > > Any hint or help will be grateful! > > > > Thanks > > > > -- > > Marc Sampé Gascó > > Estudiant de Enginyeria Informàtica ( UPC ) > > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > > from > > the latest Intel processors and coprocessors. See abstracts and register > > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > > _______________________________________________ > > Valgrind-users mailing list > > Valgrind-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > > > > > -- > Best Regards, > Vasily > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > _______________________________________________ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > > > -- > Marc > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk_______________________________________________ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users