Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10320128imu; Wed, 5 Dec 2018 21:47:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/WSlq1xlUNiqXCELszq6CiINN0a7q+KZmmRiCGe4NRMTg958Ut2w0EHqrdQi++9EZMX4y5H X-Received: by 2002:a63:82c6:: with SMTP id w189mr22104160pgd.344.1544075226274; Wed, 05 Dec 2018 21:47:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544075226; cv=none; d=google.com; s=arc-20160816; b=fVcEJVKK+FMJYQN1MMXvPcHumDKMal9rrLvGsSiUKlkvxJSvIgxbVZ/DhRrDIFmoYW sdAxPtkw7sWNTRBfQolezxB4WW00LqUGgnVd5i/XP9nd7EL8W/eKcoZjm8Fm0CCscoc2 TrBI2nac5p7f7HMzZpLg+mDUklfqByuMRSAyjScuSqVtKqAV8aNK0ceu+hChUkLLTuQs 3I2r7lJfxv2K8J8IAnEVQSmi7HT45fLNp9j6xuCIkUivE7BLIGm0CZRHdHniaXDi6ac2 yXflMUftoTa3sBsHhUHprr/zCtoGSSFeCcVW+anzC/FA2FJMTSwdZwtrIT5jHt7pFx9v HK6g== 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=9edkJWCLt7sQ9fhpxgG40pGGEUkb70TMl96x5JqM0ZM=; b=Bs3J1EMnq8gk35rMv7w6x3ZmVRTUmATunzsU28sFKmoWqZeMKR3dWkcob+B8Wnv/9m crTuHI5MRYuGW7wWzxAAQ3S+O0SY/WJsb3GvBA5lZqf2WxKNRz/POPFsUR0M5JbuGlLg xlmcZhmlByQA4M6BFADYh0r7Z6RpbGuTsmoIB0YjI8gDk33a++GoW8YOPEkPxkS8EFX6 UZ8INRho9b4gdO+1BwdzydlVeq4sjgvAdyvhFi/BB7SY120pXudVuBhKSVkqgo+dBx6f akhgwDC90SGABxrQjg/a2x1rXNPfFBAjSHKSf0w5DQrQb1ZbD7pd20bP1PMJ5uaZkhlr JDmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DVLVzAlx; 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 a185si19043570pge.404.2018.12.05.21.46.49; Wed, 05 Dec 2018 21:47:06 -0800 (PST) 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=DVLVzAlx; 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 S1728953AbeLFFqE (ORCPT + 99 others); Thu, 6 Dec 2018 00:46:04 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39520 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728294AbeLFFqD (ORCPT ); Thu, 6 Dec 2018 00:46:03 -0500 Received: by mail-wr1-f66.google.com with SMTP id t27so21948060wra.6 for ; Wed, 05 Dec 2018 21:46:03 -0800 (PST) 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=9edkJWCLt7sQ9fhpxgG40pGGEUkb70TMl96x5JqM0ZM=; b=DVLVzAlx4WAet+GkDXPI5Ps5vDzDGT61PsUO2+Z1ojWgf8aAzvk9+nq7pqfIjimruo n1uQK4TpHXdUJHOLQosYhMoW6QdzkTa6Wzd/X3/+Zlu8sdLrvi9GXD/wdIqwl/udTnF/ 9V0iGGlWb2yYsW45QPyqyTurZlFbQzNeLtjzo= 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=9edkJWCLt7sQ9fhpxgG40pGGEUkb70TMl96x5JqM0ZM=; b=INYXjhVgyvRcV/N/6Exu/4Ac+3QMd46+jeevNjWaBCiuZIfxJ87siCybwPTNo19DvM u4M31tn9Ha1T8y44kz2E58AYqIeaMzbclRZkV1jKOdYhI+fqWvXH72xAmH6rB7+9ICfO TT8LsylHRZLicVxibDBPWP6VSmEHwSG5UF+/otfPGY/Chh5/mg5Oay6f2px2+1gfTGeX RvZOukfVjQ1CtVpNvy3onXPnlZ0nQ/puwUdxZwWtuoU0WlqCv//CqZqMmyapIan2eie8 un8BCRxCmEVie6qwCKg8UZvMSFjWXiIe+2cR/nvzia0nIwhSMaf97vHKsf+OEPs+FBIt zF8w== X-Gm-Message-State: AA+aEWayx38bIYb0ZGVcvOUIov5GsUhibiuyj39397u/J+DGSMTrW7yW yVUSKSzDhCxyU9KDb4bEmiV40g== X-Received: by 2002:adf:ae41:: with SMTP id u1mr22847147wrd.20.1544075162336; Wed, 05 Dec 2018 21:46:02 -0800 (PST) Received: from leoy-ThinkPad-X240s ([209.250.228.18]) by smtp.gmail.com with ESMTPSA id n6sm11468423wmk.9.2018.12.05.21.45.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 21:46:01 -0800 (PST) Date: Thu, 6 Dec 2018 13:45:53 +0800 From: leo.yan@linaro.org To: Mathieu Poirier Cc: Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel , Linux Kernel Mailing List , Mike Leach , Robert Walker , Al Grant , Coresight ML Subject: Re: [PATCH v1 3/5] perf cs-etm: Support for NO_SYNC packet Message-ID: <20181206054553.GB4244@leoy-ThinkPad-X240s> References: <1541912383-19915-1-git-send-email-leo.yan@linaro.org> <1541912383-19915-4-git-send-email-leo.yan@linaro.org> <20181119182759.GA608@xps15> <20181205033145.GA15964@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10+31 (9cdd884) (2018-06-19) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 05, 2018 at 10:48:45AM -0700, Mathieu Poirier wrote: [...] > > So I think there still have some difference between TRACE_ON and > > NO_SYNC packets, TRACE_ON packet indicates the start of trace and it's > > also possible caused by tracing discontinuity; NO_SYNC packets usually > > caused by an unsynchronised state. But both of them presents > > discontinuity in perf trace data. > > > > I prefer to use two different packet types to present them, this can > > let the code to be more readable and easier to be maintained later. > > Absolutely. Make sure to get to the bottom of the story with Mike > and/or Robert before sending your next patchset. Sure, will sync with Mike/Rob. Thanks, Leo Yan