Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp70363imu; Tue, 8 Jan 2019 14:53:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN4lkPfCZfEFCblYEjjMF7/HP+GhKjWhW8g3/sabr5cWt/hO1+LwFqWvZzYQFwoXpokBedta X-Received: by 2002:a63:5c41:: with SMTP id n1mr3058046pgm.1.1546988004514; Tue, 08 Jan 2019 14:53:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546988004; cv=none; d=google.com; s=arc-20160816; b=vjQE1j0COlz5RgU+EqciW05D+Tv+9MT4rZKwihXt70j5YX7xzLRIT8u4EabIY5wuhg WFzGhpfRZBjf3bJARvz0XqQPKTtkGnjO/MFPRsP7q9iz4jP+wOb8ownnnB2jRpMVY6MA hfcMZkq1ClCPKS7O4dAxN6Z7mpIMiuoqJ48JdsaniQPevYZzwBmun6vNdkYe4pD61TE9 fn6XN0zr/ef9IzbD4xe/JpBiMk8QiCs8YmJ+ixu+lFZTrOSf2nwJE1NIdlkGZoMbr4pk QBgAAGS608R78qR7qAiITW0xHzbB/34BhJjj1tn1x7Yxjt7dKS9FjbA4ezVZQS8l0D4r WeBw== 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 :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature; bh=ltxOhMu7Q8QmtXRja4auv6TzHQr9Imj2siVFs8M+p4A=; b=KtGP6jodJhc7VCfoGTVskmDdBybr98rPV/heTBRs4FtPs8o+ZYYfnhiS3L375BvaUA 88F7YLbh5P5x1flDfUPM352QUJ/b3r7/vJfYKD6ct3B5UJ94LGukca1nkXd9kn/5t5in 49RjszIUq2tXVtWJwiseZzsd9+N66rL5o9orlvcYDx7aheaY6jwDPNf3uFjJM1Q7Ll3i N3TvtMetRgX+UztoBmkqEYzXjN4oxkbQwgjc2f5L2U+R7BlDR7lZKvAQuftff73u6uTr eIsEfiSFIVEsUcDnz7j3ZVqupyrDIZI7EqfhtAbv/V6pGITeMqyS1sfCwoRMnrZmV4ie yNew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=IuyXudAd; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=athIkEBj; 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=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si11456431pln.425.2019.01.08.14.53.09; Tue, 08 Jan 2019 14:53:24 -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=@fb.com header.s=facebook header.b=IuyXudAd; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=athIkEBj; 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=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729667AbfAHU50 (ORCPT + 99 others); Tue, 8 Jan 2019 15:57:26 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:45708 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729297AbfAHU50 (ORCPT ); Tue, 8 Jan 2019 15:57:26 -0500 Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x08KtPgS026264; Tue, 8 Jan 2019 12:56:59 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=ltxOhMu7Q8QmtXRja4auv6TzHQr9Imj2siVFs8M+p4A=; b=IuyXudAdCLrHimu8Qr4lHE26FDLTpXV3aAqAsgEUfqonfpszG2LmakLjGdiw1afu5LEQ iD+daCu6Ktlzy/3bA2il5IBf6oNEDJQ35q26gpkxdVdFPnLgWa+GvtiCLsQsYgEBCyD5 mtJHHsSnsnQl6ZekB2jJHX8dEloet6LUe+s= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2pw33u01k1-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 08 Jan 2019 12:56:59 -0800 Received: from frc-mbx03.TheFacebook.com (2620:10d:c0a1:f82::27) by frc-hub04.TheFacebook.com (2620:10d:c021:18::174) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1531.3; Tue, 8 Jan 2019 12:56:58 -0800 Received: from frc-hub03.TheFacebook.com (2620:10d:c021:18::173) by frc-mbx03.TheFacebook.com (2620:10d:c0a1:f82::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1531.3; Tue, 8 Jan 2019 12:56:57 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1531.3 via Frontend Transport; Tue, 8 Jan 2019 12:56:57 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ltxOhMu7Q8QmtXRja4auv6TzHQr9Imj2siVFs8M+p4A=; b=athIkEBjwbykBNAHdzVq1wZ4w+n/Qyea3aKkqES7UjFsgUuEJTA+og/h7uuqnP4vxOSOiN5qRwxjfLspJxRjuB2DV8LpBWx6UGGN+ezLUptxr3TwYM3Hpl5umn6d5/SO/BUUPQIoaOKrR8hO0LPPAhCRQr1ytcA0YJ594PDZ2KI= Received: from BYAPR15MB2501.namprd15.prod.outlook.com (52.135.196.11) by BYAPR15MB2902.namprd15.prod.outlook.com (20.178.206.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Tue, 8 Jan 2019 20:56:55 +0000 Received: from BYAPR15MB2501.namprd15.prod.outlook.com ([fe80::e12c:c450:3e9f:4ef6]) by BYAPR15MB2501.namprd15.prod.outlook.com ([fe80::e12c:c450:3e9f:4ef6%4]) with mapi id 15.20.1495.011; Tue, 8 Jan 2019 20:56:55 +0000 From: Alexei Starovoitov To: Peter Zijlstra , Song Liu CC: "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "acme@kernel.org" , "ast@kernel.org" , "daniel@iogearbox.net" , Kernel Team Subject: Re: [PATCH v5 perf, bpf-next 3/7] perf, bpf: introduce PERF_RECORD_BPF_EVENT Thread-Topic: [PATCH v5 perf, bpf-next 3/7] perf, bpf: introduce PERF_RECORD_BPF_EVENT Thread-Index: AQHUmJHzTcneBvFiJEmnpKLooFaM96Wl0lUAgAAl4wA= Date: Tue, 8 Jan 2019 20:56:54 +0000 Message-ID: <10039e93-a0a5-a712-4051-20f5c5d79fab@fb.com> References: <20181220182904.4193196-1-songliubraving@fb.com> <20181220182904.4193196-4-songliubraving@fb.com> <20190108184116.GC30894@hirez.programming.kicks-ass.net> In-Reply-To: <20190108184116.GC30894@hirez.programming.kicks-ass.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR15CA0072.namprd15.prod.outlook.com (2603:10b6:301:4c::34) To BYAPR15MB2501.namprd15.prod.outlook.com (2603:10b6:a02:88::11) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::7:958e] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BYAPR15MB2902;20:jF4ep1kicvUQlvEWGNp7WiNfnBKChPBWq/Xf3nHtVAA0LzKzsdTAJPoFtuoJzI5dzepVTnM1etqhp0rjzfakeT9kU6tAa/+HHRmpo5wRnUenzmJLKe48nqbi1+JeazEFWMcwA87WMEhllTuWwZkbvtaVegnSpjIxoQQNDP5ZEEM= x-ms-office365-filtering-correlation-id: c45ce96d-d332-41f5-e7c0-08d675abd227 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020);SRVR:BYAPR15MB2902; x-ms-traffictypediagnostic: BYAPR15MB2902: x-microsoft-antispam-prvs: x-forefront-prvs: 0911D5CE78 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(346002)(366004)(39860400002)(396003)(136003)(199004)(189003)(14454004)(6116002)(386003)(6636002)(2906002)(76176011)(229853002)(8676002)(6512007)(5660300001)(53546011)(186003)(446003)(102836004)(486006)(305945005)(11346002)(7736002)(476003)(81166006)(99286004)(105586002)(2616005)(46003)(52116002)(6246003)(53936002)(110136005)(86362001)(81156014)(31686004)(6436002)(6506007)(8936002)(54906003)(478600001)(6486002)(97736004)(106356001)(68736007)(36756003)(4326008)(31696002)(71200400001)(256004)(71190400001)(316002)(25786009);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2902;H:BYAPR15MB2501.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: QoCbTl+ffOsakbDgj4tnjmoDFyy432tKWr9/cxzhW++sp117025b+Hy48qhmt8hwcaiMyaW2DPUSoGFvZYh+om8GqsnN9Xs32WjHiYg2K+aIfACOfxQbcQBHR44kE+lqII9cm7DJTZvrw1TxZfm8jgYJJYms1y/I2w8YA3n6/991jEWZIHpbFx3NymbFur11qJ738+r1uAFGu9W+1Oqmtdo6rpgIAxBMWGAO8l3bHQpHOj1KfC/BZxqikDzvnuMAONTD/lDcEqFLiA+VkB30ZxtOUg/S3hQbGLE6J6G67qGeBFh4MR8NI0z6O6DQtuKV spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c45ce96d-d332-41f5-e7c0-08d675abd227 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 20:56:54.9567 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2902 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-08_11:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMS84LzE5IDEwOjQxIEFNLCBQZXRlciBaaWpsc3RyYSB3cm90ZToNCj4gT24gVGh1LCBEZWMg MjAsIDIwMTggYXQgMTA6Mjk6MDBBTSAtMDgwMCwgU29uZyBMaXUgd3JvdGU6DQo+PiBAQCAtOTg2 LDkgKzk4NywzNSBAQCBlbnVtIHBlcmZfZXZlbnRfdHlwZSB7DQo+PiAgIAkgKi8NCj4+ICAgCVBF UkZfUk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