CPU topology statedump on x86
authorJulien Desfossez <jdesfossez@digitalocean.com>
Fri, 26 Oct 2018 19:55:18 +0000 (15:55 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 27 Oct 2018 19:32:55 +0000 (20:32 +0100)
commit502e41323dc7abc1daf53c1adcf2debcd5c02a77
treed9ceca41c6c5b097ac9c689bbd68768f84e6c01e
parent7a5ed6a896a0e0a2050018c9b46d76f826554097
CPU topology statedump on x86

New statedump tracepoint to dump the active CPU/NUMA topology. This
allows to know which CPUs are SMT sibling or on the same socket. For now
only x86 is supported because all architectures has different fields.
The field "architecture" is statically defined and should be present in
all implementations so parsing tools know what content to expect.

Example output:
lttng_statedump_cpu_topology: { cpu_id = 3 }, { architecture = "x86",
cpu_id = 0, vendor = "GenuineIntel", family = 6, model = 142,
model_name = "Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz",
physical_id = 0, core_id = 0, cores = 2 }

Signed-off-by: Julien Desfossez <jdesfossez@digitalocean.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/lttng-statedump.h
lttng-statedump-impl.c
This page took 0.025297 seconds and 4 git commands to generate.