CONFIG_PERCEPIO_RECORDER_CFG_CTRL_TASK_PRIORITY

Control Task Priority

Type: int

Help

In streaming mode, TzCtrl is used to receive start/stop commands from
Tracealyzer and in some cases also to transmit the trace data (for stream
ports that uses the internal buffer, like TCP/IP). For such stream ports,
make sure the TzCtrl priority is high enough to ensure reliable periodic
execution and transfer of the data, but low enough to avoid disturbing any
time-sensitive functions.

In Snapshot mode, TzCtrl is only used for the stack usage monitoring and is
not created if stack monitoring is disabled. TRC_CFG_CTRL_TASK_PRIORITY should
be low, to avoid disturbing any time-sensitive tasks.

Direct dependencies

TRACING_STACK && !PERCEPIO_RECORDER_CFG_SCHEDULING_ONLY && PERCEPIO_TRACERECORDER

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At /home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/debug/TraceRecorder/kernelports/Zephyr/Kconfig:132

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/kconfig/Kconfig.modules:56

Menu path: (Top) → Modules → TraceRecorder (/home/runner/work/sdk-nrf/sdk-nrf/ncs/modules/debug/TraceRecorder) → Percepio Trace Recorder

config PERCEPIO_RECORDER_CFG_CTRL_TASK_PRIORITY
    int "Control Task Priority"
    range 1 32
    default 1
    depends on TRACING_STACK && !PERCEPIO_RECORDER_CFG_SCHEDULING_ONLY && PERCEPIO_TRACERECORDER
    help
      In streaming mode, TzCtrl is used to receive start/stop commands from
      Tracealyzer and in some cases also to transmit the trace data (for stream
      ports that uses the internal buffer, like TCP/IP). For such stream ports,
      make sure the TzCtrl priority is high enough to ensure reliable periodic
      execution and transfer of the data, but low enough to avoid disturbing any
      time-sensitive functions.

      In Snapshot mode, TzCtrl is only used for the stack usage monitoring and is
      not created if stack monitoring is disabled. TRC_CFG_CTRL_TASK_PRIORITY should
      be low, to avoid disturbing any time-sensitive tasks.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)