Filter output of adb logcat based on thread id

早过忘川 提交于 2019-11-29 23:52:56

问题


I am using adb logcat -v threadtime to get the output in a format that includes time and thread id. I was wondering if there is a way to filter output based on the thread id (tid).

I want to get output from certain threads only, now i can get the thread id but not the filtered output.

Thanks


回答1:


adb logcat -v threadtime | grep 123yourthreadid456


来源:https://stackoverflow.com/questions/7576579/filter-output-of-adb-logcat-based-on-thread-id

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!