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