diff options
author | Daniel Cederman <cederman@gaisler.com> | 2015-02-04 10:04:05 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-02-11 15:35:26 +0100 |
commit | 8d8573acc8f620c93afa8dd30ea8418d25ad2d21 (patch) | |
tree | 41051541bd765a98f16d8e996fdf2f1742d91c03 /testsuites/smptests/smpcapture02/smpcapture02.doc | |
parent | bsp/sparc: Move BSP_ISR_handler to a separate file and rename it (diff) | |
download | rtems-8d8573acc8f620c93afa8dd30ea8418d25ad2d21.tar.bz2 |
smpcapture02: Add test of functionality to add custom entries to capture trace
Diffstat (limited to 'testsuites/smptests/smpcapture02/smpcapture02.doc')
-rw-r--r-- | testsuites/smptests/smpcapture02/smpcapture02.doc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testsuites/smptests/smpcapture02/smpcapture02.doc b/testsuites/smptests/smpcapture02/smpcapture02.doc new file mode 100644 index 0000000000..8aa754916b --- /dev/null +++ b/testsuites/smptests/smpcapture02/smpcapture02.doc @@ -0,0 +1,30 @@ +This file describes the directives and concepts tested by this test set. + +test set name: smpcapture02 + +directives: + + rtems_capture_begin_add_record + rtems_capture_append_to_record + rtems_capture_end_add_record + rtems_capture_read + +concepts: + +SMP Capture Test 2 + +This program tests the functionality to add custom entries to +the SMP capture trace. + +A simple function is wrapped inside another function that stores +the input arguments and the function's result in the capture trace +every time it is called. The function is called by a set of tasks +per CPU during the test. The tasks are linked together by semaphores +in such a way that only one task is active at any given time. At the +end of the test the data stored in the capture trace is verified to +make sure that all invocations of the traced function were stored correctly. + +The test also traces clock tick interrupts. If an interrupt handler +with the name "Clock" or "clock" exists, it is assumed to be the main +clock interrupt handler. The test wraps this function with another function +that adds an entry to the trace for every clock tick. |