xen/xenpaging.print-arguments.patch

23 lines
675 B
Diff
Raw Normal View History

Subject: xenpaging: print xenpaging cmdline options
Print xenpaging arguments to simplify domain_id mapping from xenpaging
logfile to other logfiles and Xen console output.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
tools/xenpaging/xenpaging.c | 2 ++
1 file changed, 2 insertions(+)
--- xen-4.0.1-testing.orig/tools/xenpaging/xenpaging.c
+++ xen-4.0.1-testing/tools/xenpaging/xenpaging.c
@@ -538,6 +538,8 @@ int main(int argc, char *argv[])
return 1;
}
+ DPRINTF("starting %s %u %d\n", argv[0], domain_id, num_pages);
+
/* Open file */
sprintf(filename, "page_cache_%d", domain_id);
fd = open(filename, open_flags, open_mode);