Changeset c46fbb9 in rtems


Ignore:
Timestamp:
12/01/22 09:21:25 (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
997ba1d9
Parents:
0d5e41a
git-author:
Sebastian Huber <sebastian.huber@…> (12/01/22 09:21:25)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/02/22 09:25:44)
Message:

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.

Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/doxygen/appl-config.h

    r0d5e41a rc46fbb9  
    19111911 */
    19121912#define CONFIGURE_RECORD_FATAL_DUMP_BASE64_ZLIB
     1913
     1914/* Generated from spec:/acfg/if/record-interrupts-enabled */
     1915
     1916/**
     1917 * @brief This configuration option is a boolean feature define.
     1918 *
     1919 * In case
     1920 *
     1921 * * this configuration option is defined
     1922 *
     1923 * * and #CONFIGURE_RECORD_PER_PROCESSOR_ITEMS is properly defined,
     1924 *
     1925 * then the interrupt event recording is enabled.
     1926 *
     1927 * @par Default Configuration
     1928 * If this configuration option is undefined, then the described feature is not
     1929 * enabled.
     1930 *
     1931 * @par Notes
     1932 * The interrupt event recording generates interrupt entry and exit events when
     1933 * interrupt entries are dispatched.
     1934 */
     1935#define CONFIGURE_RECORD_INTERRUPTS_ENABLED
    19131936
    19141937/* Generated from spec:/acfg/if/record-per-processor-items */
  • cpukit/include/rtems/confdefs/extensions.h

    r0d5e41a rc46fbb9  
    189189    RTEMS_SYSINIT_ORDER_MIDDLE
    190190  );
     191
     192  #ifdef CONFIGURE_RECORD_INTERRUPTS_ENABLED
     193    RTEMS_SYSINIT_ITEM(
     194      _Record_Interrupt_initialize,
     195      RTEMS_SYSINIT_LAST,
     196      RTEMS_SYSINIT_ORDER_MIDDLE
     197    );
     198  #endif
    191199#endif
    192200
  • cpukit/include/rtems/record.h

    r0d5e41a rc46fbb9  
    6767
    6868void _Record_Initialize( void );
     69
     70void _Record_Interrupt_initialize( void );
    6971
    7072bool _Record_Thread_create(
  • spec/build/bsps/objirq.yml

    r0d5e41a rc46fbb9  
    2222- bsps/shared/irq/irq-legacy.c
    2323- bsps/shared/irq/irq-lock.c
     24- bsps/shared/irq/irq-record.c
    2425- bsps/shared/irq/irq-server.c
    2526- bsps/shared/irq/irq-shell.c
  • spec/build/bsps/powerpc/ss555/bspss555.yml

    r0d5e41a rc46fbb9  
    8181- bsps/shared/irq/irq-info.c
    8282- bsps/shared/irq/irq-lock.c
     83- bsps/shared/irq/irq-record.c
    8384- bsps/shared/irq/irq-server.c
    8485- bsps/shared/irq/irq-shell.c
Note: See TracChangeset for help on using the changeset viewer.