mirror of
https://github.com/gatieme/LDD-LinuxDeviceDrivers.git
synced 2026-08-23 16:09:43 +08:00
23 lines
225 B
Plaintext
23 lines
225 B
Plaintext
probe begin
|
|
{
|
|
log("begin to probe")
|
|
}
|
|
|
|
|
|
probe syscall.open
|
|
{
|
|
printf ("%s(%d) open (%s)\n", execname(), pid(), argstr)
|
|
}
|
|
|
|
|
|
probe timer.ms(4000) # after 4 seconds
|
|
{
|
|
exit ()
|
|
}
|
|
|
|
|
|
probe end
|
|
{
|
|
log("end to probe")
|
|
}
|