I am trying do do some stuff the Android Device Monitor does on command line in a script. As far as I found out you cannot use the monitor from command line without GUI. My approach is to capture (adb) commands the monitor sends to the emulator and then use these commands directly. I already tried logcat without results (tried with adb push -> nothing logged). I also tried wireshark (usb sniffing) but that didn't work either. (too much information, maybe I did something wrong)
If anyone is interested: I am trying to do method profiling and save the trace file for further analysis. Btw. does anybody know why they say traceview and dmtracedump is deprecated?