Expose cpu_id as a context field in lttng-tools (add-context)
(Total: 0.00 h)
Updated by Jérémie Galarneau about 7 years ago
- Target version changed from 2.8 to 2.9
Updated by Michael Jeanson over 1 year ago
- Status changed from New to Resolved
Updated by Mathieu Desnoyers over 1 year ago
- Status changed from Resolved to Feedback
Currently, the "cpu_id" context can only be used from filters, not from add-context.
Because we have per-cpu buffers, we happen to have the cpu_id available in the packet header, and we use it at post-processing. However, if in the future we introduce either global buffer support or per-virtual-cpu-id buffers, then introducing add-context support for cpu_id will become relevant.