[rtems-schedsim commit] shared: Fix bug in cpu checking of dump all cpus method.

Jennifer Averett jennifer at rtems.org
Fri May 23 14:47:05 UTC 2014


Module:    rtems-schedsim
Branch:    master
Commit:    b6f52660e72c03810da270528bec046e914f09ef
Changeset: http://git.rtems.org/rtems-schedsim/commit/?id=b6f52660e72c03810da270528bec046e914f09ef

Author:    Jennifer Averett <jennifer.averett at oarcorp.com>
Date:      Thu May 22 15:22:15 2014 -0500

shared: Fix bug in cpu checking of dump all cpus method.

---

 schedsim/shell/shared/main_dump_all_cpus.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/schedsim/shell/shared/main_dump_all_cpus.c b/schedsim/shell/shared/main_dump_all_cpus.c
index 5f55298..2e1f108 100644
--- a/schedsim/shell/shared/main_dump_all_cpus.c
+++ b/schedsim/shell/shared/main_dump_all_cpus.c
@@ -65,9 +65,6 @@ int main_dump_all_cpus(int argc, char **argv)
     if ( argv[cpu + 1][ 0 ] == '-' )
       continue;
 
-    if ( lookup_task( argv[cpu + 1], &id ) )
-      return -1;
-
     if ( !strcmp( argv[cpu + 1], "IDLE" )) {
       /* XXX should do something cleaner for the ID mask */
       if ( (e->Object.id & 0xFFFF0000) != 0x09010000 ) {




More information about the vc mailing list