From: Mathieu Desnoyers Date: Thu, 24 Nov 2016 01:43:49 +0000 (-0500) Subject: Add task cpu in process statedump X-Git-Tag: v2.10.0-rc1~39 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7a4793755ae078a89f409afb9266b4995ab236f9;p=lttng-modules.git Add task cpu in process statedump Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/lttng-statedump.h b/instrumentation/events/lttng-module/lttng-statedump.h index e98e7c0b..e7c528da 100644 --- a/instrumentation/events/lttng-module/lttng-statedump.h +++ b/instrumentation/events/lttng-module/lttng-statedump.h @@ -71,6 +71,7 @@ LTTNG_TRACEPOINT_EVENT(lttng_statedump_process_state, #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)) ) )