diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-12-01 10:21:25 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-12-02 10:25:44 +0100 |
commit | c46fbb955258df3ff3c325dadd1a6c17ee81a914 (patch) | |
tree | 1895f6eb6ffe8cba7928820e98c11df1a92825cc /cpukit/include/rtems/confdefs | |
parent | bsps/irq: Add bsp_interrupt_get_dispatch_table_slot() (diff) | |
download | rtems-c46fbb955258df3ff3c325dadd1a6c17ee81a914.tar.bz2 |
config: Add CONFIGURE_RECORD_INTERRUPTS_ENABLED
This enables the tracing of interrupt entry/exit events through an
application configuration option. The interrupt processing can be
viewed with Trace Compass using rtems-record-lttng from the RTEMS Tools.
Update #4769.
Diffstat (limited to 'cpukit/include/rtems/confdefs')
-rw-r--r-- | cpukit/include/rtems/confdefs/extensions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/include/rtems/confdefs/extensions.h b/cpukit/include/rtems/confdefs/extensions.h index 118ad29484..a369ef1f61 100644 --- a/cpukit/include/rtems/confdefs/extensions.h +++ b/cpukit/include/rtems/confdefs/extensions.h @@ -188,6 +188,14 @@ extern "C" { RTEMS_SYSINIT_RECORD, RTEMS_SYSINIT_ORDER_MIDDLE ); + + #ifdef CONFIGURE_RECORD_INTERRUPTS_ENABLED + RTEMS_SYSINIT_ITEM( + _Record_Interrupt_initialize, + RTEMS_SYSINIT_LAST, + RTEMS_SYSINIT_ORDER_MIDDLE + ); + #endif #endif #ifdef CONFIGURE_VERBOSE_SYSTEM_INITIALIZATION |