[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    Re: how to get enabled features
From:       Han Han <hhan () redhat ! com>
Date:       2021-10-11 1:43:36
Message-ID: CAHjf+S8qWM_JOzfDLgGF+x34obYL3JX7u4Ce718+54KEh68ozQ () mail ! gmail ! com
[Download RAW message or body]

On Fri, Oct 1, 2021 at 10:00 AM Jiatong Shen <yshxxsjt715@gmail.com> wrote:

> Hello community,
>
>   I am trying to learn how to use dtrace and systemtap for libvirt, as the
> documentation says it seems to enable `--with-dtrace` when compiling. I am
> installing libvirt using apt install and is it possible to determine if
> dtrace is built by
>
If your libvirt is built yourself, you should enable dtrace by
`--with-dtrace`(version<6.7.0) or `-Ddtrace=enabled`(version>=6.7.0). See
https://libvirt.org/kbase/systemtap.html

Since you mentioned your libvirt is installed by apt, the dtrace is enabled
or not depending on whether the package builder enables dtrace or not when
building the libvirt package. For debian, you can check the libvirt build
result of your libvirt version(
https://buildd.debian.org/status/logs.php?pkg=libvirt). If there is
`--with-dtrace` or `-Ddtrace=enabled` in the build result, it usually means
the libvirt dtrace is enabled.

> running some libvirt commands?
>
> Thank you.
>
> --
>
> Best Regards,
>
> Jiatong Shen
>

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Fri, Oct 1, 2021 at 10:00 AM Jiatong Shen &lt;<a \
href="mailto:yshxxsjt715@gmail.com">yshxxsjt715@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello \
community,<div><br></div><div>   I am trying to learn how to use dtrace and systemtap \
for libvirt, as the documentation says it seems to enable `--with-dtrace` when \
compiling. I am installing libvirt using apt install and is it possible to determine \
if dtrace is built by </div></div></blockquote><div>If your libvirt is built \
yourself, you should enable dtrace by   `--with-dtrace`(version&lt;6.7.0) or \
`-Ddtrace=enabled`(version&gt;=6.7.0). See <a \
href="https://libvirt.org/kbase/systemtap.html">https://libvirt.org/kbase/systemtap.html</a></div><div><br></div><div>Since \
you mentioned your libvirt is installed by apt, the dtrace is enabled or not \
depending on whether the package builder enables dtrace or not when building the \
libvirt package. For debian, you can check the libvirt build result of your libvirt \
version(<a href="https://buildd.debian.org/status/logs.php?pkg=libvirt">https://buildd.debian.org/status/logs.php?pkg=libvirt</a>). \
If there is `--with-dtrace` or `-Ddtrace=enabled` in the build result, it usually \
means the libvirt dtrace is enabled.<br></div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>running some libvirt \
commands?</div><div><br></div><div>Thank you.<br clear="all"><div><br></div>-- \
<br><div dir="ltr"><div dir="ltr"><br><div>Best \
Regards,</div><div><br></div><div>Jiatong Shen</div></div></div></div></div> \
</blockquote></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic