All of lore.kernel.org
 help / color / mirror / Atom feed
* valgrind support for xen4.7+
@ 2017-04-12  5:04 Glenn Enright
  2017-04-12  9:25 ` Wei Liu
  2017-07-05  6:59 ` Olaf Hering
  0 siblings, 2 replies; 3+ messages in thread
From: Glenn Enright @ 2017-04-12  5:04 UTC (permalink / raw)
  To: xen-devel

Hi there

Has anyone seen or been working on patches for valgrind for recent 
versions of xen?

I was trying 3.13 from SVN against xen 4.7.2 and see that support for 
that version is not present. Per 
https://blog.xenproject.org/2013/01/18/using-valgrind-to-debug-xen-toolstacks/

A starter patch is below, but its probably wrong or incomplete. It does 
let me run

If valgrind is not the way any more, can anyone suggest any alternatives 
on testing for memory leaks?

Regards, Glenn
http://rimuhosting.com

Index: coregrind/m_syswrap/syswrap-xen.c
===================================================================
--- coregrind/m_syswrap/syswrap-xen.c   (revision 16301)
+++ coregrind/m_syswrap/syswrap-xen.c   (working copy)
@@ -584,6 +584,7 @@
     case 0x00000009:
     case 0x0000000a:
     case 0x0000000b:
+   case 0x0000000d:
            break;
     default:
        bad_intf_version(tid, layout, arrghs, status, flags,
@@ -626,6 +627,7 @@
          break;
        case 0x0000000a:
        case 0x0000000b:
+      case 0x0000000d:
          PRE_XEN_SYSCTL_READ(getdomaininfolist_0000000a, first_domain);
          PRE_XEN_SYSCTL_READ(getdomaininfolist_0000000a, max_domains);
          PRE_XEN_SYSCTL_READ(getdomaininfolist_0000000a, buffer);

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-05  6:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-12  5:04 valgrind support for xen4.7+ Glenn Enright
2017-04-12  9:25 ` Wei Liu
2017-07-05  6:59 ` Olaf Hering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.