summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/captureimpl.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-02-28Remove explicit file names from @fileSebastian Huber1-1/+1
This makes the @file documentation independent of the actual file name. Update #3707.
2018-01-25Remove make preinstallChris Johns1-0/+0
A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
2016-09-01libmisc/capture: Remove the reserved _t in the types.Chris Johns1-11/+11
2016-09-01libmisc/capture: Fix the capture engine on SMP.Chris Johns1-166/+13
This patches some issues with the capture engine: 1. Check is the engine is open in ctrace commands. 2. Check all record open and appends for overflow. 3. Fix the record open to take the size of user data and not the record header. 4. Use packed structs for data being written to the per cpu buffers. 5. Remove direct struct access to the capture buffers to avoid misaligned accesses. 6. Add support to extract records, no struct access to the capture buffers. 7. Update ctrace to extract records from the capture buffers. 8. Add support to ctrace to always print the task name if it has one. 9. Add support to manage names or the lack of a name. 10. Range of minor fixes. 11. Fix a long standing bug in ctset's handling of args. Closes #2780.
2016-05-12capture: Fix use of per-processor dataSebastian Huber1-10/+15
Get the current processor index only once and with interrupts disabled. Close #2707.
2015-03-06Fix a number of minor Doxygen formatting issuesJoel Sherrill1-1/+2
2014-11-24capture: Remove whitespace and fix copyrights.Jennifer Averett1-12/+13
2014-11-24capture: Add SMP support.Jennifer Averett1-7/+12
To support smp data was broken into global and percpu capture data. Capture control must be disabled prior to printing or setting of watch points.
2014-11-24capture: Move print methods out of cli for reuse.Jennifer Averett1-0/+58
Methods to print the data were moved from capture-cli into a support area and are no longer static so that they can be shared by test routines, or application code that wants to use the capture engine without the shell interface.
2014-10-27capture: Removal of capture task tracking.Jennifer Averett1-48/+5
This patch removes functionality for stack checking from the capture engine and requiresi the use of existing rtems functions for this information. It modifies ctload to use functionality similar to rtems cpuusage. It removes the capture task and stores a new capture task record the first time the task is seen. The per task data that was still needed is scaled down and stored in the tcb.
2014-09-05capture: Add support for variable length records.Jennifer Averett1-0/+116
2014-09-05capture: Split user extension methods out.Jennifer Averett1-0/+195