Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3509260pxb; Fri, 4 Feb 2022 10:00:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyGHzLcho1wCDxxf1qnqCCn9YI2EVDZLJGzxiYd/+nTxTj0cmOUDxFzvJhwVCtq9jQ6dXf X-Received: by 2002:a17:90b:4c43:: with SMTP id np3mr4430174pjb.88.1643997622474; Fri, 04 Feb 2022 10:00:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643997622; cv=none; d=google.com; s=arc-20160816; b=Wif13Je3bh/wXVLqQPWjITPN1yCcp+dMUnlC6B6s0ESOqlEiAMOtgansthVINrSXh4 c5A/51PZMBSt+tN1VrFtd6nFQJU/dMAZKhA7CuD0+tyQVhE1vUVjj/wNWxCEeMteDZBe pQU5RMt+nquzpHTzV3XwlYiGWjCjRG4SO13ireBYdeRDh9/jhpbeC4bB1iYeSzLZ8XbM Y0PvcqaattVR3Vw7UIXf709zngrRdPpK0nttFwWqWOvVtJU0UE6/AtGHCM8FQWa/mRII KxozTAEC7ZXqRW4/DWZQjkZ0NpMnDvt8uGWu81HmCVvcZGp6PRSucKFfWsYV/auK8bHw TfOg== 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=egv0e1QXLdMDJLzDlEfd+9hjoDteiVw0Tc45PLBPnRk=; b=P3tS+tvviTFLKfRB+IcowioXLFSyplY3VVZmdN2NTOeGdQiTezBh2rGV/2g+Rnq3at 9VpXXQBg5gXAAu9j49moVrWaTuM4UTI//Golnx8n+nDZeWv1fxnh20BhQI42/TpYv5Dm r1wVClk2qTOhTgDFBEOcs4stG4/qKBsNddZH6044gSBqAxt1l0BVcpoaY4amGKlM3qm4 fntrU5CjhI18HKCCljInnWW5+3axwptY0CFPxOu0oIChBUUqngVkNOHLyG7GL+SyvlD/ M+tvNoQZ3fRlzyR64t6BYBO5gPSaiSrKxNWIuzk8rxvBQsKmvmLWInemovL+tptsq5YT m9bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ra3qjMx7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t17si2485935plr.512.2022.02.04.10.00.09; Fri, 04 Feb 2022 10:00:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ra3qjMx7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1346048AbiBBQzw (ORCPT + 99 others); Wed, 2 Feb 2022 11:55:52 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:52293 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234941AbiBBQzu (ORCPT ); Wed, 2 Feb 2022 11:55:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643820949; 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=egv0e1QXLdMDJLzDlEfd+9hjoDteiVw0Tc45PLBPnRk=; b=Ra3qjMx7W3ZbG2y4gbElmfdvStd5Ymy/uXLEwHoB2zZMH+VMNi/oKwEpyWp8UDeXglbRnt d0HZO03ePd1is+kcRxr7bGggTF4UwQ9uwKrz5uIhP0Jp2HmYOeaGRtRuv637ZVIkHuaUJp j7+KxZDC1+XGdxImDS58MlfjeUY/wrA= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-517-26kMDZ8dMq28ctd6ecNwVw-1; Wed, 02 Feb 2022 11:55:48 -0500 X-MC-Unique: 26kMDZ8dMq28ctd6ecNwVw-1 Received: by mail-wm1-f72.google.com with SMTP id n22-20020a05600c3b9600b00352d3f6a850so2568149wms.3 for ; Wed, 02 Feb 2022 08:55:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=egv0e1QXLdMDJLzDlEfd+9hjoDteiVw0Tc45PLBPnRk=; b=jU0bj5HvEeOCqcPxPsobxE7K/cRDcwu6/MZ052yyAgyuxdMr23ybL5WEaqPlmhwQel iG3N0kfBiDzG+Gv7yjwrKUcL2mR+gBsx9Nry9S5yDUCCPb76jzjwcmCQeaJyfRYz19Eh z/bW9YzzOCjH2mMtaFXBNWd4JB4Xq5SZcVs2ozPCBsWNkaKI0/DXAB3NJqPnVvm9UAMX EGkAxR5N4kkNeBqlMyktIfDS7JHeFGxGze9ReVulxhS7YD7klUqqggsXTziijxW3yLU8 4DoA8i9kdXKxd4sR8K+RylHvwF46r/+Z8zBQkiR6nl2yNTXuAV5irw7/kSJNE+Tn83n+ 71sw== X-Gm-Message-State: AOAM530UeuP5uTCGtlecoDfBQbes8ma6tutlG02bR9GLM2/uHEfg2i5T h7OkQ/C4xEnCojDWQd22l5dUH/W7e/69yXKxiLbTVPeeLvapN+BM0Jol+B4Da1rhwL6xTHrWc/3 jvSb1Y7NXMZyyK2FSWUwhw5r3 X-Received: by 2002:a1c:7918:: with SMTP id l24mr6820138wme.91.1643820947604; Wed, 02 Feb 2022 08:55:47 -0800 (PST) X-Received: by 2002:a1c:7918:: with SMTP id l24mr6820128wme.91.1643820947458; Wed, 02 Feb 2022 08:55:47 -0800 (PST) Received: from krava (nat-pool-brq-u.redhat.com. [213.175.37.12]) by smtp.gmail.com with ESMTPSA id m187sm5109446wme.25.2022.02.02.08.55.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 08:55:47 -0800 (PST) Date: Wed, 2 Feb 2022 17:55:45 +0100 From: Jiri Olsa To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, james.clark@arm.com, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf: tools: Add missing branch_sample_type Message-ID: References: <1643799443-15109-1-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1643799443-15109-1-git-send-email-anshuman.khandual@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 02, 2022 at 04:27:23PM +0530, Anshuman Khandual wrote: > This updates branch sample type with missing PERF_SAMPLE_BRANCH_TYPE_SAVE. > > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Arnaldo Carvalho de Melo > Cc: Mark Rutland > Cc: linux-perf-users@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Suggested-by: James Clark > Signed-off-by: Anshuman Khandual Acked-by: Jiri Olsa thanks, jirka > --- > tools/perf/util/perf_event_attr_fprintf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/util/perf_event_attr_fprintf.c b/tools/perf/util/perf_event_attr_fprintf.c > index 47b7531f51da..98af3fa4ea35 100644 > --- a/tools/perf/util/perf_event_attr_fprintf.c > +++ b/tools/perf/util/perf_event_attr_fprintf.c > @@ -52,7 +52,7 @@ static void __p_branch_sample_type(char *buf, size_t size, u64 value) > bit_name(ABORT_TX), bit_name(IN_TX), bit_name(NO_TX), > bit_name(COND), bit_name(CALL_STACK), bit_name(IND_JUMP), > bit_name(CALL), bit_name(NO_FLAGS), bit_name(NO_CYCLES), > - bit_name(HW_INDEX), > + bit_name(TYPE_SAVE), bit_name(HW_INDEX), > { .name = NULL, } > }; > #undef bit_name > -- > 2.20.1 >