diff options
author | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-11-06 08:55:32 -0600 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2014-11-24 14:04:54 -0600 |
commit | c577500023b3a87d8bed86dbf0aa294f69b05a3e (patch) | |
tree | 78412b8a0fa4840450ee84d0940f48d45846a355 /cpukit/libmisc/capture/captureimpl.h | |
parent | capture: Add SMP support. (diff) | |
download | rtems-c577500023b3a87d8bed86dbf0aa294f69b05a3e.tar.bz2 |
capture: Remove whitespace and fix copyrights.
Diffstat (limited to 'cpukit/libmisc/capture/captureimpl.h')
-rw-r--r-- | cpukit/libmisc/capture/captureimpl.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/cpukit/libmisc/capture/captureimpl.h b/cpukit/libmisc/capture/captureimpl.h index 44d81dbbc2..77a6f078e9 100644 --- a/cpukit/libmisc/capture/captureimpl.h +++ b/cpukit/libmisc/capture/captureimpl.h @@ -1,7 +1,7 @@ /** * @file rtems/captureimpl.h * - * @brief Capture Implementation file + * @brief Capture Implementation file * * This file contains an interface between the capture engine and * capture user extension methods. @@ -61,7 +61,7 @@ extern "C" { * @brief Capture set extension index. * * This function is used to set the extension index - * for the capture engine. + * for the capture engine. * * @param[in] index specifies the extension index to be * used for capture engine data. @@ -86,7 +86,7 @@ int rtems_capture_get_extension_index(void); * * @retval This method returns the global capture * flags. - * + * */ uint32_t rtems_capture_get_flags(void); @@ -138,7 +138,7 @@ bool rtems_capture_trigger (rtems_tcb* ft, uint32_t events); /** - * @brief Capture append to record + * @brief Capture append to record * * This function Capture appends data to a capture record. It should * be called between rtems_capture_begin_add_record and @@ -150,10 +150,10 @@ bool rtems_capture_trigger (rtems_tcb* ft, * * @retval This method returns a pointer which is used as a marker * for the next location in the capture record. it should only be - * used as input into rtems_capture_append_to_record or + * used as input into rtems_capture_append_to_record or * rtems_capture_end_add_record. */ -static void *rtems_capture_append_to_record(void* rec, +static void *rtems_capture_append_to_record(void* rec, void* data, size_t size ); @@ -167,7 +167,7 @@ static void *rtems_capture_append_to_record(void* rec, * @param[in] events specifies the events * * @retval This method returns true if this data should be - * filtered from the log. It returns false if this data + * filtered from the log. It returns false if this data * should be logged. */ bool rtems_capture_filter( rtems_tcb* task, @@ -193,13 +193,13 @@ bool rtems_capture_filter( rtems_tcb* task, * * This function appends data of a specifed size into a capture record. * - * @param[in] rec specifies the next write point in the capture record + * @param[in] rec specifies the next write point in the capture record * @param[in] data specifies the data to write * @param[in] size specifies the size of the data * * @retval This method returns the next write point in the capture record. */ -static inline void *rtems_capture_append_to_record(void* rec, +static inline void *rtems_capture_append_to_record(void* rec, void* data, size_t size ) { @@ -235,9 +235,9 @@ void rtems_capture_get_time (rtems_capture_time_t* time); /** * @brief Capture record open. * - * This function allocates a record and fills in the + * This function allocates a record and fills in the * header information. It does a lock acquire - * which will remain in effect until + * which will remain in effect until * rtems_capture_record_close is called. This method * should only be used by rtems_capture_begin_add_record. * @@ -256,7 +256,7 @@ void* rtems_capture_record_open (rtems_tcb* task, /** * @brief Capture record close. * - * This function closes writing to capure record and + * This function closes writing to capure record and * releases the lock that was held on the record. This * method should only be used by rtems_capture_end_add_record. * @@ -265,6 +265,7 @@ void* rtems_capture_record_open (rtems_tcb* task, */ void rtems_capture_record_close( void *rec, rtems_interrupt_lock_context* lock_context); + /** * @brief Capture print trace records. * |