WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] add name and pid of app that is using TLS
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Thu, 26 May 2005 15:49:15 +0000
Delivery-date: Thu, 26 May 2005 17:03:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] add name and pid of app that is using TLS, BitKeeper Bot <=