代码拉取完成,页面将自动刷新
Examples of urandomread.py, the Linux eBPF/bcc version.
To demonstrate this, the following workload was issued:
# dd if=/dev/urandom of=/dev/null bs=1k count=5
While urandomread.py was tracing in another session:
# ./urandomread.py
TIME(s) COMM PID GOTBITS
22592556.392825000 dd 14228 8192
22592556.392949000 dd 14228 8192
22592556.393068999 dd 14228 8192
22592556.393183999 dd 14228 8192
22592556.393298000 dd 14228 8192
The GOTBITS of 8192 matches the workload of 1 Kbyte (8 Kbit) reads.
This program was really written as a simple example of tracing a tracepoint.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。