From: Peter O. <obe...@us...> - 2004-07-02 11:57:44
|
Update of /cvsroot/ltp/utils/analysis/gcov-kernel/base/include/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8406/base/include/linux Modified Files: gcov.h Log Message: gcov-kernel: - modified assemble script to generate patches which contain the current date (for patch versioning) - modified assemble script to warn/abort when encountering patch failures - modified gcov-core to use semaphore instead of spinlock - this was necessary because calling malloc while holding a lock might result in a deadlock - modified gcov-proc to skip empty path components when generating a proc file system entry - modified gcov kernel messages when initializing/unloading - updated i386 sub patch for linux 2.6.4 (the old one did not apply cleanly) - added missing parts to the ppc/ppc64 sub patches (fix provided by nhinds) Index: gcov.h =================================================================== RCS file: /cvsroot/ltp/utils/analysis/gcov-kernel/base/include/linux/gcov.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** gcov.h 1 Apr 2004 09:16:53 -0000 1.1 --- gcov.h 2 Jul 2004 11:57:04 -0000 1.2 *************** *** 28,32 **** #include <linux/module.h> ! #include <linux/spinlock.h> #include <asm/types.h> --- 28,32 ---- #include <linux/module.h> ! #include <asm/semaphore.h> #include <asm/types.h> *************** *** 176,180 **** extern const char *gcov_sourcepath; extern const char *gcov_objectpath; ! extern spinlock_t gcov_core_lock; extern void do_global_ctors(const char *, const char *, struct module *); --- 176,180 ---- extern const char *gcov_sourcepath; extern const char *gcov_objectpath; ! extern struct semaphore gcov_core_lock; extern void do_global_ctors(const char *, const char *, struct module *); |