- CONFIG_PERCEPIO_RECORDER_TRC_CFG_ISR_TAILCHAINING_THRESHOLD_SNAPSHOT¶
ISR Tailchaining Threshold
Type: int
Help¶
If tracing multiple ISRs, this setting allows for accurate display of the
context-switching also in cases when the ISRs execute in direct sequence.
vTraceStoreISREnd normally assumes that the ISR returns to the previous
context, i.e., a task or a preempted ISR. But if another traced ISR
executes in direct sequence, Tracealyzer may incorrectly display a minimal
fragment of the previous context in between the ISRs.
By using TRC_CFG_ISR_TAILCHAINING_THRESHOLD you can avoid this. This is
however a threshold value that must be measured for your specific setup.
See http://percepio.com/2014/03/21/isr_tailchaining_threshold/
The default setting is 0, meaning "disabled" and that you may get an
extra fragments of the previous context in between tail-chained ISRs.
Direct dependencies¶
PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT
&& PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT
&& PERCEPIO_TRACERECORDER
(Includes any dependencies from ifs and menus.)
Default¶
0
Kconfig definition¶
At /home/nashif/zephyrproject/modules/debug/TraceRecorder/kernelports/Zephyr/Kconfig:801
Included via Kconfig:8
→ Kconfig.zephyr:23
→ modules/Kconfig:6
→ doc/_build/Kconfig/Kconfig.modules:20
Menu path: (Top) → Modules → TraceRecorder (/home/nashif/zephyrproject/modules/debug/TraceRecorder) → Percepio Trace Recorder → Snapshot Configuration
config PERCEPIO_RECORDER_TRC_CFG_ISR_TAILCHAINING_THRESHOLD_SNAPSHOT
int "ISR Tailchaining Threshold"
range 0 4194304
default 0
depends on PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT && PERCEPIO_TRACERECORDER
help
If tracing multiple ISRs, this setting allows for accurate display of the
context-switching also in cases when the ISRs execute in direct sequence.
vTraceStoreISREnd normally assumes that the ISR returns to the previous
context, i.e., a task or a preempted ISR. But if another traced ISR
executes in direct sequence, Tracealyzer may incorrectly display a minimal
fragment of the previous context in between the ISRs.
By using TRC_CFG_ISR_TAILCHAINING_THRESHOLD you can avoid this. This is
however a threshold value that must be measured for your specific setup.
See http://percepio.com/2014/03/21/isr_tailchaining_threshold/
The default setting is 0, meaning "disabled" and that you may get an
extra fragments of the previous context in between tail-chained ISRs.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)