The empty translation case gets tested nowhere in the kernel, so add a
probe to dt_test with a couple of args that get thrown away by the
translation machinery.
Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Acked-by: Kris Van Hees <kris.van.hees@oracle.com>
Orabug:
24661801
static int dt_test_open(struct inode *inode, struct file *file)
{
+ /*
+ * Test translation-to-nothing.
+ */
+ DTRACE_PROBE4(sdt__test__open__file, struct inode *,inode, int :, 666,
+ char * : (), 0, struct file *, file);
return 0;
}