commit 7792f8f69d5178a587410da670995b5aab5658bd Author: Sergio Durigan Junior Date: Sun Jul 21 15:58:26 2024 -0400 Initial release diff --git a/debuginfod-dc24.org b/debuginfod-dc24.org new file mode 100644 index 0000000..f91a783 --- /dev/null +++ b/debuginfod-dc24.org @@ -0,0 +1,50 @@ +#+OPTIONS: toc:nil date:nil ':t +#+TITLE: A plan to support source code indexing on debuginfod.d.n +#+Author: Sergio Durigan Junior @@latex:\\@@ sergiodj@debian.org +#+LANGUAGE: en +#+BEAMER_THEME: Rochester +#+LaTeX_HEADER: \hypersetup{colorlinks=true,urlcolor=blue} +#+LaTeX_HEADER: \lstset{basicstyle=\footnotesize\ttfamily} + +* What is =debuginfod=? +- Started by Red Hat in 2019. +- It @@latex:\emph{@@"is a client/server [...] that automatically + distributes =ELF= / =DWARF= / source-code from servers to clients + such as debuggers across HTTP"@@latex:}@@. +- The goal is to replace the need for =.ddeb= files (but it can do + more than that). + +* How does it work? +- There's a =debuginfod= server (e.g., at + https://debuginfod.debian.net) that indexes all available debug + information from supported Debian releases. +#+BEAMER: \pause +- Debugger-like tools (e.g., =GDB=) link against =libdebuginfod=, + which provides the client support. +#+BEAMER: \pause +- When the tool needs a certain debuginfo, it will contact the + =debuginfod= server (specified via the =DEBUGINFOD_URLS= shell + variable) and put a request for the debuginfo's =Build-ID=. +#+BEAMER: \pause +- If found, the server will then transmit the information over HTTP(S) + to the client. + +* How do I use it? +:PROPERTIES: +:BEAMER_OPT: fragile +:END: +- You can configure your system by doing: + +#+ATTR_LATEX: :options frame=single +#+begin_src bash +export DEBUGINFOD_URLS="https://debuginfod.debian.net" +#+end_src + +* Demo +- Fasten your seat belts, please. + +* More information +- https://wiki.debian.org/Debuginfod +- https://sourceware.org/elfutils/Debuginfod.html +- =sergiodj= @ =OFTC= +- @@latex:\href{mailto:sergiodj@debian.org}{sergiodj@debian.org}@@ diff --git a/debuginfod-dc24.pdf b/debuginfod-dc24.pdf new file mode 100644 index 0000000..d98eb4a Binary files /dev/null and b/debuginfod-dc24.pdf differ