From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: [PATCH 12/21] xenpaging: print xenpaging cmdline options Date: Fri, 26 Nov 2010 14:49:13 +0100 Message-ID: <20101126134905.511287469@aepfle.de> References: <20101126134901.384130351@aepfle.de> Return-path: Content-Disposition: inline; filename=xen-unstable.xenpaging.print-arguments.patch List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Print xenpaging arguments to simplify domain_id mapping from xenpaging logfile to other logfiles and Xen console output. Signed-off-by: Olaf Hering --- tools/xenpaging/xenpaging.c | 2 ++ 1 file changed, 2 insertions(+) --- xen-unstable.hg-4.1.22433.orig/tools/xenpaging/xenpaging.c +++ xen-unstable.hg-4.1.22433/tools/xenpaging/xenpaging.c @@ -532,6 +532,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);