Warning, /testsuites/smptests/smpcapture02/smpcapture02.doc is written in an unsupported language. File is not indexed.
0001 This file describes the directives and concepts tested by this test set.
0002
0003 test set name: smpcapture02
0004
0005 directives:
0006
0007 rtems_capture_begin_add_record
0008 rtems_capture_append_to_record
0009 rtems_capture_end_add_record
0010 rtems_capture_read
0011
0012 concepts:
0013
0014 SMP Capture Test 2
0015
0016 This program tests the functionality to add custom entries to
0017 the SMP capture trace.
0018
0019 A simple function is wrapped inside another function that stores
0020 the input arguments and the function's result in the capture trace
0021 every time it is called. The function is called by a set of tasks
0022 per CPU during the test. The tasks are linked together by semaphores
0023 in such a way that only one task is active at any given time. At the
0024 end of the test the data stored in the capture trace is verified to
0025 make sure that all invocations of the traced function were stored correctly.
0026
0027 The test also traces clock tick interrupts. If an interrupt handler
0028 with the name "Clock" or "clock" exists, it is assumed to be the main
0029 clock interrupt handler. The test wraps this function with another function
0030 that adds an entry to the trace for every clock tick.