Received: by 10.223.164.221 with SMTP id h29csp878384wrb; Wed, 1 Nov 2017 06:58:45 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SB+QbKf7j5Eldtp3ijbbquPpZ0V2O9IJt1ye5LJ8whB1WJSZJLdlwo2jdwe1c0EXJ5baHU X-Received: by 10.98.249.5 with SMTP id o5mr7280116pfh.54.1509544724907; Wed, 01 Nov 2017 06:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509544724; cv=none; d=google.com; s=arc-20160816; b=T0OTXcw6SIN7u3UJ0nR8znjjfNIcxoJ7AVzT8smbtTjo6nKDQp67lMmg/PQg6moACj OXvvXyGsXa8JofmySyK7XP7sYRoI1+NWM/L7VCD7F6AfvLsvbhNapG0eG1LBt6bLoaDa WcIfT/+f2G3kVNZDHUb3kDKkqRLcRYCjOgn9h9eA15lB41ctizKrebyRb4/EW6+3Pv1+ F1a4MTyBzSf7gvYjhnlPcTgLGQpXYihwCswurOic+toW8GCEV42riRLu+c/VHJLmqx39 TYz8cZKxjQ7or7Ih90mnrDJ4WWHo47A/LR0/zGDZEym/54zR9uz1EwKMiZqZLfHslmwB S3Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=s0pH3pBHptbbf9KT4STcRcQsnJI21DjfmCuc7UY8ylk=; b=PGzeiAc4bPDHrQmznqUKFdj1ukcMSVBGqOgB1MzS9OM9R9WfufFtXyjhF3YtUsVWR8 RRMcaTIHDShfliELjAOb2sxgmZLSw/APeJ3AO263JnLHtWZsd2MJlwzPZW3t0UeVEjb0 M1JzL3t7EfEL8/kLycflBstsfw9ZC39H5B0KAirZfT6fFBYehPMSiknrl7q9lLIvvvtl DPn+XPRBQky+XYkEqDHSheD3jaw2y1+7/nQKp1PfYeqxmai1dL8iiLmh5GoWikQGf6GK P+5rT12p4Zk49qBTMOgOgvtVwJQbjn7R8X7xdu6tZwDv5DVd3tGqrNp7ERVOzrpz6Lrc H5Rw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s67si1057187pgc.832.2017.11.01.06.58.30; Wed, 01 Nov 2017 06:58:44 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754553AbdKAN5w (ORCPT + 99 others); Wed, 1 Nov 2017 09:57:52 -0400 Received: from mga02.intel.com ([134.134.136.20]:5966 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752435AbdKAN5u (ORCPT ); Wed, 1 Nov 2017 09:57:50 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Nov 2017 06:57:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,329,1505804400"; d="scan'208";a="1212837627" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 01 Nov 2017 06:57:49 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 1 Nov 2017 06:57:49 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 1 Nov 2017 06:57:48 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Wed, 1 Nov 2017 21:57:47 +0800 From: "Liang, Kan" To: "Wangnan (F)" , Namhyung Kim CC: "linux-kernel@vger.kernel.org" , "acme@kernel.org" , "jolsa@redhat.com" , "kernel-team@lge.com" Subject: RE: [PATCH 1/2] perf mmap: Fix perf backward recording Thread-Topic: [PATCH 1/2] perf mmap: Fix perf backward recording Thread-Index: AQHTUtXZD2mToCc3eE2DfG6L0BK9oqL+waOAgAAMHQCAABhjgIAAAv2AgACe3VA= Date: Wed, 1 Nov 2017 13:57:46 +0000 Message-ID: <37D7C6CF3E00A74B8858931C1DB2F077537DC1FA@SHSMSX103.ccr.corp.intel.com> References: <20171101055327.141281-1-wangnan0@huawei.com> <20171101055327.141281-2-wangnan0@huawei.com> <20171101094929.GB25146@danjae.aot.lge.com> <20171101120007.GA26623@danjae.aot.lge.com> <109f02ef-5dc2-94f9-e850-572c498781ee@huawei.com> In-Reply-To: <109f02ef-5dc2-94f9-e850-572c498781ee@huawei.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWM1NDk2NmYtYzM3YS00NGRhLTkzYTEtMWExYjM3NDczNWQ3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InBoRlFnZUZNOUZyQVVBdk56QWlTSTB0Y2ZlVlBxQmhwWU5yN1wvVUw4SVNNPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBPbiAyMDE3LzExLzEgMjA6MDAsIE5hbWh5dW5nIEtpbSB3cm90ZToNCj4gPiBPbiBXZWQsIE5v diAwMSwgMjAxNyBhdCAwNjozMjo1MFBNICswODAwLCBXYW5nbmFuIChGKSB3cm90ZToNCj4gPj4N Cj4gPj4gT24gMjAxNy8xMS8xIDE3OjQ5LCBOYW1oeXVuZyBLaW0gd3JvdGU6DQo+ID4+PiBIaSwN Cj4gPj4+DQo+ID4+PiBPbiBXZWQsIE5vdiAwMSwgMjAxNyBhdCAwNTo1MzoyNkFNICswMDAwLCBX YW5nIE5hbiB3cm90ZToNCj4gPj4+PiBwZXJmIHJlY29yZCBiYWNrd2FyZCByZWNvcmRpbmcgZG9l c24ndCB3b3JrIGFzIHdlIGV4cGVjdGVkOiBpdCBuZXZlcg0KPiA+Pj4+IG92ZXJ3cml0ZSB3aGVu IHJpbmcgYnVmZmVyIGZ1bGwuDQo+ID4+Pj4NCj4gPj4+PiBUZXN0Og0KPiA+Pj4+DQo+ID4+Pj4g KFJ1biBhIGJ1c3kgcHJpbnRpbmcgcHl0aG9uIHRhc2sgYmFja2dyb3VuZCBsaWtlIHRoaXM6DQo+ ID4+Pj4NCj4gPj4+PiAgICB3aGlsZSBUcnVlOg0KPiA+Pj4+ICAgICAgICBwcmludCAxMjMNCj4g Pj4+Pg0KPiA+Pj4+IHNlbmQgU0lHVVNSMiB0byBwZXJmIHRvIGNhcHR1cmUgc25hcH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