Joel Sherrill
fd50acd54f
shell/main_rtrace.c: Fix warning
2015-04-03 15:08:20 -05:00
Sebastian Huber
504e042d86
capture: Define __rtld_tbg_lock
2015-04-02 08:28:12 +02:00
Chris Johns
a300920de1
libmisc/shell: Add the rtrace command for buffered tracing support.
...
The rtrace command interfaces to the RTEMS Trace Linker's trace
buffering data allowing users to capture and report trace data.
2015-03-31 17:04:43 +11:00
Sebastian Huber
10a699d3fc
testsupport: Generate unique worker names
2015-03-25 11:46:20 +01:00
Sebastian Huber
a54866e910
monitor: Fix notepad dump
2015-03-24 14:35:05 +01:00
Joel Sherrill
e02b20a3d3
cpukit/libmisc/utf8proc/utf8proc.c: Avoid overflow
2015-03-24 08:17:13 -05:00
Joel Sherrill
0a9345ed68
shell/utils-cp.c: Avoid redefinition of TIMESPEC_TO_TIMEVAL
2015-03-24 08:16:28 -05:00
Joel Sherrill
54bfbe05bc
dummy/default-configuration.c: Tune configuration down for small targets
2015-03-24 08:16:27 -05:00
Joel Sherrill
735efe7e6d
capture/capture_support.c: Fix printf() warning and formatting
2015-03-24 08:16:27 -05:00
Joel Sherrill
5cd910bf3a
cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warning
2015-03-22 10:29:57 -05:00
Joel Sherrill
5ce776ec62
cpukit/libmisc/shell/main_df.c: Eliminate printf() format warning
2015-03-22 10:29:57 -05:00
Sebastian Huber
d4edbdbcbf
Replace www.rtems.com with www.rtems.org
2015-03-20 15:42:34 +01:00
Chris Johns
da30417b24
libmisc/capture: Clean up formatting on ARM.
...
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.
2015-03-19 18:25:51 +11:00
Sebastian Huber
55243d090e
testsupport: Do not suspend worker tasks
2015-03-18 13:51:22 +01:00
Chris Johns
b9d16f713f
libmisc/redirector: Fix unlock on exit from the handler.
2015-03-18 16:09:52 +11:00
Joel Sherrill
0a6d12afb4
libmisc/monitor/mon-task.c: Disable deprecated warning for use of notepads
2015-03-17 10:05:06 -05:00
Sebastian Huber
8c7eb0039c
testsupport: Add worker setup handler
...
Add rtems_test_parallel_get_task_id().
2015-03-17 10:32:57 +01:00
Gedare Bloom
a62220fefa
shell: remove rtems ifdef, upstream is correct
2015-03-16 13:23:15 -04:00
Gedare Bloom
ce4e691a01
shell: fix printf warnings
2015-03-16 13:01:37 -04:00
Gedare Bloom
ed152a0c4b
capture: fix warnings in print
2015-03-16 12:49:47 -04:00
Joel Sherrill
bdf23b6cd4
cpukit: Remove old DESCRIPTION: in comments
...
These were remnants of pre-Doxygen comment style.
2015-03-11 16:18:29 -05:00
Gedare Bloom
3ac681191e
cpukit: deprecate notepads
...
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
2015-03-10 12:53:07 -04:00
Joel Sherrill
34e0a56982
cpukit/libmisc/fsmount/fsmount.h: Remove duplicate comments and copyright
2015-03-09 16:56:18 -05:00
Joel Sherrill
cc69334f42
Fix a number of minor Doxygen formatting issues
2015-03-06 10:37:55 -06:00
Alexander Krutwig
33b72fde61
testsupport: Add cascade option to parallel test
2015-03-06 16:20:20 +01:00
Sebastian Huber
2bd71d95b6
shell: Add PROFREPORT command
2015-03-06 16:20:00 +01:00
Sebastian Huber
16b2de3545
capture: Fix warnings
2015-03-05 11:33:57 +01:00
Sebastian Huber
6fd5b4e486
tests: Fix warning
2015-03-05 11:23:10 +01:00
Alexander Krutwig
7f577d3a56
tests: Refactor parallel test execution
2015-03-05 09:12:14 +01:00
Sebastian Huber
18d0a49129
Move test support from sapi to libmisc/testsupport
2015-03-05 08:44:59 +01:00
Sebastian Huber
50a50313cc
score: Delete superfluous Heap_Statistics::instance
...
This value depends on the _Heap_Initialize() call sequence and carries
no useful information.
2015-01-22 07:52:50 +01:00
Sebastian Huber
cfe6d05e3b
capture: Fix lock initialization
2015-01-09 14:03:32 +01:00
Joel Sherrill
09220c8129
untar.c: Coverity ID 26151 and reformat
...
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.
2015-01-04 13:44:57 -06:00
Sebastian Huber
a0b1b5edb8
Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
...
This define was superfluous, undocumented and used inconsistently.
2014-12-16 11:34:38 +01:00
Sebastian Huber
26e04e2f02
shell: Add 'all' topic for help for all commands
2014-12-12 13:16:28 +01:00
Sebastian Huber
a2097c56ad
shell: Avoid __DATE__ and adjust welcome message
...
The use of __DATE__ prevents reproducible builds.
2014-12-05 13:09:11 +01:00
Sebastian Huber
e870941bb0
libmisc: More useful default configuration
...
The dummy.c was a de-facto default configuration. Rename it to
default-configuration.c. Use unlimited objects and the stack checker.
This makes it easier for new RTEMS users which will likely use this file
if they just work with the usual main() function as the application
entry point. Provide proper arguments for main() using the BSP command
line. Add spare user extensions and drivers.
Do not initialize the network by default. Delete bspinit.c.
2014-12-05 07:47:06 +01:00
Sebastian Huber
8905201985
monitor: Replace puts() with proper fprintf()
2014-12-03 13:03:13 +01:00
Chris Johns
e37e8504f1
libmisc/shell: Edit history hack is corrupting memory. Remove it.
...
The hack was a debug aid and is not needed.
Close #2203 .
2014-12-01 14:53:55 +11:00
Sebastian Huber
d006b46df3
score: Add heap statistics
...
Add lifetime bytes allocated and freed since they were present in the
malloc statistics. Add number of failed allocations.
2014-11-28 13:09:11 +01:00
Sebastian Huber
2c3c657625
score: Return heap stats via _Heap_Get_information
...
Print out heap statistics via the MALLOC and WKSPACE shell commands.
2014-11-28 13:09:07 +01:00
Sebastian Huber
01557b0c6e
libcsupport: Delete malloc statistics
...
Use the heap handler statistics instead. Add heap walk option to MALLOC
shell command.
close #1367
2014-11-28 11:23:53 +01:00
Sebastian Huber
43b09a9865
shell: Make mv, cp and rm usable for applications
...
close #2030
2014-11-27 13:37:52 +01:00
Josh Oguin
d4ec0a2d75
monitor/mon-prmisc.c: Use puts() not fprintf()
...
CodeSonar flagged this as a case where the user could inject a format
string and cause issues. Since we were not printing anything but a
string, just switching to puts() rather than fprintf(stdout,...) was
sufficient to make this code safer.
2014-11-26 07:52:00 -06:00
Josh Oguin
90a8e42be4
monitor/mon-editor.c: Use puts() and snprintf() not fprintf() or sprintf()
...
CodeSonar flagged this as a case where the user could inject a format
string and cause issues. Since we were not printing anything but a
string, just switching to puts() rather than fprintf(stdout,...) was
sufficient to make this code safer.
snprintf() places a limit on the length of the output from sprintf()
and avoids similar buffer overrun issues.
2014-11-26 07:51:59 -06:00
Sebastian Huber
fdd1e20579
shell: Include missing header
2014-11-26 09:58:40 +01:00
Joel Sherrill
ebb39a216d
hexdump-conv.c: Use proper printf() formatting for wchar_t
2014-11-25 12:58:00 -06:00
Joel Sherrill
3bd0cd1ad5
main_edit.c: Do not reference beyond end of array
2014-11-25 12:58:00 -06:00
Joel Sherrill
d15202490c
shell/main_edit.c: Note return value not checked
...
Coverity Id 1255320 spotted an unchecked return value.
2014-11-25 12:57:09 -06:00
Joel Sherrill
630642e21c
shell/main_blksync.c: Fix leak of file descriptor
...
Coverity Id 1063887. File descriptor not freed on error path.
2014-11-25 12:57:09 -06:00