From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123153 invoked by alias); 8 Jan 2020 21:38:07 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 122852 invoked by uid 89); 8 Jan 2020 21:38:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=invitation, someday, availability, retention X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (207.211.31.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 08 Jan 2020 21:38:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578519484; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/hDI83g4GNgunQIuwqHa+cZMQP23X7MWmlvK0/5eIy8=; b=T/jHeh10CPX/6Ddd1sBzQGFo9Mbx6G8ZUAQIleg9GxvyY0i9nNLg6jiO1UWaXgulg+XQLk yr2IA3xBlWHDud8I0zXZaPZEiWJI4YL4gD5jS2dIuddjFouKL0PQhH3qr0BasrNvoC1GJ1 YFaIk6kNCuiaB1EJ4sDy+Dacwz8NKaQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-123-p-ctMjPoNqmrJSV80RNS2A-1; Wed, 08 Jan 2020 16:38:01 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9E66A64A87 for ; Wed, 8 Jan 2020 21:38:00 +0000 (UTC) Received: from redhat.com (ovpn-116-36.phx2.redhat.com [10.3.116.36]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 81F596FF0F for ; Wed, 8 Jan 2020 21:38:00 +0000 (UTC) Received: from fche by redhat.com with local (Exim 4.92) (envelope-from ) id 1ipJ1b-0004u1-Cb for systemtap@sourceware.org; Wed, 08 Jan 2020 16:37:59 -0500 Date: Wed, 08 Jan 2020 21:38:00 -0000 From: "Frank Ch. Eigler" To: systemtap@sourceware.org Subject: invitation to try experimental debuginfo downloading service Message-ID: <20200108213759.GA18502@redhat.com> MIME-Version: 1.0 User-Agent: Mutt/1.12.0 (2019-05-25) X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2020-q1/txt/msg00002.txt Hi - The availability of debuginfo can be an inconvenient requirement for running systemtap scripts that probe the kernel or userspace. Since last year, we've been building out a path to a solution whereby distros or users or anyone can serve debuginfo to systemtap (and to debugger-like tools) by running a service that comes with a new version (0.178+) of elfutils. Some background readings: https://developers.redhat.com/blog/2019/10/14/introducing-debuginfod-the-el= futils-debuginfo-server/ https://gcc.gnu.org/wiki/cauldron2019#cauldron2019talks.The_elfutils_debugi= nfo_server https://developers.redhat.com/blog/2019/12/17/deploying-debuginfod-servers-= for-your-developers/ Ideally, linux distros will someday host such servers. Until then, we have an experimental service that you are welcome to try. We'd like to learn about the mechanics of running such servers, and at the same time offer something of use to the community. How? 1) install elfutils 0.178+ from your distro, e.g., fedora rawhide, or perhaps from my *experimental* fedora copr (fche/elfutils) or even better, 2) build elfutils from git/master, as per https://sourceware.org/git/?p=3Delfutils.git;a=3Dblob;f=3DREADME configure/make/install with a --prefix=3D$dir to any private directory and export LD_LIBRARY_PATH=3D$dir/lib/ 3) export DEBUGINFOD_PROGRESS=3D1 DEBUGINFOD_TIMEOUT=3D300 4) export DEBUGINFOD_URLS=3Dhttps://debuginfod.systemtap.org/ 5) test with $dir/bin/debuginfod-find source d254d14f9ee9aebba36262fd23f243= 90eff005b0 /usr/src/debug/systemtap-4.2-1.fc32.x86_64/cache.h this should print you a file name with a little piece of systemtap 6) use your existing copy of systemtap as usual! 7) if you're in luck, debuginfo download progress notifications will show, all without manual yum / apt-get type work; first-time kernel debuginfo downloads will still take time What? The debuginfod.systemtap.org URL connects to an EXPERIMENTAL server that is being gradually populated with slivers of debuginfo content copied from official servers of linux distros: - just a few distros: fedora, centos, ubuntu, debian - just a few packages: kernel, glibc, coreutils, httpd, systemd, a few more - just a few architectures: x86-64 only - just a few versions: basically late 2019 onwards If you need debuginfo for a package/version/distro combination that this server does not recognize (so systemtap or debuginfod-find still gives you errors), let us know, we may be able to add it. We may be able to automate or formalize this process sometime, but for now, how about email? PS. EXPERIMENTAL means it may go down, may have to throttle excessive traffic, no guarantees, limited storage/retention, play nice, etc. etc. We hope it can only fail safely. PS. It also means: please join the experiment! - FChE