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

Re: [PATCH] Log module loading


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Durrant <xadimgnik@xxxxxxxxx>
  • Date: Mon, 12 Jul 2021 20:00:05 +0100
  • Delivery-date: Mon, 12 Jul 2021 19:00:11 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 07/07/2021 09:54, Martin Harvey wrote:
From: Paul Durrant <paul.durrant@xxxxxxxxxx>

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
  src/xen/module.c | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/src/xen/module.c b/src/xen/module.c
index 584a63d..9c4a5ea 100644
--- a/src/xen/module.c
+++ b/src/xen/module.c
@@ -145,6 +145,11 @@ ModuleAdd(
      BOOLEAN             After;
      NTSTATUS            status;
+ Info("%p - %p [%s]\n",

Not necessarily sure we want to log at this level in the general case. I think it would be reasonable for this to be a debug log line.

  Paul

+         Start,
+         Start + Size - 1,
+         Name);
+
      New = __ModuleAllocate(sizeof (MODULE));
status = STATUS_NO_MEMORY;





 


Rackspace

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