亚行logcat的基于线程ID过滤输出 [英] Filter output of adb logcat based on thread id

查看:562
本文介绍了亚行logcat的基于线程ID过滤输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的亚行logcat -v threadtime取得,其中包括时间和线程ID的格式输出。我在想,如果有一种方法基于线程ID(TID)来过滤输出。

我想从某个线程的输出而已,现在我可以得到线程ID而不是滤波输出。

感谢

解决方案

 亚行logcat -v threadtime | grep的123yourthreadid456
 

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

解决方案

adb logcat -v threadtime | grep 123yourthreadid456

这篇关于亚行logcat的基于线程ID过滤输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆