Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp408115pxu; Wed, 25 Nov 2020 06:18:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxEv4FxX+8ciJ7W7RoY2annue5NjdY8mmqvbMUip4n42Er7TJ4hCN5vY+OE/Bc7D2Lno1j9 X-Received: by 2002:a50:ab15:: with SMTP id s21mr3721439edc.88.1606313938402; Wed, 25 Nov 2020 06:18:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606313938; cv=none; d=google.com; s=arc-20160816; b=JxIm81f2Sxv1BuZASg17eP6E/ca0Wo1Z6wX5YaqZCcd2V1iM/w2bHgZwkjH3sCA+ru x/q/3B4ZPTCfgZoxqXNn1AEZCEKh6c/vZ5EDm1zJAqTmO60CI0lyFkTh05eKKMpNrXeW 5WUykwD+Pvt5exR9xYOlY/sTDp2bmRZAlJUCb4GbxrRP8qtCcnZe86jM6a05TXen4Psx 5WuWU+B1Nv8NQwEdCjP6fCDrk7rQwBu0kqgws7Bk1okdjrgg/9GAug+ll9diFFeDtL1y XuOYp6uJV+CwjOIK79rS6uY1tWykfsL981ZBgodXSMTeOthKDkzZGnR5D0IOWRODewO1 Mn0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Td/8Ow1h2VVzvZfHFudQxWhJpRZ2ytrBuToX3K1/lQk=; b=rfSZp3dVdvS8SILEaBlzoTmdLuX2ip62VtFVVYZYLS70c0t+WF547l/vcwzTh76hl9 rQnq3DFQUpAcRlEzvvVB5+oiJ/1vPFM2kIEhTcyN5jaFKLHpEd3zvLX7ZeBADXcmwLfR tEwDaz903U2/7USi52Iy7lWdj6fcQXMfjTcT40ZnrXMi4Ytdp8xuAdaqxUlIiv4mh2b7 y0JFYBThAZPzqYTahUkW+hMkmJ5F7UwjpuRB5584A/cHUA1G+mYMX4MvkkENsJyeY7uz XR4uY2faiwcw7O55oJpCBeGSN2Xhh2BDu3OAtd/RMsvW83JCmAja105IFVEO9xl0vABT O9nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BIdKt48H; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn24si1240080edb.11.2020.11.25.06.18.27; Wed, 25 Nov 2020 06:18:58 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BIdKt48H; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729690AbgKYOPn (ORCPT + 99 others); Wed, 25 Nov 2020 09:15:43 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:51317 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729109AbgKYOPm (ORCPT ); Wed, 25 Nov 2020 09:15:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606313741; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Td/8Ow1h2VVzvZfHFudQxWhJpRZ2ytrBuToX3K1/lQk=; b=BIdKt48HpKac8LgixvG59JN6A33mSw/Snh6jMwpCv6ZO0j659CjLsZDUFX/9LhqWOLuKo8 /enOqD5iZreiZQjI9b4ccF5whhyR9j04YKzaKJKiKxmMWPrLkIU6VNLECduHmm4J2bUJN1 YnpAGYMN3Vz9ebzSMkFEEigd6piDQEU= 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-558-ibup7d3cMViW2mgFm_Tuvg-1; Wed, 25 Nov 2020 09:15:37 -0500 X-MC-Unique: ibup7d3cMViW2mgFm_Tuvg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5F71B190A7B0; Wed, 25 Nov 2020 14:15:35 +0000 (UTC) Received: from krava (unknown [10.40.192.200]) by smtp.corp.redhat.com (Postfix) with SMTP id 42DBB1899A; Wed, 25 Nov 2020 14:15:32 +0000 (UTC) Date: Wed, 25 Nov 2020 15:15:31 +0100 From: Jiri Olsa To: Namhyung Kim Cc: Jiri Olsa , 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 Subject: Re: [PATCH 13/25] perf tools: Store build id from mmap2 events Message-ID: <20201125141531.GE2164284@krava> References: <20201123230512.2097312-1-jolsa@kernel.org> <20201123230512.2097312-14-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 25, 2020 at 09:56:31PM +0900, Namhyung Kim wrote: > On Tue, Nov 24, 2020 at 8:06 AM Jiri Olsa wrote: > > > > When processing mmap2 event, check on the build id > > misc bit: PERF_RECORD_MISC_MMAP_BUILD_ID and if it > > is set, store the build id in mmap's dso object. > > > > Also adding the build id data arts to struct > > s/arts/args/ ? right, perhaps also s/arts// thanks, jirka > > Thanks, > Namhyung > > > > perf_record_mmap2 event definition. > > > > Signed-off-by: Jiri Olsa >