diff options
author | Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com> | 2012-08-09 14:31:30 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-09-28 07:35:13 +0200 |
commit | 108fc82596e3b66b819df9d28c1ebbc9ab5de14c (patch) | |
tree | 66c051fac35849764818a47aa278d073af72b182 /crypto | |
parent | virtio/console: Allocate scatterlist according to the current pipe size (diff) | |
download | linux-108fc82596e3b66b819df9d28c1ebbc9ab5de14c.tar.xz linux-108fc82596e3b66b819df9d28c1ebbc9ab5de14c.zip |
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 <yoshihiro.yunomae.ez@hitachi.com>
Acked-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions