summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtl/rtl-trace.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-03-10 07:04:42 +1300
committerChris Johns <chrisj@rtems.org>2019-03-22 14:16:52 +1100
commitdad6fd4333c4b05af08bd78714acefb5a86f1af9 (patch)
tree232b39b72ad54f69a25291f77eb999a1c1e4cb1e /cpukit/include/rtems/rtl/rtl-trace.h
parentbsp/atsam: Fix SPI driver DMA support (diff)
downloadrtems-dad6fd4333c4b05af08bd78714acefb5a86f1af9.tar.bz2
libdl: Add an archive command
- The archive command lists archives, symbols and any duplicate symbols. - Change the RTL shell commands to the rtems_printer to allow the output to be captured.
Diffstat (limited to '')
-rw-r--r--cpukit/include/rtems/rtl/rtl-trace.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/include/rtems/rtl/rtl-trace.h b/cpukit/include/rtems/rtl/rtl-trace.h
index cd3921400c..06c72c8992 100644
--- a/cpukit/include/rtems/rtl/rtl-trace.h
+++ b/cpukit/include/rtems/rtl/rtl-trace.h
@@ -23,6 +23,8 @@ extern "C" {
#include <stdbool.h>
#include <stdint.h>
+#include <rtems/printer.h>
+
/**
* Set to 1 to build trace support in to the RTL code.
*/
@@ -98,7 +100,9 @@ rtems_rtl_trace_mask rtems_rtl_trace_clear_mask (rtems_rtl_trace_mask mask);
* Add shell trace shell command.
*/
#if RTEMS_RTL_TRACE
-int rtems_rtl_trace_shell_command (int argc, char *argv[]);
+int rtems_rtl_trace_shell_command (const rtems_printer* printer,
+ int argc,
+ char* argv[]);
#endif
#ifdef __cplusplus