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=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,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 869C7C04AAF for ; Thu, 16 May 2019 15:22:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 531B020657 for ; Thu, 16 May 2019 15:22:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="s2FvymI8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 531B020657 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gYPYY6ZDOAibA11GobdXl7VExhC3NRZU+KDgnTZa0Io=; b=s2FvymI8cnap3itG/+dBibmv1 eZSNKe9UzzqjHwP3DZkc3MUF3rrZcXCVxgQ+KVey2sD0Doy/iticlaQ8pjhIkMdkXQp+gmzVSa1GR jv/QLZkzv/I31BvFohGcUjEgwinrWLF2vd9535Tf7+6n+p/YiV7xNqLL53J/hpjg9ehDagvwE2X6J NtHJ6MytkOOSvbbes2iFBMP2D/AyhWMlEhVROD0bc20O749OQTvlZTCXXdCZ8TGbUDg032cYGXs5X Gelf6gMHmguJC7cF3bCApZnGQPnLmh9na98qza/Q7ur61mpp6fbMTDHCp4PlOPFUI8eEm7e1OJPjp EbOFI1t8g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hRIDI-0001G4-Cb; Thu, 16 May 2019 15:22:32 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hRIDE-0001Fh-OU for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2019 15:22:30 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 94AF01715; Thu, 16 May 2019 08:22:26 -0700 (PDT) Received: from [10.1.196.93] (en101.cambridge.arm.com [10.1.196.93]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1940B3F71E; Thu, 16 May 2019 08:22:24 -0700 (PDT) Subject: Re: [PATCH V2 5/6] coresight: perf: Don't set the truncated flag in snapshot mode To: mathieu.poirier@linaro.org, linux-arm-kernel@lists.infradead.org References: <20190514194018.23420-1-mathieu.poirier@linaro.org> <20190514194018.23420-6-mathieu.poirier@linaro.org> From: Suzuki K Poulose Message-ID: <478c71d9-d13e-96f5-5a07-bb48c7166b5d@arm.com> Date: Thu, 16 May 2019 16:22:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190514194018.23420-6-mathieu.poirier@linaro.org> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190516_082228_802613_33A1C153 X-CRM114-Status: GOOD ( 13.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexander.shishkin@linux.intel.com, coresight@lists.linaro.org, acme@kernel.org, peterz@infradead.org, mingo@redhat.com, leo.yan@linaro.org, mike.leach@linaro.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 14/05/2019 20:40, Mathieu Poirier wrote: > This patch avoids setting the truncated flag when operating in snapshot > mode since the trace buffer is expected to be truncated and discontinuous > from one snapshot to another. Moreover when the truncated flag is set > the perf core stops enabling the event, waiting for user space to consume > the data. In snapshot mode this is clearly not what we want since it > results in stale data. > > Signed-off-by: Mathieu Poirier For patches 2-5: Reviewed-by: Suzuki K Poulose _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel