January 2018
Intermediate to advanced
456 pages
12h 49m
English
Perf can use dynamic events to extend the event list to any location where kprobe can be placed. For this, configure the kernel for kprobe and uprobe support (if available), as seen in the Using dynamic kernel events recipe earlier.
# perf probe --add "tcp_sendmsg" Added new event: probe:tcp_sendmsg (on tcp_sendmsg)
# perf record -e probe:tcp_sendmsg -a -g -- wget http://downloads.yoctoproject.org/releases/yocto/yocto- 2.4/RELEASENOTES Connecting to downloads.yoctoproject.org (198.145.29.10:80) RELEASENOTES 100% |**************************************************************************************| ...
Read now
Unlock full access