mirror of
https://github.com/gatieme/LDD-LinuxDeviceDrivers.git
synced 2026-09-21 03:43:38 +08:00
trace...
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
#驱动安装
|
||||
-------
|
||||
http://blog.csdn.net/arethe/article/details/6293505]
|
||||
http://lxr.free-electrons.com/source/Documentation/trace/tracepoints.txt
|
||||
https://lwn.net/Articles/410200/
|
||||
|
||||
|
||||
#1 驱动安装
|
||||
-------
|
||||
|
||||
|
||||
sudo insmod trace-events-sample.ko
|
||||
|
||||
|
||||
#检查驱动
|
||||
#2 检查驱动
|
||||
-------
|
||||
|
||||
cat /sys/kernel/debug/tracing/available_events | grep sample-trace
|
||||
@@ -15,7 +19,7 @@ cd /sys/kernel/debug/tracing/events/sample-trace
|
||||
|
||||
|
||||
|
||||
#trace-cmd
|
||||
#3 trace-cmd
|
||||
-------
|
||||
|
||||
sudo trace-cmd reset
|
||||
|
||||
Reference in New Issue
Block a user