Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1762155pxy; Mon, 2 Aug 2021 09:35:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+iGvaY9iLAMhz3VkB7NO/8/dJSlgtLnnUI9jRoKGQ2LRqheWqLaYQCGl+j3EGAsuU0fQ1 X-Received: by 2002:a17:907:20c8:: with SMTP id qq8mr15576227ejb.213.1627922118784; Mon, 02 Aug 2021 09:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627922118; cv=none; d=google.com; s=arc-20160816; b=xcZ0egeAcNStyR+0VtBG7JJl1VnOc1aYmGHBVfXe+LppPl5+UHWBUEq8Zk9b6bEU3P mq3lp53qP25RYdjsLQxXcLIe/ruUKtfqoD3LX6moMCfvtxTe2VVk6eDgONr73NDYwcHM CMzhJtwCE4kdHJUeDE6zc4X8828HminaqQ4R3SazrLnuhSPeI3AIOPRDOf7V9ap1uGdm XHRGDcLJmWYEy1Lhk8B8YqJsp1f+EMkfCv9DtIBGxLpMIuAw3a1wqx7IPzA7lb7GlS1T eD7fn0o9HWU6BWfyIVPmfRFopUF5jOgYC2Ya0k3n9ExEqo741q5PGczcVgPgqde5DLF1 RKfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=JmBOQh62T1UV9eRoKSnknXI5E7fc6g51r7kEChZ41/A=; b=FkTeoJ1wWlBWY+bitHpd1tQjqPxN3hQJO29P+01MzlynLobBEiX0BCVPB3FdssuTKv UhdhxMr8CJq+GHl3a8KSpLG4zKSf08TBRWMctELAhoaK+U6ST+KDU2CfWs2LZkFzz8yH KocZHBQcC3UPZi/qh+x6difcyqzLqz9ZufW2B86RBMdFpSr5hNUQoUn6JCLuxCszqSMF 83ndRpNKSYuzvcIXj6DGHHF142Ez2WG+tYeIgKX/SLNJxmkvxw9cKaRMveh6JVA/ynhd kFraV+aj9My7qmRL6Zzn33nZL/XYJxZZceahq/2whl2HRbnsblug9oB20/jo5N9VuyWg Kahg== 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 m1si10837418ejj.198.2021.08.02.09.34.54; Mon, 02 Aug 2021 09:35:18 -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 S232267AbhHBQdh (ORCPT + 99 others); Mon, 2 Aug 2021 12:33:37 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:43742 "EHLO mail-lf1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbhHBQdh (ORCPT ); Mon, 2 Aug 2021 12:33:37 -0400 Received: by mail-lf1-f49.google.com with SMTP id b6so11975149lff.10 for ; Mon, 02 Aug 2021 09:33:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JmBOQh62T1UV9eRoKSnknXI5E7fc6g51r7kEChZ41/A=; b=P9klfYdbU+OVdE9AXz84+gzNfpAD+G9pdyd9//47WeUutANhwp5lzXTxNyTXiKIB3y 7JGHHneahawtmMq2lLLlT0OdNqkX4sCUMGZipGoBzCNxakT3tQe0HmJDyQOYZUsPPPUF xfuUXa37EJjq2as9ne47d//dehFAP0PyqHcnjGpg3Pegj4lplSd01AJF3+cvXcwKxLVp fXj6MjvyaoJHhZKchrGTu9M2C/Q6/q35Dc7J9WbbnD7XU2zrV2Zbf4xYA273h/jNmjDQ cOyYA0H4tUyu81OwzsgolNJ8FXSVjQgLf9BwhtKMGKzS76zAlmdnFNbb6dnecaYfcpT/ E/Cw== X-Gm-Message-State: AOAM532ahon9Ra5or6ZvwGatemkITwFkPcAREdXg3TUQxU/P52YJqUQ1 W26fqlDlSvWc0o2CyOUubMXK57XzNQ0OrHq9N5s= X-Received: by 2002:a05:6512:3ba7:: with SMTP id g39mr13948336lfv.494.1627922005673; Mon, 02 Aug 2021 09:33:25 -0700 (PDT) MIME-Version: 1.0 References: <20210719223153.1618812-1-namhyung@kernel.org> In-Reply-To: From: Namhyung Kim Date: Mon, 2 Aug 2021 09:33:14 -0700 Message-ID: Subject: Re: [PATCHSET v3 0/5] perf inject: Fix broken data with mixed input/output To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Ingo Molnar , Peter Zijlstra , LKML , Andi Kleen , Ian Rogers , Adrian Hunter Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnaldo, On Mon, Aug 2, 2021 at 6:16 AM Arnaldo Carvalho de Melo wrote: > > Em Tue, Jul 20, 2021 at 11:01:43AM +0200, Jiri Olsa escreveu: > > On Mon, Jul 19, 2021 at 03:31:48PM -0700, Namhyung Kim wrote: > > > The perf inject processes the input data and produces an output with > > > injected data according to the given options. During the work, it > > > assumes the input and output files have the same format - either a > > > regular file or a pipe. This works for the obvious cases, but > > > sometimes makes a trouble when input and output have different > > > formats (like for debugging). > > > > * changes in v3 > > > - use task-clock:u in the pipe-test.sh > > > Acked-by: Jiri Olsa > > Thanks, applied. > > Had to do some adjustments due to minor conflicts, can you please check > tmp.perf/core? Thanks, it looks good to me! Namhyung