Filter output of adb logcat based on thread id

2019-02-11 08:13发布

问题:

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