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=-6.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS 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 9978AC38A24 for ; Thu, 7 May 2020 09:50:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 79B252186A for ; Thu, 7 May 2020 09:50:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588845035; bh=SlvEi24RMQvcZnlFvRCcXwXVLa1fbvDLBSLuhVTVCmw=; h=From:To:Cc:Subject:Date:List-ID:From; b=CqZ+YfksW+NrmySw7qdANzWkSlM/JKcwh8YIfcNJpFmYdSK0lLnTLaAQS0KUiOEq4 FS6U4s3VX4uDUXw0J3kQvisT4RRMGHMWIoz+XzlBtWM3JUZ4yJaVgpwru+C8cLkBbt 3d2NDMEJKwwWS7WEjobqF1Qov+xLPUEmYJR17+No= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726542AbgEGJue convert rfc822-to-8bit (ORCPT ); Thu, 7 May 2020 05:50:34 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:46915 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725848AbgEGJud (ORCPT ); Thu, 7 May 2020 05:50:33 -0400 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-68-q6wu39kwO9S6RlXaw1RTZA-1; Thu, 07 May 2020 05:50:29 -0400 X-MC-Unique: q6wu39kwO9S6RlXaw1RTZA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 91E50100CCC3; Thu, 7 May 2020 09:50:27 +0000 (UTC) Received: from krava.redhat.com (unknown [10.40.194.212]) by smtp.corp.redhat.com (Postfix) with ESMTP id 44FD110013BD; Thu, 7 May 2020 09:50:25 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Ian Rogers , Paul Khuong Subject: [PATCH 0/5] perf tools: Pipe fixes Date: Thu, 7 May 2020 11:50:19 +0200 Message-Id: <20200507095024.2789147-1-jolsa@kernel.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi, sending changes that allows callchain detection in pipe mode, fixing followign use case: # perf record --no-buffering --call-graph dwarf -e sdt_rtld:init_start -a -o - | perf --no-pager script -i - plus change that allows to read pipe data from file: # perf record -o - sleep 1 > /tmp/perf.pipe.data # perf report -i /tmp/perf.pipe.data plus unrelated build fix. Also reachable in here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/pipe thanks, jirka --- Jiri Olsa (5): perf tools: Do not display extra info when there is nothing to build perf tools: Do not seek in pipe fd during tracing data processing perf session: Try to read pipe data from file perf tools: Setup callchain properly in pipe mode perf script: Enable IP fields for callchains tools/perf/Makefile.perf | 8 +++++--- tools/perf/builtin-report.c | 33 ++++++++++++++++++++++----------- tools/perf/builtin-script.c | 23 +++++++++++++++++++---- tools/perf/util/callchain.c | 14 ++++++++++++++ tools/perf/util/callchain.h | 1 + tools/perf/util/header.c | 34 ++++++++++++++++++++++++++-------- tools/perf/util/session.c | 9 +++++++-- 7 files changed, 94 insertions(+), 28 deletions(-)