summaryrefslogtreecommitdiffstats
path: root/perf.txt
diff options
context:
space:
mode:
Diffstat (limited to 'perf.txt')
-rw-r--r--perf.txt3
1 files changed, 3 insertions, 0 deletions
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