ia64/xen-unstable

changeset 5169:fc10e6241938

bitkeeper revision 1.1562.1.1 (4295effbUWTVBipGBrKsyDh6-2FoaQ)

add name and pid of app that is using TLS

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author vh249@arcadians.cl.cam.ac.uk
date Thu May 26 15:49:15 2005 +0000 (2005-05-26)
parents 98ec71a98df7
children 0e347f03a68c
files linux-2.6.11-xen-sparse/arch/xen/kernel/fixup.c
line diff
     1.1 --- a/linux-2.6.11-xen-sparse/arch/xen/kernel/fixup.c	Thu May 26 12:51:47 2005 +0000
     1.2 +++ b/linux-2.6.11-xen-sparse/arch/xen/kernel/fixup.c	Thu May 26 15:49:15 2005 +0000
     1.3 @@ -35,6 +35,7 @@
     1.4  #include <linux/delay.h>
     1.5  #include <linux/version.h>
     1.6  
     1.7 +#define DA(_f, args...) printk(KERN_ALERT "  " _f "\n", args)
     1.8  #define DP(_f) printk(KERN_ALERT "  " _f "\n")
     1.9  
    1.10  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
    1.11 @@ -56,6 +57,7 @@
    1.12          DP("");
    1.13          DP("***************************************************************");
    1.14          DP("***************************************************************");
    1.15 +        DA("** process using TLS: %16s (pid: %5d)          **", current->comm, current->tgid);
    1.16          DP("** WARNING: Currently emulating unsupported memory accesses  **");
    1.17          DP("**          in /lib/tls libraries. The emulation is very     **");
    1.18          DP("**          slow. To ensure full performance you should      **");