Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - T index
The Linux kernel configuration item CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP
:
CONFIG_TRACER_SNAPSHOT
Allow doing a snapshot of a single CPU buffer instead of a full swap (all buffers). If this is set, then the following is allowed:
echo 1 > /sys/kernel/tracing/per_cpu/cpu2/snapshot
After which, only the tracing buffer for CPU 2 was swapped with the main tracing buffer, and the other CPU buffers remain the same.
When this is enabled, this adds a little more overhead to the trace recording, as it needs to add some checks to synchronize recording with swaps. But this does not affect the performance of the overall system. This is enabled by default when the preempt or irq latency tracers are enabled, as those need to swap as well and already adds the overhead (plus a lot more).
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - T index
Automatically generated (in year 2024). See also LKDDb sources on GitLab