From cab526f6bfab5c12ea384024a59299e245e0d7f7 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 19 Jun 2016 05:17:39 +0200 Subject: docs --- perf.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 perf.txt diff --git a/perf.txt b/perf.txt new file mode 100644 index 0000000..0cc9844 --- /dev/null +++ b/perf.txt @@ -0,0 +1,3 @@ +Userspace tracing: + perf probe --add 'nvidia_ioctl cmd=%dx:u32 i_arg=%cx:u64' + echo "p:kprobes/nvidia_ioctl nvidia_ioctl cmd=%dx:u32 i_arg=%cx:u64" > /sys/kernel/debug/tracing/kprobe_events -- cgit v1.2.3