summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNickolay Semyonov <nbkolchin@gmail.com>2014-11-22 09:05:07 -0500
committerGedare Bloom <gedare@rtems.org>2014-11-22 09:05:07 -0500
commitb47dffc510f8e5460ac6aecad8ca84b54e9e7d64 (patch)
treeb42a57571bb9050ae6296aaa7bb0ae80229c2115
parenta62a3c32b1788f8d1dd318b5e36acc1cf16daf69 (diff)
downloadrtems-b47dffc510f8e5460ac6aecad8ca84b54e9e7d64.tar.bz2
capture: back-port conversion from task_name to task_id (see #1361)
-rw-r--r--cpukit/libmisc/capture/capture-cli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libmisc/capture/capture-cli.c b/cpukit/libmisc/capture/capture-cli.c
index 98f76764f3..d0159822f6 100644
--- a/cpukit/libmisc/capture/capture-cli.c
+++ b/cpukit/libmisc/capture/capture-cli.c
@@ -266,7 +266,7 @@ rtems_capture_cli_task_list (int argc __attribute__((un
fprintf (stdout, " ");
rtems_monitor_dump_id (rtems_capture_task_id (task));
fprintf (stdout, " ");
- rtems_monitor_dump_name (rtems_capture_task_name (task));
+ rtems_monitor_dump_name (rtems_capture_task_id (task));
fprintf (stdout, " ");
rtems_monitor_dump_priority (rtems_capture_task_start_priority (task));
fprintf (stdout, " ");
@@ -404,7 +404,7 @@ rtems_capture_cli_task_load_thread (rtems_task_argument arg __attribute__((unuse
fprintf (stdout, "\x1b[K");
rtems_monitor_dump_id (rtems_capture_task_id (tasks[i]));
fprintf (stdout, " ");
- rtems_monitor_dump_name (rtems_capture_task_name (tasks[i]));
+ rtems_monitor_dump_name (rtems_capture_task_id (tasks[i]));
fprintf (stdout, " ");
rtems_monitor_dump_priority (priority);
fprintf (stdout, " ");
@@ -1390,7 +1390,7 @@ rtems_capture_cli_trace_records (int argc,
(unsigned long) (t % 1000000));
rtems_monitor_dump_id (rtems_capture_task_id (rec->task));
fprintf (stdout, " ");
- rtems_monitor_dump_name (rtems_capture_task_name (rec->task));
+ rtems_monitor_dump_name (rtems_capture_task_id (rec->task));
fprintf (stdout, " %3" PRId32 " %3" PRId32 " %s\n",
(rec->events >> RTEMS_CAPTURE_REAL_PRIORITY_EVENT) & 0xff,
(rec->events >> RTEMS_CAPTURE_CURR_PRIORITY_EVENT) & 0xff,