summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-064-6/+7
| | | | | | | | | | | * libmisc/monitor/mon-network.c: Include <rtems/monitor.h>. * libmisc/monitor/mon-object.c: Make rtems_monitor_object_canonical_next_remote, rtems_monitor_object_dump_1, rtems_monitor_object_dump_all static. * libmisc/monitor/mon-prmisc.c: Make rtems_monitor_dump_assoc_bitfield static. * libmisc/monitor/mon-symbols.c: Make rtems_monitor_symbol_dump_all static.
* 2011-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-11-281-1/+1
| | | | | | | | PR 1941/cpukit * libmisc/monitor/mon-server.c, score/include/rtems/system.h: Remove use of RTEMS_offset() in favor of standard offsetof(). This was undocumented and there was only one internal use. Change noted in 4.11 release notes.
* 2011-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-261-3/+1
| | | | | * libmisc/monitor/mon-monitor.c (rtems_monitor_wakeup): Remove unused var "status" (Avoid warning).
* 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-171-1/+4
| | | | | * libmisc/monitor/mon-editor.c (rtems_monitor_task): Comment out unused vars "debugee", "rp", "fp".
* 2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-021-21/+5
| | | | | * libmisc/monitor/mon-monitor.c: Removed "exit" and "quit" commands to avoid confusion. They were an alias to the "fatal" command.
* 2011-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-211-4/+4
| | | | | | * libfs/src/dosfs/fat_file.c, libmisc/monitor/monitor.h, score/cpu/m68k/rtems/score/cpu.h: Remove stray spaces from unsigned32 to uint32_t conversion.
* 2011-03-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-071-1/+1
| | | | | * include/rtems/irq-extension.h: Documentation. * libmisc/monitor/mon-prmisc.c: Fix for multiprocessing configuration.
* 2010-11-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-11-191-26/+29
| | | | * libmisc/monitor/mon-monitor.c: Fixed broken monitor command list.
* 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-11-161-19/+20
| | | | | * libmisc/monitor/mon-monitor.c: Move node code into multiprocessing ifdef.
* 2010-08-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-261-4/+4
| | | | | * libmisc/monitor/mon-symbols.c: Fix length of buffer passed to strncpy() so there is room for a NULL terminator.
* 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-06-211-1/+1
| | | | | | PR 1559/misc Coverity Id 16 * libmisc/monitor/mon-editor.c: Fix buffer overflow.
* Use rtems_monitor_dump_addr instead of rtems_monitor_dump_hexRalf Corsepius2010-04-122-2/+2
| | | | to print addresses.
* Add rtems_monitor_dump_addr().Ralf Corsepius2010-04-122-0/+7
|
* 16bit target fixes.Ralf Corsepius2010-04-121-1/+1
|
* 2010-04-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-04-072-7/+7
| | | | | * libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add const to fix warning. Spacing.
* 2010-04-05 Thomas Znidar <t.znidar@embed-it.com>Joel Sherrill2010-04-052-3/+22
| | | | | * libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h: Add reset command.
* Add HAVE_STRINGS_H for better POSIX compliance.Ralf Corsepius2010-03-271-0/+3
|
* Add HAVE_CONFIG_H support to let files receive configure defines.Ralf Corsepius2010-03-271-0/+4
|
* 2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-121-1/+1
| | | | | | | | | | | | | | | | | | | * ftpd/ftpd.c, httpd/asp.c, httpd/ejparse.c, httpd/emfdb.c, httpd/misc.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_misc.c, libfs/src/nfsclient/src/nfs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/shell/shell.c, libmisc/shell/shell_makeargs.c, libmisc/uuid/parse.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/inet_network.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c, libnetworking/libc/res_query.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Readdress use of ctype methods per recommendation from D.J. Delorie on the newlib mailing list. We should pass an unsigned char into these methods.
* 2010-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-111-1/+1
| | | | | | | | | | | | * ftpd/ftpd.c, httpd/uemf.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libblock/src/diskdevs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/uuid/parse.c, libnetworking/lib/ftpfs.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_network.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Fix warnings for ctype methods.
* 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-01-191-0/+1
| | | | | Coverity Id 23 * libmisc/monitor/mon-monitor.c: Add fclose() of file.
* Whitespace removal.Ralf Corsepius2009-11-298-53/+53
|
* Whitespace removal.Ralf Corsepius2009-11-291-1/+1
|
* 2009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-141-18/+1
| | | | * libmisc/monitor/mon-editor.c: Eliminate RTEMS_UNIX.
* 2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-021-1/+4
| | | | | * libmisc/monitor/mon-driver.c: Fix warning if defined(RTEMS_USE_16_BIT_OBJECT).
* 2009-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-10-021-0/+4
| | | | | * libmisc/monitor/mon-prmisc.c: Fix warning if defined(RTEMS_USE_16_BIT_OBJECT).
* Add __attribute__((unused)) to unused function args.Ralf Corsepius2009-01-0214-41/+43
|
* 2008-12-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-12-194-56/+83
| | | | | | | | * libblock/src/ide_part_table.c: Fixed NULL pointer access. * libmisc/monitor/mon-command.c, libmisc/monitor/mon-editor.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h, libmisc/shell/cmds.c: The list of registered monitor commands is now private and only accessible via a lookup and iterate function.
* 2008-12-18 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-12-187-838/+829
| | | | | | | | | | | | | | | | | | | | | | * libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h: Fixed incompatible return value. * libmisc/cpuuse/cpuusagereport.c: Changed output format. * libmisc/Makefile.am, libmisc/monitor/mon-editor.c: New file. * libmisc/capture/capture-cli.c, libmisc/monitor/mon-command.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/shell/cat_file.c, libmisc/shell/cmds.c, libmisc/shell/internal.h, libmisc/shell/main_help.c, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/shell/shell_cmdset.c, libmisc/shell/shell_getchar.c, libmisc/shell/str2int.c: Various global data is now read only. Added 'const' qualifier to many pointer parameters. It is no longer possible to remove monitor commands. Moved monitor line editor into a separate file to avoid unnecessary dependencies.
* 2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-161-1/+1
| | | | | * libmisc/monitor/mon-config.c: Configuration table entry work_space_size was not removed.
* 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-12-154-9/+8
| | | | | | | | | | | | | | | | | | | | | | * itron/include/rtems/itron/itronapi.h, libmisc/capture/capture.c, libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-mpci.c, posix/include/rtems/posix/config.h, posix/include/rtems/posix/posixapi.h, rtems/include/rtems/rtems/config.h, rtems/include/rtems/rtems/rtemsapi.h, rtems/src/taskinitusers.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/init.h, sapi/src/exinit.c, sapi/src/itronapi.c, sapi/src/posixapi.c, sapi/src/rtemsapi.c, score/src/isr.c, score/src/thread.c, score/src/threadcreateidle.c, score/src/threadstackallocate.c, score/src/threadstackfree.c, score/src/wkspace.c: Eliminate pointers to API configuration tables in the main configuration table. Reference the main configuration table and the API configuration tables directly using the confdefs.h version rather than obtaining a pointer to it. This eliminated some variables, a potential fatal error, some unnecessary default configuration structures. Overall, about a 4.5% reduction in the code size for minimum and hello on the SPARC.
* 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-10-021-2/+2
| | | | | | * libmisc/monitor/mon-monitor.c, rtems/include/rtems/rtems/types.h: Do not have fp context type when no hardware or software floating point is available.
* 2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-09-084-5/+5
| | | | | | | | | | | | * libcsupport/include/rtems/libio_.h, libcsupport/src/libio_sockets.c, libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h, libfs/src/imfs/deviceio.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/stackchk/internal.h, rtems/inline/rtems/rtems/part.inl, score/include/rtems/system.h, score/include/rtems/score/bitfield.h, score/src/mpci.c, score/src/objectextendinformation.c, score/src/threadmp.c: Remove extraneous spaces.
* Add missing initializers.Ralf Corsepius2008-09-071-63/+63
|
* Convert to using "bool".Ralf Corsepius2008-09-0116-73/+73
|
* Use memset instead of bzero.Ralf Corsepius2008-08-211-4/+4
|
* Include "config.h".Ralf Corsepius2008-08-214-0/+16
|
* 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-08-181-1/+0
| | | | | | | | * libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c, libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c, libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h, libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix warnings.
* 2008-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-081-15/+15
| | | | | | | | * libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h, score/include/rtems/score/thread.h, score/src/threadreset.c, score/src/threadrestart.c, score/src/threadstart.c: New type Thread_Entry_numeric_type for numeric arguments in thread entry functions with at least one numeric argument.
* 2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2008-08-052-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c: Changed option set type to rtems_option. * score/src/objectgetinfo.c: Check return value of _Objects_API_maximum_class(). * libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h, rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c, rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c, rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c, rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h, score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h, score/inline/rtems/score/coremsg.inl, score/src/coremsg.c, score/src/coremsgbroadcast.c, score/src/coremsgseize.c, score/src/coremsgsubmit.c: Removed parameters of _Message_queue_Allocate(). Changed option set type to rtems_option. Changed type of maximum message and packet size to size_t. Changed the input buffer type for message send functions to "const void *". Changed the pointer to the second return argument in the thread wait information to a union. This union can contain a pointer to an immutable or a mutable object. This is somewhat fragile. An alternative would be to add a third pointer for immutable objects, but this would increase the structure size.
* Add missing prototypes.Ralf Corsepius2008-08-021-3/+2
|
* 2008-07-29 Tim Cussins <timcussins@eml.cc>Joel Sherrill2008-07-291-0/+2
| | | | | * ChangeLog, libmisc/monitor/mon-object.c: Add mising RTEMS_POSIX_API conditional.
* Remove stray arg from function call.Ralf Corsepius2008-07-291-1/+1
|
* Add missing prototypes.Ralf Corsepius2008-07-292-2/+2
|
* 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-239-51/+25
| | | | | | | | | | | * libmisc/monitor/mon-extension.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-part.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c, libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c, libmisc/monitor/mon-task.c, libmisc/monitor/monitor.h: Use rtems_object_get_name() instead of internal routine. This makes it possible to also print string names of POSIX objects. Adjust task report to realign since we can have longer names.
* 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-173-2/+27
| | | | | | | | | * libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/monitor.h, libmisc/shell/main_chmod.c, libmisc/shell/main_tty.c, libmisc/shell/main_umask.c, libmisc/shell/main_whoami.c: Add pthread command to monitor when POSIX is enabled. Remove include of rtems/monitor.h from files not related.
* 2008-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-011-4/+10
| | | | | * libmisc/monitor/mon-prmisc.c, rtems/include/rtems/rtems/attr.h: Review association tables in monitor.
* 2008-06-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-06-061-1/+1
| | | | | | | | | | | | | * libcsupport/src/__times.c, libmisc/cpuuse/cpuusagereport.c, libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-task.c, rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c, rtems/src/ratemonperiod.c, score/include/rtems/score/thread.h, score/src/threaddispatch.c, score/src/threadinitialize.c, score/src/threadtickletimeslice.c: Add typedefs for cpu usage and period timing statistics. Also renamed related variables and structure members so they are the same whether you are using nanosecond (e.g. struct timespec) or ticks (e.g. uint32_t) granularity. This lays the groundwork for future cleanup.
* 2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-297-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * itron/src/exd_tsk.c, itron/src/task.c, libmisc/capture/capture.c, libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-symbols.c, posix/src/cancelrun.c, posix/src/pthreadexit.c, rtems/Makefile.am, rtems/preinstall.am, rtems/include/rtems.h, rtems/include/rtems/rtems/support.h, rtems/inline/rtems/rtems/tasks.inl, rtems/src/eventmp.c, rtems/src/msgmp.c, rtems/src/partmp.c, rtems/src/regionmp.c, rtems/src/rtemsobjectgetname.c, rtems/src/semmp.c, rtems/src/signalmp.c, rtems/src/taskdelete.c, rtems/src/taskmp.c, rtems/src/timerserver.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/Unlimited.txt, score/src/objectgetnameasstring.c, score/src/threadqextractwithproxy.c: Add new Object Services collection. This changed the name of a few previously public but undocumented services and added a some new services. * rtems/include/rtems/rtems/object.h, rtems/src/rtemsbuildid.c, rtems/src/rtemsbuildname.c, rtems/src/rtemsobjectapimaximumclass.c, rtems/src/rtemsobjectapiminimumclass.c, rtems/src/rtemsobjectgetapiclassname.c, rtems/src/rtemsobjectgetapiname.c, rtems/src/rtemsobjectgetclassicname.c, rtems/src/rtemsobjectgetclassinfo.c, rtems/src/rtemsobjectidapimaximum.c, rtems/src/rtemsobjectidapiminimum.c, rtems/src/rtemsobjectidgetapi.c, rtems/src/rtemsobjectidgetclass.c, rtems/src/rtemsobjectidgetindex.c, rtems/src/rtemsobjectidgetnode.c, rtems/src/rtemsobjectsetname.c, score/src/objectapimaximumclass.c, score/src/objectgetinfo.c, score/src/objectgetinfoid.c, score/src/objectsetname.c: New files. * rtems/src/rtemsidtoname.c: Removed.
* 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-01-231-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * itron/include/rtems/itron/object.h, itron/src/cre_tsk.c, libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c, libmisc/capture/capture.c, libmisc/monitor/mon-manager.c, libmisc/stackchk/check.c, posix/src/condinit.c, posix/src/keycreate.c, posix/src/mqueuecreatesupp.c, posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c, posix/src/mqueueopen.c, posix/src/mqueueunlink.c, posix/src/mutexinit.c, posix/src/pbarrierinit.c, posix/src/prwlockinit.c, posix/src/pspininit.c, posix/src/pthreadcreate.c, posix/src/pthreadexit.c, posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c, posix/src/timercreate.c, rtems/src/barrierident.c, rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c, rtems/src/ratemonident.c, rtems/src/regionident.c, rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c, sapi/src/extensionident.c, score/Makefile.am, score/include/rtems/score/object.h, score/inline/rtems/score/object.inl, score/src/apimutexallocate.c, score/src/objectextendinformation.c, score/src/objectgetnameasstring.c, score/src/objectmp.c, score/src/objectnametoid.c: Convert the Objects_Name type from a simple type to a union of an unsigned 32 bit integer and a pointer. This should help eliminate weird casts between u32 and pointers in various places. The APIs now have to explicitly call _u32 or _string versions of helper routines. This should also simplify things and eliminate the need for ugly casts in some cases. * score/src/objectclearname.c, score/src/objectcomparenameraw.c, score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c, score/src/objectcopynamestring.c: Removed.