[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] add name and pid of app that is using TLS



ChangeSet 1.1562.1.1, 2005/05/26 16:49:15+01:00, vh249@xxxxxxxxxxxxxxxxxxxxxx

        add name and pid of app that is using TLS
        
        Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>



 fixup.c |    2 ++
 1 files changed, 2 insertions(+)


diff -Nru a/linux-2.6.11-xen-sparse/arch/xen/kernel/fixup.c 
b/linux-2.6.11-xen-sparse/arch/xen/kernel/fixup.c
--- a/linux-2.6.11-xen-sparse/arch/xen/kernel/fixup.c   2005-05-26 13:03:44 
-04:00
+++ b/linux-2.6.11-xen-sparse/arch/xen/kernel/fixup.c   2005-05-26 13:03:44 
-04:00
@@ -35,6 +35,7 @@
 #include <linux/delay.h>
 #include <linux/version.h>
 
+#define DA(_f, args...) printk(KERN_ALERT "  " _f "\n", args)
 #define DP(_f) printk(KERN_ALERT "  " _f "\n")
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
@@ -56,6 +57,7 @@
         DP("");
         DP("***************************************************************");
         DP("***************************************************************");
+        DA("** process using TLS: %16s (pid: %5d)          **", current->comm, 
current->tgid);
         DP("** WARNING: Currently emulating unsupported memory accesses  **");
         DP("**          in /lib/tls libraries. The emulation is very     **");
         DP("**          slow. To ensure full performance you should      **");

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.