summaryrefslogtreecommitdiffstats
path: root/perf.txt
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@ipepdvdev1.ipe.kit.edu>2016-06-19 05:17:39 +0200
committerSuren A. Chilingaryan <csa@ipepdvdev1.ipe.kit.edu>2016-06-19 05:17:39 +0200
commitcab526f6bfab5c12ea384024a59299e245e0d7f7 (patch)
tree8a3ec5a6b74fc4a9e2d7448779fef497e780120f /perf.txt
parent55dc14eff1b9d3dfad43136774b0d2f3dbe61fd2 (diff)
downloadnvtrace-cab526f6bfab5c12ea384024a59299e245e0d7f7.tar.gz
nvtrace-cab526f6bfab5c12ea384024a59299e245e0d7f7.tar.bz2
nvtrace-cab526f6bfab5c12ea384024a59299e245e0d7f7.tar.xz
nvtrace-cab526f6bfab5c12ea384024a59299e245e0d7f7.zip
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