summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/capture/capture.h
diff options
context:
space:
mode:
authorEric Norum <WENorum@lbl.gov>2006-04-27 18:17:20 +0000
committerEric Norum <WENorum@lbl.gov>2006-04-27 18:17:20 +0000
commit32293d692996ada60e2967718158dc1040f97e89 (patch)
tree544c24b469f23736c5a956d86d8e1bc1d98be775 /cpukit/libmisc/capture/capture.h
parent2006-04-18 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-32293d692996ada60e2967718158dc1040f97e89.tar.bz2
Add ability to free information on task delete.
Diffstat (limited to 'cpukit/libmisc/capture/capture.h')
-rw-r--r--cpukit/libmisc/capture/capture.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/cpukit/libmisc/capture/capture.h b/cpukit/libmisc/capture/capture.h
index 406eb41de1..6db1ee89f3 100644
--- a/cpukit/libmisc/capture/capture.h
+++ b/cpukit/libmisc/capture/capture.h
@@ -103,7 +103,8 @@ typedef struct rtems_capture_task_s
uint32_t last_ticks;
uint32_t last_tick_offset;
rtems_capture_control_t* control;
- struct rtems_capture_task_s* next;
+ struct rtems_capture_task_s* forw;
+ struct rtems_capture_task_s* back;
} rtems_capture_task_t;
/**
@@ -192,6 +193,16 @@ rtems_capture_open (uint32_t size,
rtems_capture_timestamp timestamp);
/**
+ * rtems_capture_free_info_on_task_delete
+ *
+ * DESCRIPTION:
+ *
+ * If non-zero task informaion if freed when a task is deleted.
+ *
+ */
+extern int rtems_capture_free_info_on_task_delete;
+
+/**
* rtems_capture_close
*
* DESCRIPTION:
@@ -458,7 +469,7 @@ rtems_capture_get_task_list ();
static inline rtems_capture_task_t*
rtems_capture_next_task (rtems_capture_task_t* task)
{
- return task->next;
+ return task->forw;
}
/**