-Original Message-
From: libvir-list-boun...@redhat.com
[mailto:libvir-list-boun...@redhat.com] On Behalf Of
yangzy.f...@cn.fujitsu.com
Sent: Tuesday, April 01, 2014 5:28 PM
To: libvir-list@redhat.com
Subject: Re: [libvirt] [PATCH 00/13] Add multiple trace backend function
-Original Message-
From: libvir-list-boun...@redhat.com
[mailto:libvir-list-boun...@redhat.com] On Behalf Of Daniel P. Berrange
Sent: Saturday, March 22, 2014 12:37 AM
To: Yang, Zhiyong/杨 志勇
Cc: libvir-list@redhat.com; Xinghai Yu
Subject: Re: [libvirt] [PATCH 00/13] Add multiple
[...]
(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
From: Xinghai Yu yuxing...@cn.fujitsu.com
Add the new multiple trace backend framework, and the 'Dtrace' should
be one of the trace backends libvirt supporting.
Using the macro exported by configure.ac to decide which trace backend
to build for libvirt.
We got 2 trace macros below:
From: Xinghai Yu yuxing...@cn.fujitsu.com
Define new 'WITH_TRACE_PROBES' macros which indicate the trace
function are available and this macro will be used in Makefile.am and
source codes.
Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com
---
config-post.h | 2 +-
configure.ac | 4
2
From: Xinghai Yu yuxing...@cn.fujitsu.com
This 'tracetool' is used for converting the tracepoint format file to
all other files we need to supporting dtrace, ftrace or them together.
Signed-off-by: Yang Zhiyong yangzy.f...@cn.fujitsu.com
Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com
Cc
From: Xinghai Yu yuxing...@cn.fujitsu.com
Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com
---
src/locking/lock_daemon.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/locking/lock_daemon.c b/src/locking/lock_daemon.c
index e047751..2de5331 100644
---
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
From: Xinghai Yu yuxing...@cn.fujitsu.com
Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com
---
src/libvirt.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/libvirt.c b/src/libvirt.c
index a385935..5d519d4 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -69,6 +69,10 @@
From: Xinghai Yu yuxing...@cn.fujitsu.com
Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com
---
src/security/virt-aa-helper.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index e7f1359..fa8894f 100644
---
From: Xinghai Yu yuxing...@cn.fujitsu.com
Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com
---
src/qemu/qemu_driver.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 9aad2dc..6c5299f 100644
--- a/src/qemu/qemu_driver.c
+++
From: Xinghai Yu yuxing...@cn.fujitsu.com
Remove the macro PROBE's definition in 'internal.h' and repalce
the old 'PROBE' calls with new tracepoint function in source codes.
Preprocess judgement by 'WITH_TRACE_PROBES' is to avoid the
undefined errors which come from 'virt-login-shell' which
From: Xinghai Yu yuxing...@cn.fujitsu.com
Using the macro exported by configure.ac to decide which trace backend
to build for libvirt.
We got 3 trace macros now:
WITH_TRACE_PROBES, if --with-ftrace or --with-dtrace option was set, this
macro would be true and it tell the codes that we will use
From: Xinghai Yu yuxing...@cn.fujitsu.com
Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com
---
src/lxc/lxc_controller.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c
index 5ca960f..e726afd 100644
--- a/src/lxc/lxc_controller.c
From: Xinghai Yu yuxing...@cn.fujitsu.com
In order to support multiple trace backend, we have to quit the existing
dtrace points definition files for they are only used by dtrace and their
format are not easy to use for supporting multiple trace backend.
The new tracepoint format files can
From: Xinghai Yu yuxing...@cn.fujitsu.com
Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com
---
src/util/iohelper.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/util/iohelper.c b/src/util/iohelper.c
index 9610063..3b33c07 100644
--- a/src/util/iohelper.c
+++
From: Xinghai Yu yuxing...@cn.fujitsu.com
Signed-off-by: Xinghai Yu yuxing...@cn.fujitsu.com
---
src/storage/parthelper.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/src/storage/parthelper.c b/src/storage/parthelper.c
index c04f1bd..e9b56fe 100644
--- a/src/storage/parthelper.c
17 matches
Mail list logo