fix minor typo
authorchendotjs <chenyaqi01@baidu.com>
Sat, 10 Apr 2021 15:51:11 +0000 (23:51 +0800)
committeryonghong-song <ys114321@gmail.com>
Sat, 10 Apr 2021 20:40:36 +0000 (13:40 -0700)
docs/reference_guide.md

index d4559910b801401e2b8c404a694db6b4d30252d8..f3940fdabd0273e96b81263b0a270052f2991ee7 100644 (file)
@@ -1685,7 +1685,7 @@ This is an explicit way to instrument tracepoints. The ```RAW_TRACEPOINT_PROBE``
 For example:
 
 ```Python
-b.attach_raw_tracepoint("sched_swtich", "do_trace")
+b.attach_raw_tracepoint("sched_switch", "do_trace")
 ```
 
 Examples in situ: