From: Yoshihiro YUNOMAE Date: Thu, 9 Aug 2012 12:31:30 +0000 (+0900) Subject: tools: Add guest trace agent as a user tool X-Git-Tag: omap-for-v3.7-rc1/fixes-hwmod-clock-signed-v3~5^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=108fc82596e3b66b819df9d28c1ebbc9ab5de14c;p=pandora-kernel.git tools: Add guest trace agent as a user tool This patch adds a user tool, "trace agent" for sending trace data of a guest to a Host in low overhead. This agent has the following functions: - splice a page of ring-buffer to read_pipe without memory copying - splice the page from write_pipe to virtio-console without memory copying - write trace data to stdout by using -o option - controlled by start/stop orders from a Host Changes in v2: - Cleanup (change fprintf() to pr_err() and an include guard) Signed-off-by: Yoshihiro YUNOMAE Acked-by: Amit Shah Signed-off-by: Rusty Russell --- Reading git-diff-tree failed