Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp355672pxu; Wed, 25 Nov 2020 05:07:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6rEInFXiqnpIBRB8nvJx/pRl5Pa3JblAB0GSzhK++/bpFmFA5Y2TkM55aFhT4EfqJTSGI X-Received: by 2002:a05:6402:3089:: with SMTP id de9mr3414243edb.100.1606309647906; Wed, 25 Nov 2020 05:07:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606309647; cv=none; d=google.com; s=arc-20160816; b=wlNrMi6kKvmulvIMvSLFpFwwl5ING3pl9rK2+t/cr3knIKGslc+Wh3l95Pp+O6ClPA feqj+vmA8+qvhYSafokoFIm+VVJPJ3iuxTY7Rsr7IM4hKduEtzU3l6Jflmcm9uL8TFOJ tC1mb7xZ0Agw16jUNHqDuk/Z8l4eyNTc5Ja0DFnHJOAFcNmky6Qxhwln578R14qM95Fv fbC1KsHPps3ssC6ttemJ1CN3jFnR+jxojLnXWtQiVgLzfA2/HquET8WuxEd/wNBRPQ/K 5FWn7UXoSbDleHpz9vwNRjm/LXlM71Yo5S8XbdeeBIB3wmm55RTyDlLyHRmYAPAb095a bACA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Pra5ZrIQqd1Oiv+0TYsFn59xDF603RB5u+WuK/ZbQTg=; b=X5kejJ1Sw6QsACLknqx1PWp7IkZkOeKjmv+PApsml2dF/Pco+7qXvqBsuOQ05dWQdg w/zveLpzOjKH/oB2nX6O3+/utwezrxrW6euYTNmWCNpjE1eeNcm0feFMcQeSM1fiIwHH 7U4eXMetAq069YGrxfX4sqq7IzUhWGVeqE0QaYYxW6H9GjNXTAWXcTb9C8Hod2An0vN+ 8FMu+jCiJfgbm/sb5o1p1/jTM8CY9OokR4qFmUc/rcuBeDfd7JqaH/7cMey0tEZwj92G kQi01Kl8W2QDcGt88sPJ67OhQ2c/PJU8KrMBjf869YUHT6IhZIZeg3HpPEsIaAjcDaqg ATyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si1182842eds.412.2020.11.25.05.07.04; Wed, 25 Nov 2020 05:07:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729624AbgKYNEw (ORCPT + 99 others); Wed, 25 Nov 2020 08:04:52 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39151 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729619AbgKYNEw (ORCPT ); Wed, 25 Nov 2020 08:04:52 -0500 Received: by mail-lj1-f196.google.com with SMTP id o24so2195247ljj.6 for ; Wed, 25 Nov 2020 05:04:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Pra5ZrIQqd1Oiv+0TYsFn59xDF603RB5u+WuK/ZbQTg=; b=K3Gy8PElETHXn/DjHutmVfJHao31IE++UQfehEnqrUx1oM641w3OZajXzt6p9UNas9 uG4R346Wme+2xS4QJ7ISr1pwjURtK0dCy7RIDq4kH2qsyr1m1lF+JbN17YkXIFvSgIpb odZnUP0EiUaBSrWwYH5FoT2ofi1LjU2LzpSZ9VHSULnzVCcVUgE0gaGO/fs44t8jYEwF uVzjBykmVQzv8ukxe7OvXxGN3OPkI4ucFyvbolX4Z6xQkdl9tSkzL2A7jvZrkfnuC51Q hJk5xHjVlEdgN/9k4GlJ9cBTo6fedKLsrn6185wkvBZPiMkPhO5KzYshEQDnpGS9j5jA avxw== X-Gm-Message-State: AOAM532YHjdVZEb3CLECrbv95Ij3BcECWl4+9Fl4uqp170AuvzC2uBe8 IGclR7/Ie5H2VPvdAKMmIXRvIbJh44foIved2MQ= X-Received: by 2002:a2e:7a04:: with SMTP id v4mr1295457ljc.191.1606309489963; Wed, 25 Nov 2020 05:04:49 -0800 (PST) MIME-Version: 1.0 References: <20201123230512.2097312-1-jolsa@kernel.org> <20201123230512.2097312-23-jolsa@kernel.org> In-Reply-To: From: Namhyung Kim Date: Wed, 25 Nov 2020 22:04:38 +0900 Message-ID: Subject: Re: [PATCH 22/25] perf buildid-cache: Add support to add build ids from perf data To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Michael Petlan , Song Liu , Ian Rogers , Stephane Eranian , Alexey Budankov , Andi Kleen , Adrian Hunter Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 25, 2020 at 10:00 PM Namhyung Kim wrote: > > On Tue, Nov 24, 2020 at 8:06 AM Jiri Olsa wrote: > > diff --git a/tools/perf/builtin-buildid-cache.c b/tools/perf/builtin-buildid-cache.c > > index a25411926e48..0bfb54ee1e5e 100644 > > --- a/tools/perf/builtin-buildid-cache.c > > +++ b/tools/perf/builtin-buildid-cache.c > > @@ -29,6 +29,11 @@ > > #include "util/probe-file.h" > > #include > > #include > > +#include > > +#include > > +#ifdef HAVE_DEBUGINFOD_SUPPORT > > +#include > > +#endif > > > > static int build_id_cache__kcore_buildid(const char *proc_dir, char *sbuildid) > > { > > @@ -348,6 +353,205 @@ static int build_id_cache__show_all(void) > > return 0; > > } > > > > +#ifdef HAVE_DEBUGINFOD_SUPPORT > > I think this part belongs to the next patch...? > > Thanks, > Namhyung Oh, I've missed we already have the debuginfod support. Thanks, Namhyung