summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libmisc/shell: Make some internal shell functions public.Chris Johns2017-08-233-19/+35
| | | | | | | | | | - Add 'rtems_shell_init_environment()' so a user can create the shell environment without needing to run a shell. - Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd', and 'rtems_shell_execute_cmd' from the internal interface to the public interface. Closes #3104.
* untar: do not exit with error when created directory already exists.Pavel Pisa2015-11-231-1/+29
| | | | | | | | | | | | | | The problem exists for both RTEMS untar implementations and their variants: Untar_FromMemory(), Untar_FromFile() and rtems_tarfs_load(). If filesystem object already exists at extracted directory path then if it is directory, creation is ignored. Attempt to delete/unlink object and make directory is tried for other cases. This simple approach problem reported in ticket fixes #2413. Behavior follows GNU tar and BSD tar practice for directories but much more work is required to achieve full semantics of the full featured tar implementation still.
* cpukit/libmisc/dumpbuf/dumpbuf.c: Fix compilation warningsMartin Galvan2015-09-031-1/+1
| | | | | | | | | | Compiling dumpbuf.c causes the following warning to be issued: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] This happens because line_buffer is declared as unsigned. Closes #2411.
* cpukit/libmisc/dumpbuf/dumpbuf.c: Fix undefined behavior for sprintf()Martin Galvan2015-09-031-46/+75
| | | | | | | I also used the 'n' versions of the string functions, #define'd magic numbers and added a few comments. Updates #2405.
* libmisc: Use SMP application by default on SMPSebastian Huber2015-07-081-0/+4
|
* libmisc: Simplify <rtems/stackchk.h>Sebastian Huber2015-06-262-1/+2
| | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
* score: Simplify <rtems/system.h>Sebastian Huber2015-06-261-1/+1
| | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
* Remove use ticks for statistics configure option.Joel Sherrill2015-06-155-134/+33
| | | | | | | | | | This was obsolete and broken based upon recent time keeping changes. Thie build option was previously enabled by adding USE_TICKS_FOR_STATISTICS=1 to the configure command line. This propagated into the code as preprocessor conditionals using the __RTEMS_USE_TICKS_FOR_STATISTICS__ conditional.
* libmisc/cpuuse: Top support for current load.Chris Johns2015-04-291-195/+541
| | | | | | | | | | | | | | | | | | The cpuuse top command now supports the current load where the list of tasks is ordered based on the current load rather than the total cpu usage. This lets you see what is using the processor at any specific instance. The ability to sort on a range of thread values is now supported. Added memory usage stats for unified and separate workspace and C heaps as well as displaying the allocated stack space. Added a few more command keys to refresh the display, show all tasks in the system, control the lines display and a scrolling mode that does not clear the display on each refresh. Removed support for tick kernel builds. The tick support in the kernel is to be removed.
* score: Fix POSIX thread joinSebastian Huber2015-04-231-0/+1
| | | | | | | | | | | | A thread join is twofold. There is one thread that exists and an arbitrary number of threads that wait for the thread exit (one-to-many relation). The exiting thread may want to wait for a thread that wants to join its exit (STATES_WAITING_FOR_JOIN_AT_EXIT in _POSIX_Thread_Exit()). On the other side we need a thread queue for all the threads that wait for the exit of one particular thread (STATES_WAITING_FOR_JOIN in pthread_join()). Update #2035.
* Fix build for non-SPARC targetsSebastian Huber2015-04-171-2/+9
|
* DRVMGR: KEY_TYPE now a enum drvmgr_ktDaniel Hellstrom2015-04-171-8/+8
|
* DRVMGR: added drvmgr shell commandDaniel Hellstrom2015-04-173-1/+436
|
* LIBPCI: added PCI shell commandDaniel Hellstrom2015-04-173-1/+543
|
* shell/main_rtrace.c: Fix warningJoel Sherrill2015-04-031-1/+1
|
* capture: Define __rtld_tbg_lockSebastian Huber2015-04-021-0/+2
|
* libmisc/shell: Add the rtrace command for buffered tracing support.Chris Johns2015-03-315-2/+1037
| | | | | The rtrace command interfaces to the RTEMS Trace Linker's trace buffering data allowing users to capture and report trace data.
* testsupport: Generate unique worker namesSebastian Huber2015-03-251-1/+11
|
* monitor: Fix notepad dumpSebastian Huber2015-03-241-4/+7
|
* cpukit/libmisc/utf8proc/utf8proc.c: Avoid overflowJoel Sherrill2015-03-241-0/+5
|
* shell/utils-cp.c: Avoid redefinition of TIMESPEC_TO_TIMEVALJoel Sherrill2015-03-241-0/+9
|
* dummy/default-configuration.c: Tune configuration down for small targetsJoel Sherrill2015-03-241-4/+10
|
* capture/capture_support.c: Fix printf() warning and formattingJoel Sherrill2015-03-241-10/+14
|
* cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warningJoel Sherrill2015-03-221-1/+5
|
* cpukit/libmisc/shell/main_df.c: Eliminate printf() format warningJoel Sherrill2015-03-221-2/+3
|
* Replace www.rtems.com with www.rtems.orgSebastian Huber2015-03-201-1/+1
|
* libmisc/capture: Clean up formatting on ARM.Chris Johns2015-03-192-22/+29
| | | | | | | | The printing of 64bit diff's for the timestamp did not work on ARM so I have changed this to 32bit. A 32bit nano-second diff between events should be more than enough time. Print '____' for POSIX thread output.
* testsupport: Do not suspend worker tasksSebastian Huber2015-03-181-1/+3
|
* libmisc/redirector: Fix unlock on exit from the handler.Chris Johns2015-03-181-1/+1
|
* libmisc/monitor/mon-task.c: Disable deprecated warning for use of notepadsJoel Sherrill2015-03-171-2/+21
|
* testsupport: Add worker setup handlerSebastian Huber2015-03-172-12/+71
| | | | Add rtems_test_parallel_get_task_id().
* shell: remove rtems ifdef, upstream is correctGedare Bloom2015-03-161-8/+0
|
* shell: fix printf warningsGedare Bloom2015-03-161-4/+5
|
* capture: fix warnings in printGedare Bloom2015-03-161-4/+6
|
* cpukit: Remove old DESCRIPTION: in commentsJoel Sherrill2015-03-115-77/+5
| | | | These were remnants of pre-Doxygen comment style.
* cpukit: deprecate notepadsGedare Bloom2015-03-101-1/+2
| | | | | | | | | | | | | | | Deprecate Classic API Notepads. Mark task_set/get_note() with the deprecated attribute, and also mark the notepads field. Replace disable with enable option for notepads in confdefs.h, and make notepads disabled by default. The previous option CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and will emit a compile-time warning. A new option CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn on notepads, but it also will emit a compile-time warning to indicate that notepads are deprecated. Closes #2265
* cpukit/libmisc/fsmount/fsmount.h: Remove duplicate comments and copyrightJoel Sherrill2015-03-091-29/+7
|
* Fix a number of minor Doxygen formatting issuesJoel Sherrill2015-03-062-1/+3
|
* testsupport: Add cascade option to parallel testAlexander Krutwig2015-03-062-11/+44
|
* shell: Add PROFREPORT commandSebastian Huber2015-03-063-0/+50
|
* capture: Fix warningsSebastian Huber2015-03-051-5/+5
|
* tests: Fix warningSebastian Huber2015-03-051-2/+1
|
* tests: Refactor parallel test executionAlexander Krutwig2015-03-053-0/+269
|
* Move test support from sapi to libmisc/testsupportSebastian Huber2015-03-054-0/+246
|
* score: Delete superfluous Heap_Statistics::instanceSebastian Huber2015-01-221-2/+0
| | | | | This value depends on the _Heap_Initialize() call sequence and carries no useful information.
* capture: Fix lock initializationSebastian Huber2015-01-091-6/+11
|
* untar.c: Coverity ID 26151 and reformatJoel Sherrill2015-01-041-295/+251
| | | | | | | | The Coverity issue was an ignored return value from a read() in a loop which should have been a seek() since the data read was ignored. The file itself needed reformatting to conform to RTEMS style.
* Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEMSebastian Huber2014-12-161-1/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* shell: Add 'all' topic for help for all commandsSebastian Huber2014-12-121-11/+19
|
* shell: Avoid __DATE__ and adjust welcome messageSebastian Huber2014-12-051-2/+1
| | | | The use of __DATE__ prevents reproducible builds.