Blob Blame History Raw
#! stap -p2
// bz10475: pointer-array confused about array element size

// struct file *filp_open(int dfd, const char *filename, int flags, int mode)
probe kernel.function("filp_open")
{
    // check array access on a "complex" pointer type
    println($filename[0])
}