qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 2/3] accel/tcg: Add debuginfo support


From: Thomas Huth
Subject: Re: [PATCH v4 2/3] accel/tcg: Add debuginfo support
Date: Mon, 30 Jan 2023 15:33:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

On 12/01/2023 16.20, Ilya Leoshkevich wrote:
Add libdw-based functions for loading and querying debuginfo. Load
debuginfo from the system and the linux-user loaders.

This is useful for the upcoming perf support, which can then put
human-readable guest symbols instead of raw guest PCs into perfmap and
jitdump files.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
---
...
diff --git a/meson.build b/meson.build
index 175517eafde..cab8c67d961 100644
--- a/meson.build
+++ b/meson.build
@@ -1648,6 +1648,12 @@ if libbpf.found() and not cc.links('''
    endif
  endif
+# libdw
+libdw = dependency('libdw',
+                   method: 'pkg-config',
+                   kwargs: static_kwargs,
+                   required: false)
+

 Hi,

I recently did a build with "configure --without-default-features" and I noticed that this new libdw does not get disabled automatically there, which looks kind of weird. Is there a reason that there is no config knob here to disable it like we have it with all the other optional libraries that we support?

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]