Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp583856ybj; Thu, 7 May 2020 02:52:23 -0700 (PDT) X-Google-Smtp-Source: APiQypJtgHkqXV5wS/idyGW0YM7Z8dr69MMKPrCud3OBOSVabds3VQW0zvL7OE90VPLFEwEacw94 X-Received: by 2002:aa7:cf16:: with SMTP id a22mr10843622edy.77.1588845143117; Thu, 07 May 2020 02:52:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588845143; cv=none; d=google.com; s=arc-20160816; b=QIt3/Y96/ZTOeeteeckYZs4r1JirGMUcB2SWBtb48JlARmGrNIPir/d2okyCVP94R+ iwixgVM/alzqScJf4k05w+yfZDvOHPcnwkSVSsHR6gVvLUAQCWP2wLeHerlydlJ0gHvz ugCVm+jeu4zAOe3IO0wFCrVCK8UkvMPd87wRrayz8B/kMdWjX5z/S2BWL54TmEqMpBe8 zMqI4owaSJaNMlwUdF/NV8q6oElq3CnrbfZuD7CqSpofPjb331lxJBf9jkYKCFPl60R0 IFyajw5IKofRWtPCKXl06fgK6vOhp5oTh6o6yRkk2ooBg4PfQy5+yzLc+jcbkSYu5M74 trPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=sXK80aGpTxSkhY1EDB64BJ9upSOi1rLOwpGDxA+TdLg=; b=MG4ZYEdscuKConDKCVtNizSZJIclfyJcpqFHSZdys7TbvxZylX7lVSJAsA/jJaF5Ab VuIIozpkMGk/AVGDczb3Q3se8aocqZdkgHjkPMpZO2QISVSplIJQUxSkonH52kV84G4P wVlBuVL6cU5fzztix/DXpk/sF2Q+iWZIcTmbpQozoIqmSZVRw6wd28Qjg5pv5DigPXVq PdTcIo/lGHHqF11fVBJLU+pb3iQnMIeXm7B8WM8xe1Br9ln9CN1gKqaEuwZiY8qgNceH YSriSlrRgIZ3TEfxsQ4ayvYN3r2rHCbwonqwsxFE5D3gBb/L5nlIAuE9jJdWWTuO4o40 4JXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn15si387777ejc.66.2020.05.07.02.51.59; Thu, 07 May 2020 02:52:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726521AbgEGJue convert rfc822-to-8bit (ORCPT + 99 others); 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(-)