Expose cpu_id as a context field in lttng-tools (add-context)
Updated by Mathieu Desnoyers 3 months 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.