- tp_memcpy(name, p->comm, TASK_COMM_LEN)
- tp_assign(type, type)
- tp_assign(mode, mode)
- tp_assign(submode, submode)
- tp_assign(status, status)
- tp_assign(ns_level, pid_ns ? pid_ns->level : 0)
- ),
- TP_printk("")
+ ctf_array_text(char, name, p->comm, TASK_COMM_LEN)
+ ctf_integer(int, type, type)
+ ctf_integer(int, mode, mode)
+ ctf_integer(int, submode, submode)
+ ctf_integer(int, status, status)
+ ctf_integer(int, ns_level, pid_ns ? pid_ns->level : 0)
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
+ ctf_integer(unsigned int, ns_inum, pid_ns ? pid_ns->lttng_proc_inum : 0)
+#endif
+ ctf_integer(unsigned int, cpu, task_cpu(p))
+ )