On Fri, 19 Jun 2020 15:28:59 +0800 Ming Lei <ming.lei@xxxxxxxxxx> wrote: > > > > OK, then let's make events (for sure) > > > > root@devnote2:/sys/kernel/debug/tracing# echo p __blkdev_put >> kprobe_events > > root@devnote2:/sys/kernel/debug/tracing# echo r __blkdev_put >> kprobe_events > > root@devnote2:/sys/kernel/debug/tracing# echo p blkdev_put >> kprobe_events Hi Ming, Do you have the kprobe_events file? > > root@devnote2:/sys/kernel/debug/tracing# echo 1 > events/kprobes/enable > > I can't find 'events/kprobes' in my VM with upstream kernel, also not found > the dir under fedora31(5.5.15-200) & rhel8(v4.18 based). The events/kprobes directly will be created when you create a kprobe_event. It wont exist until then. -- Steve