Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp604649ybi; Thu, 30 May 2019 03:56:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/kyYqaolHeXXVpN8FT6WLihuccjr/au604H4rEJ/RUFGXNCp/het+zMcLQJolRbqbMdOY X-Received: by 2002:a17:902:b204:: with SMTP id t4mr3152451plr.285.1559213769921; Thu, 30 May 2019 03:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559213769; cv=none; d=google.com; s=arc-20160816; b=WKvOB5Xqoe7XqoC6n3sjPxy81YI5Si7cKiLb6CeOvPTALhn1aZ8Q+a+HVhn7o47NNP l7ZtkowY2qPe9rFLv4JdKjPEP0plapnxiDw2xb3nty6BykSnA425VvUOo6jRmuIUxzGI J+MWHbwHoi+QaBxawLxZzrJWYZwBBkORfwVpO4mXbblqJOJcOoPnUbtEM8E6qryVY0lt Op6pSNVsonJlDYEBttraSGuNd7T4i08dhWxCGlS8pq076UakvBI2N8+Yr/gNjNkBlPHd 55VSTh9dNpHG4ca+ZfOaEqTpHrOdrorMmQGkKOAOmureEfoMtQzL4nuILPkD8fIqse82 PDjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=H9yxvCBVLUZ22iym/X49g7BmHyoRHVeYfpzhUUaExWk=; b=IBC4pFNh0kCNawy+VMBqgtYTARPrF7ru03W6mpCHWbImTDDRCk8AdoOEKYm+zfCsdi 8Q3PYf1jsEwLnAw80N1u4Ofj+Z0m9saeGQmhkiTMhz3GDW7jsImnaou/RaOgryqc2DLt GCh6fkrPEXtMOgwlGIOlawR8wMoe0kD/Vi1axX04LMLLd4/81mfBPh1tcKaTO1oIlF0E A0gkgA+wQJmaNlLOzpoGKnr+hGphsot10tEsuqkCTCwR5RKxfX8E4Mbk90CCQXkKMDsL C9AhYxT6nFuuJ+clu49SpFXUnSqTjKNg70WN3dyWPW5J37TatvugzbrKo2f4JcwMyhGr lDoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="f+Oh6cI/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si2753233pgp.118.2019.05.30.03.55.53; Thu, 30 May 2019 03:56:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="f+Oh6cI/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726541AbfE3Kyv (ORCPT + 99 others); Thu, 30 May 2019 06:54:51 -0400 Received: from mail-ot1-f45.google.com ([209.85.210.45]:46006 "EHLO mail-ot1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726198AbfE3Kyv (ORCPT ); Thu, 30 May 2019 06:54:51 -0400 Received: by mail-ot1-f45.google.com with SMTP id t24so5130196otl.12 for ; Thu, 30 May 2019 03:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=H9yxvCBVLUZ22iym/X49g7BmHyoRHVeYfpzhUUaExWk=; b=f+Oh6cI/+BXPVeuDxFfHoLSzuWDrYh7O/5x6u6aq/mFFWzISCX7o9nZZYGMesH4+D/ pQl6V3p5ozIEo6z7k9LdXIqP6UaSSD8yIdtDeBDhdbkoUAXGUzvmuunmn3GR5oUkXhtF 1jHM5F44DvOIDq4BHcDgpTjBZkA9iMfAE+SQ8kC8CZFSbYow6gEMtObX9AlJlgCHY6TS +0E70BJQS/cCiz7H5GdwtmUuKihM+PQMVQsXFBDmMxqDji3sbk6oQ78lafiur047Vrt3 i293GhbZ2MqJ7zfjDkGVxxCRkC4SIyVNnbhkk7bA3CDz1xQECHp0pBC+b16v3QZwPKHo wFJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=H9yxvCBVLUZ22iym/X49g7BmHyoRHVeYfpzhUUaExWk=; b=YXGivxz2rLK7TTOQDOLEltWzMt1ad0hnpzY0MJy6h8jk/YDyxoM2pOlUB3jVfGX5se 6ky137my3CF4ejCVmHEQu1bg33fjps7SUv0Fa8JUUkhCNwLqUtqRTB8Im1W1F7IFkRsL YUUuCe9Jy3wjLZtVX7F5PYwHAHAmjwLgzzZoSJ5lKRopgnr0TstU2ZDgIQPR1jWlFTxf c+PwxQdiyv1qc5pColMQCjWgblPKO56y+Ijnb7nNB20NE6o09I8nS4pvKMdXsAXcet2N as+RMr/kABflnqVEySC7KnXu4oQAvj15OrfuCDXwUMGJNETir/pZlGjKKxnfsvLQSpCs +4Mw== X-Gm-Message-State: APjAAAW61BG7Jahh49IltqoOINuItwzznoVTa/C/ykPDgWKSjzVN6tEw YNcIljJmK8hlc6QOjG207rP5ZA== X-Received: by 2002:a05:6830:1408:: with SMTP id v8mr2180538otp.48.1559213690489; Thu, 30 May 2019 03:54:50 -0700 (PDT) Received: from leoy-ThinkPad-X240s (li808-42.members.linode.com. [104.237.132.42]) by smtp.gmail.com with ESMTPSA id l20sm810412otj.62.2019.05.30.03.54.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 May 2019 03:54:49 -0700 (PDT) Date: Thu, 30 May 2019 18:54:39 +0800 From: Leo Yan To: Jiri Olsa Cc: Arnaldo Carvalho de Melo , Jesper Dangaard Brouer , Alexei Starovoitov , Daniel Borkmann , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Stanislav Fomichev , Song Liu , Adrian Hunter , Andi Kleen Subject: Re: [PATCHv3 00/12] perf tools: Display eBPF code in intel_pt trace Message-ID: <20190530105439.GA5927@leoy-ThinkPad-X240s> References: <20190508132010.14512-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190508132010.14512-1-jolsa@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jiri, On Wed, May 08, 2019 at 03:19:58PM +0200, Jiri Olsa wrote: > hi, > this patchset adds dso support to read and display > bpf code in intel_pt trace output. I had to change > some of the kernel maps processing code, so hopefully > I did not break too many things ;-) > > It's now possible to see bpf code flow via: > > # perf-with-kcore record pt -e intel_pt//ku -- sleep 1 > # perf-with-kcore script pt --insn-trace --xed This is very interesting work for me! I want to verify this feature with Arm CoreSight trace, I have one question so that I have more direction for the tesing: What's the bpf program you are suing for the testing? e.g. some testing program under the kernel's folder $kernel/samples/bpf? Or you uses perf command to launch bpf program? [...] Thanks Leo Yan