From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,URIBL_DBL_ABUSE_MALW autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2AB4CC2D0DB for ; Mon, 27 Jan 2020 12:31:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB4D520CC7 for ; Mon, 27 Jan 2020 12:31:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="k5sUCTgI"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JfbsiiPN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB4D520CC7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RXwrIn2Jlgc84JGOJrIf6uA7nTiB0TC4c258uqAOy8E=; b=k5sUCTgIJmosdg 1yEcLv0whM60rz7pK+iImk8tf0ChBt4JqS4ld/5WgZInXF9qbOqSMFQaHAYJEKizWxZ7tGe4A5Dnb 5kn021BUDBs5yKddkxcki+ylrALQGXe3iW4wJCesVr5qoilXsX8gvBi6VRtBjV3NDBubHiisyU2dU tIMwVBy57nywPiDHhitjNFbjIRjYnjNKDHUsURu+q85TMo+uM07R5jBoH/zE6MOl+uKXAZ1OcbAW8 IvnQRRCMl+5VZU/n1HHKevDqYOUIu7gNFwY/zkkrtzqtBuwVlchhczTDws3yrKYvDik/9lmm7pxwi EU84WEXo/VI/WWeCZDfg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iw3YO-000675-Vo; Mon, 27 Jan 2020 12:31:44 +0000 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120] helo=us-smtp-1.mimecast.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iw3YE-0005x2-O1 for linux-arm-kernel@lists.infradead.org; Mon, 27 Jan 2020 12:31:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580128292; 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=1hhEdcDWCEgGN0YrQx/xF84TmWOWm/XDVRZuqvlPeOI=; b=JfbsiiPNDqlc02HG5vHt43/sRsb7/cCU59wRNbHZaLbcYEAlaM58nb+dagt9LeSvNEy11i 6l76cqnODbwJeA0IL95uUGW7kd6vrjrTc2/42ia4WhDe4VfyeBzt83UrrnKvbM+n/OLfBi PlNfQtTBgElSCMi6DGT1b5C8uLPfWaQ= 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-270-XumPK1NYNvKbzopPmVyKfg-1; Mon, 27 Jan 2020 07:31:28 -0500 X-MC-Unique: XumPK1NYNvKbzopPmVyKfg-1 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 001F31005510; Mon, 27 Jan 2020 12:31:25 +0000 (UTC) Received: from krava (unknown [10.43.17.48]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7EBA98E60E; Mon, 27 Jan 2020 12:31:22 +0000 (UTC) Date: Mon, 27 Jan 2020 13:31:20 +0100 From: Jiri Olsa To: James Clark Subject: Re: [PATCH v2 4/7] perf tools: Support "branch-misses:pp" on arm64 Message-ID: <20200127123120.GD1114818@krava> References: <20200123160734.3775-1-james.clark@arm.com> <20200123160734.3775-5-james.clark@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200123160734.3775-5-james.clark@arm.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200127_043134_893215_C0E1CCC1 X-CRM114-Status: GOOD ( 12.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Al Grant , wxf.wang@hisilicon.com, Peter Zijlstra , Will Deacon , suzuki.poulose@arm.com, linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , gengdongjiu@huawei.com, linux-perf-users@vger.kernel.org, Alexander Shishkin , Ingo Molnar , liuqi115@hisilicon.com, Tan Xiaojun , huawei.libin@huawei.com, Namhyung Kim , nd@arm.com, liwei391@huawei.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jan 23, 2020 at 04:07:31PM +0000, James Clark wrote: SNIP > diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c > index 1548237b6558..b9c7e5271611 100644 > --- a/tools/perf/util/evlist.c > +++ b/tools/perf/util/evlist.c > @@ -9,6 +9,7 @@ > #include > #include > #include > +#include "arm-spe.h" > #include "cpumap.h" > #include "util/mmap.h" > #include "thread_map.h" > @@ -179,6 +180,7 @@ void perf_evlist__splice_list_tail(struct evlist *evlist, > struct evsel *evsel, *temp; > > __evlist__for_each_entry_safe(list, temp, evsel) { > + arm_spe_precise_ip_support(evlist, evsel); this is 'splice' function, you can't configure precise in here do you need this 'config thing' to be executed on arm only? if yes, please add something like arch_evsel__config, make it weak for generic code and define it for arm if no, just add the call at the end perf_evsel__config I guess thanks, jirka > list_del_init(&evsel->core.node); > evlist__add(evlist, evsel); > } > -- > 2.25.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel