summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/kprobes.stp
blob: a3aad283eaef44de02e5914baa40b99bef38704c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * kprobes.stp
 * Probe to test the functionality of kprobe-based probes
 * (Dwarfless Probing)
 */

probe begin
{
  println("systemtap starting probe");
}

probe kprobe.function("vfs_read")
{
  exit();
}

probe end
{
  println("systemtap ending probe");
}