blob: ee79b07dc20e9f3d9e63208d07b3e06d0306637b (
plain)
1
2
3
4
5
6
7
8
9
10
|
#! stap -p2
// bz10475: pointer-array confused about array element size
// struct file *do_filp_open(int dfd, const char *pathname,
// int open_flag, int mode, int acc_mode)
probe kernel.function("do_filp_open")
{
// check array access on a "complex" pointer type
println($pathname[0])
}
|