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=-9.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 B10D0C388F9 for ; Sat, 31 Oct 2020 20:22:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 5B2862072C for ; Sat, 31 Oct 2020 20:22:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AhubWN6M"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ByKLpMUw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B2862072C 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+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=merlin.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=Z2lQ1fEfEVo6JiSWNCZ9Mn4IIaCP0CZpoC5HBFJFPYA=; b=AhubWN6MEYRqoKbSI8kiaq76e tWLYixKdIuVo/sKqqKnurLLNaRQrRlQw2npL/qRoofK+Ry+lTY0A3NfEZAEQ61z/h7QqxU6Kgohgb CG0nC/CQwcYK/a+4ae8tWJGqun3EXcm2G8Pfb9v0Tbusp32WK5+gpEA2iT6D+lp/fK5756Pn8QlfX 98GmbhICRz1Pd9omo8nkE0fdu39q5R8dDRew1FavO+2bwY/G1Mo+PQLRbwTSVjlhJUb4M8L3oLobT q52Hx75eWxz/NQQw4UuI1LfJFUgijMdTNNO3AxX8hfW5jGUCl7Sro85t82wgATIJLzpGl4O0HXvmG t81n0AkPw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYxNJ-0001eP-UD; Sat, 31 Oct 2020 20:21:21 +0000 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYxNG-0001dW-4O for linux-arm-kernel@lists.infradead.org; Sat, 31 Oct 2020 20:21:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604175673; 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=MviwNPfEWhgiwYrzzU/hWekrxH9/LdyDhzttAr8AwxQ=; b=ByKLpMUwl97JiQIEvnpEyfnVt/fmqeVxnG0aCwLoVrWHZkIrSyaPQe/i9VWuY72SxJdexu wr5MOS2yKBd9Wc4QQ2oRcokVn8+aSr9e6Coq5ma83YmOTUu75rIXu+KVuNVptOjVMdOql4 0fjSTXiPFgT3nXuO2kbkkvepiPNdT6M= 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-336-i4Ip-7YgN0KlOdRHSHLlyg-1; Sat, 31 Oct 2020 16:21:11 -0400 X-MC-Unique: i4Ip-7YgN0KlOdRHSHLlyg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 65BD41006C82; Sat, 31 Oct 2020 20:21:08 +0000 (UTC) Received: from krava (unknown [10.40.192.83]) by smtp.corp.redhat.com (Postfix) with SMTP id 1AF1F55767; Sat, 31 Oct 2020 20:21:03 +0000 (UTC) Date: Sat, 31 Oct 2020 21:21:03 +0100 From: Jiri Olsa To: Leo Yan Subject: Re: [PATCH v3 6/9] perf c2c: Support AUX trace Message-ID: <20201031202103.GA3380099@krava> References: <20201028063813.8562-1-leo.yan@linaro.org> <20201028063813.8562-7-leo.yan@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201028063813.8562-7-leo.yan@linaro.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201031_162118_374565_FBDEF8AE X-CRM114-Status: GOOD ( 18.21 ) 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 , Ian Rogers , Al Grant , Mathieu Poirier , Kemeng Shi , Peter Zijlstra , Wei Li , John Garry , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Alexander Shishkin , Ingo Molnar , James Clark , =?iso-8859-1?Q?Andr=E9?= Przywara , Namhyung Kim , "Naveen N. Rao" , Will Deacon , 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Oct 28, 2020 at 02:38:10PM +0800, Leo Yan wrote: > This patches adds the AUX callbacks in session structure, so support > AUX trace for "perf c2c" tool. > > Signed-off-by: Leo Yan > --- > tools/perf/builtin-c2c.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c > index 4d1a08e38233..24f4af997aab 100644 > --- a/tools/perf/builtin-c2c.c > +++ b/tools/perf/builtin-c2c.c > @@ -369,6 +369,10 @@ static struct perf_c2c c2c = { > .exit = perf_event__process_exit, > .fork = perf_event__process_fork, > .lost = perf_event__process_lost, > + .attr = perf_event__process_attr, > + .auxtrace_info = perf_event__process_auxtrace_info, > + .auxtrace = perf_event__process_auxtrace, > + .auxtrace_error = perf_event__process_auxtrace_error, so this will process aux data, but don't you have to say which events you want to synthesize? like in script/report via --itrace option? aybe arm differs from x86 in this, and it's happening in the background.. I have no idea ;-) jirka > .ordered_events = true, > .ordering_requires_timestamps = true, > }, > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel