Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-04-09 Thread Daniel P. Berrange
: libvir-list@redhat.com; Xinghai Yu Subject: Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt ... If you just want the ability to record a printable formatted string for probes, then I'd much rather just see us improve our logging code, so

Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-04-08 Thread yangzy.f...@cn.fujitsu.com
: Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt ... If you just want the ability to record a printable formatted string for probes, then I'd much rather just see us improve our logging code, so we can request that the libvirt logging

Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-04-08 Thread Eric Blake
On 04/08/2014 07:45 PM, yangzy.f...@cn.fujitsu.com wrote: I am looking forward to any exchange of view of whether multi-tracer framework(ftrace including) is necessary. Ping! Regards Yang Zhiyong If you can propose patches that are minimally invasive (no more than ONE additional

Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-04-01 Thread yangzy.f...@cn.fujitsu.com
trace backend function and add new ftrace backend for libvirt ... If you just want the ability to record a printable formatted string for probes, then I'd much rather just see us improve our logging code, so we can request that the libvirt logging system were able to ouput only log statements

Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-03-21 Thread Daniel P. Berrange
On Mon, Mar 10, 2014 at 08:17:21AM +, yangzy.f...@cn.fujitsu.com wrote: Backgroud: The existing trace mechanism in libvirt is dtrace. Although the dtrace can work, it's not work well enough. Every time we want get information from the trace point we must write a systemtap script and run it

Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-03-18 Thread Frank Ch. Eigler
Hi - On Tue, Mar 18, 2014 at 05:14:38AM +, yangzy.f...@cn.fujitsu.com wrote: [...] (For what it's worth, there are several different ways of executing systemtap scripts automatically at startup. There is an initscript. With the next version, its docs will move into 'man 8

Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-03-17 Thread Frank Ch. Eigler
On Mon, Mar 10, 2014 at 08:17:21AM +, yangzy.f...@cn.fujitsu.com wrote: From: Xinghai Yu yuxing...@cn.fujitsu.com [...] That's really unpractical on some occasion, especially on production server since the systemtap script can't be executed automatically. [...] (For what it's worth,

Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-03-17 Thread yangzy.f...@cn.fujitsu.com
[...] (For what it's worth, there are several different ways of executing systemtap scripts automatically at startup. There is an initscript. With the next version, its docs will move into 'man 8 systemtap', and grows a new 'onboot' option, to modules load even earlier at initramfs time via

Re: [libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-03-12 Thread Daniel P. Berrange
On Mon, Mar 10, 2014 at 08:17:21AM +, yangzy.f...@cn.fujitsu.com wrote: From: Xinghai Yu yuxing...@cn.fujitsu.com This patch set will let libvirt to support multiple trace backend function and add a new 'ftrace' backend at the same time. Then, libvirt would have 2 trace backend: dtrace,

[libvirt] [PATCH 00/13] Add multiple trace backend function and add new ftrace backend for libvirt

2014-03-10 Thread yangzy.f...@cn.fujitsu.com
From: Xinghai Yu yuxing...@cn.fujitsu.com This patch set will let libvirt to support multiple trace backend function and add a new 'ftrace' backend at the same time. Then, libvirt would have 2 trace backend: dtrace, ftrace.They can be used alone or together. Patchs 1,2,3,4,5 are used for