diff options
author | 2012-08-09 21:31:30 +0900 | |
---|---|---|
committer | 2012-09-28 15:05:13 +0930 | |
commit | 108fc82596e3b66b819df9d28c1ebbc9ab5de14c (patch) | |
tree | 66c051fac35849764818a47aa278d073af72b182 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | virtio/console: Allocate scatterlist according to the current pipe size (diff) | |
download | linux-dev-108fc82596e3b66b819df9d28c1ebbc9ab5de14c.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions