[libvirt] [PATCH] Add 2 systemtap script in EXTRA_DIST

Then we will include these 2 useful script in VPATH build. Signed-off-by: Luyao Huang <lhuang@redhat.com> --- examples/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/Makefile.am b/examples/Makefile.am index bd8460d..ca6e039 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -28,6 +28,8 @@ EXTRA_DIST = \ lxcconvert/virt-lxc-convert \ polkit/libvirt-acl.rules \ systemtap/events.stp \ + systemtap/lock-debug.stp \ + systemtap/qemu-monitor.stp \ systemtap/rpc-monitor.stp \ $(FILTERS) \ $(wildcard $(srcdir)/xml/storage/*.xml) \ -- 1.8.3.1

On 10.10.2016 11:42, Luyao Huang wrote:
Then we will include these 2 useful script in VPATH build.
Signed-off-by: Luyao Huang <lhuang@redhat.com> --- examples/Makefile.am | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/examples/Makefile.am b/examples/Makefile.am index bd8460d..ca6e039 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -28,6 +28,8 @@ EXTRA_DIST = \ lxcconvert/virt-lxc-convert \ polkit/libvirt-acl.rules \ systemtap/events.stp \ + systemtap/lock-debug.stp \ + systemtap/qemu-monitor.stp \ systemtap/rpc-monitor.stp \ $(FILTERS) \ $(wildcard $(srcdir)/xml/storage/*.xml) \
This works, byt we can also just include systemtap/*.stp and distribute whatever systemtap scrip we ever come up with. Therefore, I'm squashing this in: - systemtap/events.stp \ - systemtap/lock-debug.stp \ - systemtap/qemu-monitor.stp \ - systemtap/rpc-monitor.stp \ + $(wildcard $(srcdir)/systemtap/*.stp) \ ACKing and pushing. Thanks. Michal

Nice idea! Thanks for your help and review. Have a nice day! Luyao ----- Original Message ----- From: "Michal Privoznik" <mprivozn@redhat.com> To: "Luyao Huang" <lhuang@redhat.com>, libvir-list@redhat.com Sent: Monday, October 10, 2016 3:02:58 PM Subject: Re: [libvirt] [PATCH] Add 2 systemtap script in EXTRA_DIST On 10.10.2016 11:42, Luyao Huang wrote:
Then we will include these 2 useful script in VPATH build.
Signed-off-by: Luyao Huang <lhuang@redhat.com> --- examples/Makefile.am | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/examples/Makefile.am b/examples/Makefile.am index bd8460d..ca6e039 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -28,6 +28,8 @@ EXTRA_DIST = \ lxcconvert/virt-lxc-convert \ polkit/libvirt-acl.rules \ systemtap/events.stp \ + systemtap/lock-debug.stp \ + systemtap/qemu-monitor.stp \ systemtap/rpc-monitor.stp \ $(FILTERS) \ $(wildcard $(srcdir)/xml/storage/*.xml) \
This works, byt we can also just include systemtap/*.stp and distribute whatever systemtap scrip we ever come up with. Therefore, I'm squashing this in: - systemtap/events.stp \ - systemtap/lock-debug.stp \ - systemtap/qemu-monitor.stp \ - systemtap/rpc-monitor.stp \ + $(wildcard $(srcdir)/systemtap/*.stp) \ ACKing and pushing. Thanks. Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
participants (2)
-
Luyao Huang
-
Michal Privoznik