Changes v1.5 from v1.4 Summary: Merge patches for IPF(IA64). Add watchdog tools. Make makefile more useful. Add overwritten detection event. Add -S option to lkstbuf print. Modify default maskset. Fix some bugs. Details: * Tue 5 Aug 2003 M.Hiramatsu (1.5) - fix a mistake about version control. * Fri 1 Aug 2003 M.Hiramatsu - backport bugfix from develop branch. * Wed 30 Jul 2003 M.Hiramatsu - fix command/lkcdutils.spec.in * Tue 29 Jul 2003 M.Hiramatsu - change addons/Makefile.in. * Mon 28 Jul 2003 M.Hiramatsu - change default configuration. - change embeded maskset to shift buffers. - add defattr to lkcdutils.spec - fix command/Makefile.in to remove CVS directory from package. * Thu 24 Jul 2003 M.Hiramatsu - fix some comments. * Fri 18 Jul 2003 M.Hiramatsu - fix CSV format bug in command/buffer.c * Wed 16 Jul 2003 M.Hiramatsu - branch ver 1.5 - add a description about linux-2419-rh9.patch to Install.(reported by Katsuhisa Ogasawara) - backport Makefile from development branch. you can use "config" and "config-lkcd" target and can specify "LKCD=no" option. * Tue 8 Jul 2003 M.Hiramatsu - split ktask.c (associated with task_struct) from taskdump.c - (1.5rc3-final) * Fri 4 Jul 2003 M.Hiramatsu - add rules "all" & "configure" to Makefile in top directory. * Tue 3 Jul 2003 M.Hiramatsu - add lkst_mod_watchdog_log.[ch] in addons/watchdog. - move lkstha.c to addons/watchdog/lkstdogkeeper.[ch] - add taskdump.c in addons/watchdog (currently, this is just an example code) - add -S option to lkstbuf command. * Tue 17 Jun 2003 M.Hiramatsu - add lkstha.c in command (is created by Satoshi Oshima) * Sat 14 Jun 2003 M.Hiramatsu - include linux/init.h in lkst_kernel.c for initcalls. - avoid to fail to rebuild the lkstutils rpm package as non-root user. - add kernel-2419-rh9.patch for RedHat9 * Fri 13 Jun 2003 M.Hiramatsu - fix kernelhooks to be able to compile on over 4GB IA32 machine. * Mon 9 Jun 2003 M.HIramatsu - change lkst_mod_event_count.c not to set new maskset when user specifies invalid maskset id to the maskset_id_base parameter. - fix the type of a module parameter variable in lkst_mod_event_count.c. - fix a buf in lksteh.c (forgot to add -n option to a parameter of getopt().) * Thu 5 Jun 2003 M.Hiramatsu (1.5rc3) - add lkst_mod_log_onebuffer.c in addons. * Wed 4 Jun 2003 M.Hiramatsu - fix possibility to read a fake processor-id while reading log entries. - add (reuse?) LKST_ETYPE_LKST_OVWTN_REC to notify over-written. when you may see this event in the log that read from lkst, some events would be overwritten by new events while reading. - fix macro definitions. * Thu 8 May 2003 M.Hiramatsu (1.5rc2) - add customized lkcdutils.spec to extra-patches. - add "--enable-lkcd" option to lkstutils' configure file (and, on ia64, this is disabled, otherwise, selectable). - fix a bug in lkst.init script. - fix lksteh to detect EOF correctly. * Wed 7 May 2003 M.Hiramatsu - fix a bug in lkst.c (forgot to suit to modified interface) * Mon 28 Apr 2003 M.Hiramatsu (1.5rc1) - modify lkstbuf to enable to specify cpu with list operation. * Sun 27 Apr 2003 M.Hiramatsu - fix commands to check bordary condition. * Thu 24 Apr 2003 M.Hiramatsu - fix some rules in Makefile. - fix a bug that always display "arg1=" in buffer.c * Wed 23 Apr 2003 M.Hiramatsu - update lkst_mod_event_count* to be able to extend limit to 64bits. - add --limit option to lkst_mod_event_count_read command. * Mon 21 Apr 2003 M.Hiramatsu - add CONFIG_DEBUG_LKST_DONOT_EXPAND_ARGBITS option (on i386 arch). * Wed 2 Apr 2003 M.Hiramatsu - move the definition of syscall entry/exit event to asm/lkst_events.h - fix arguments of syscall events on IA64 (fit to comment.) * Thu 1 Apr 2003 M.Hiramatsu - fix including position of asm/atomic.h in linux/lkst_private.h - fix compile error on IA64 (by packaging miss). - fix some bugs in lkcdutils on IA64. !NOTE!: It was changed from original lkcdutils. bug-fix patch is extra-patch/lkcdutils-1.4-fix-ia64.patch. If you use original package of lkcdutils on IA64, please apply this patch. * Mon 31 Mar 2003 M.Hiramatsu - add extra-patch for RedHat 8 - merge IA64 specific code to kernelhooks' patch. - fix cpu_online_map declaration code in include/asm-i386/smp.h for LKCD. - move lkst_mod_light.c module into addons/i386/ . * Sat 29 Mar 2003 M.Hiramatsu - fix a bug in root Makefile. - fix addons to fit new buffer structure. * Fri 28 Mar 2003 M.Hiramatsu - make commands "-Wall" clean. - add root Makefile just for packaging.(You can do "make dist" to make package and do "make distclean" to cleanup ) - fix addons/Makefile to be able to make on IA64. * Thu 27 Mar 2003 M.Hiramatsu - cleanup sources of linux/lkst*.h - include required headers in command/command.h - Almost all features are working fine in IA64, at this point. * Wed 26 Mar 2003 M.Hiramatsu - change temporary buffer size to 128 entries (in each archs). * Tue 25 Mar 2003 M.Hiramatsu - add LKST_FMT_* macros for using printk. - cleanup warnings. * Mon 24 Mar 2003 M.Hiramatsu - fix using LKST_ARGP for pointers instead of LKST_ARG in asm-i386/spinlock.h - remove _pad and body fields from lkst_event_buffer data structure. - add LKST_BUFFER_BODY macro. - define LKST_BUFFER_PAGE_BYTE as PAGE_SIZE, instead of 4096. - rename "_reserved0" field of lkst_event_record structure to "processor". * Thu 13 Mar 2003 M.Hiramatsu - use lkst_mem_area_init() instead of lkst_dummy_vmalloc(). - add constance LKST_AVAILABLE_MEMORY_MAX. - merge the codes for IA64(in other word, IPF) and for IA32. (It is not working on IA64, at this point.) - split definitions of architecture dependant events to asm/lkst_events.h. (related to exceptions and Oops events, only) - "lkstbuf print" displays cpu number from dumped buffer image. (pointed by AKIYAMA Nobuyuki) * Wed 12 Mar 2003 M.Hiramatsu - change almost all arguments of LKST_HOOK* to LKST_ARG/LKST_ARGP from LKST_ARG32. (order of bytes of arguments is changed. this is a bug fix, because previous format is wrong.) - fix some arguments of LKST_ETYPE_EXCEPTION_ENTRY. - remove LKST_ETYPE_SYSV_IPC event. - add LKST_ETYPE_SYSV_IPC_SEMOP, LKST_ETYPE_SYSV_IPC_SEMGET, LKST_ETYPE_SYSV_IPC_SEMCTL, LKST_ETYPE_SYSV_IPC_MSGSEND, LKST_ETYPE_SYSV_IPC_MSGRCV, LKST_ETYPE_SYSV_IPC_MSGGET, LKST_ETYPE_SYSV_IPC_MSGCTL, LKST_ETYPE_SYSV_IPC_SHMAT, LKST_ETYPE_SYSV_IPC_SHMDT, LKST_ETYPE_SYSV_IPC_SHMGET, and LKST_ETYPE_SYSV_IPC_SHMCTL events, instead of LKST_ETYPE_SYSV_IPC. * Mon 10 Mar 2003 M.Hiramatsu - add bits of padding in the lkst_header data structure. - (memo) I think that the currently usage of LKST_ARG32() is too ugly to use. It must be replaced with LKST_ARG() macro, that defined as (lkst_arg_t)(v). - some members of structures are moved (for alignment). need to recomile commands!