Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1440531pxb; Wed, 2 Feb 2022 05:11:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnhhu2oGcDmxDSW6B7Een9i4ey4q0/EYGp2XEjOOisEYr8rusYFNnxCiTesl77QBmYeju/ X-Received: by 2002:a17:903:22c5:: with SMTP id y5mr31089605plg.8.1643807517297; Wed, 02 Feb 2022 05:11:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643807517; cv=none; d=google.com; s=arc-20160816; b=AlX+AMvK4kijCD7qymTiZSJj1kU/VvFNEnpNaR0XA2ZnAntTGHPOXg4SX32J3RX6iI ZiFoMigi+Mi+r0C5caDfXkUWWnGC4VQcz3cf1t6is1H1Qdtl28XTOdwEXxRi/JwA5C9u 0m4CtVenWvNG/R2ig8GMsUJ62X7ajRK9zASopq4RogKhjqlWPPwUS2I6zN7lj4XDH0dz dwDDms/IcTV7KzzSBtA5dd6m0ud4buZflWItu86lPXuHT4OpboFFR8TVLJ1LMd/Euzn7 kxw1IeUcIQ5JC2FaDtmZU5IpFaMLS3w5iigJRJGRnK0JWcbXIRr80ExwPVWGR7ryFbxk riSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=6kXV43TrcK5WBNIm5m2EjL8vt4bsReLbd85yuEUsHHo=; b=zytLDdnpkyjt6OQObGYHzMJU/Npht4nlCj8NCkWy4H80lu00pk9l8f1GSdzBx7sRsj XSw0lGs064hC9nL+i3ESGLQ6bSCRmg+Tw4dKcIvbIXumct+6wZbkzRK6Hv0HUPaRgUQH xNf8yCVFmtkNB3Uaw92gtohH9WTZhgrO2O9aMmb78xJV/NpVjjz4mvc5uetjIBt4KXj6 ttwBm3UZc9ajKzOBKqEo24SAPmiEv07JVJ9Mynv7zi8bZ0MubKb8wl3T4JSwwk8EXBBm XAvjzlXe7mqu1L6+eO5KC3OoH2Eqvsh48ZLO1c+q3oGHEWvVG1gS4nEg0FuQvONqpx96 z3ow== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12si20914052pls.140.2022.02.02.05.11.44; Wed, 02 Feb 2022 05:11:57 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245565AbiBBK5l (ORCPT + 99 others); Wed, 2 Feb 2022 05:57:41 -0500 Received: from foss.arm.com ([217.140.110.172]:50992 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230095AbiBBK5k (ORCPT ); Wed, 2 Feb 2022 05:57:40 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 635921FB; Wed, 2 Feb 2022 02:57:40 -0800 (PST) Received: from p8cg001049571a15.arm.com (unknown [10.163.43.221]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 467BC3F40C; Wed, 2 Feb 2022 02:57:36 -0800 (PST) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org Cc: james.clark@arm.com, Anshuman Khandual , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] perf: tools: Add missing branch_sample_type Date: Wed, 2 Feb 2022 16:27:23 +0530 Message-Id: <1643799443-15109-1-git-send-email-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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