Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2474774imu; Tue, 6 Nov 2018 15:31:52 -0800 (PST) X-Google-Smtp-Source: AJdET5fyf4m3q2UDItzXWvypFBNAGiVmTtrB7azebqTvDJ2jtTkTPyr5cBrjJaMolEh1KbDcAkNr X-Received: by 2002:a63:4c59:: with SMTP id m25mr1479341pgl.173.1541547112816; Tue, 06 Nov 2018 15:31:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541547112; cv=none; d=google.com; s=arc-20160816; b=JSYs/1rVe1OaHCiY86vEFUxG18+Ui55TYSbjPJsnSknZYDMhM6QYR2AumsNSU89ID1 EBcRdhC/vuamLICZVhipb55EMyGv0WZB1d6blfN73gTt1AXy4gaJ6ZQD5pegflbcvzy4 2v/M4hbixEL26O9CUbqeQuic7l/3UeqPMJe5StueaZt6Iw+/bqw/YdYiXwvzT6mNbOEU vRYMEEMoArqBlbceK7UPAdiuAycFbTnzroRTsEuVVAJnodKylWSLrSM2xlPHg7btf7ZU EBeafY9gSzDcer8pKO1iDGSVJ4ZxR6jFoyTSaNKGEVfN5mfi1+UtYbFfG/VUQFANU9UH ZaoQ== 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=ckCaaNPjUkOpHccZJcsh32U8UjU2hyIOM5m3Yi07irg=; b=wjAuiK4MLeCNmLjOw/XTHSzTORRXYaQXksAAUpQeTS6J6pRAB6OO7kda4yq2aB//y0 Ndmm/ZIXFeT+9J1dmo8auOwdPdqcVS4v2kGymtySBZ1/LlFQgPVOw0mKvx5TUsTghwX+ ESKaR3ohS2e3GHVJRSYl7FaMdEf7o3sstDNftGkiGQu6/LbDMbhJxjNQeEW3mAB849jR U7n8X+coxsw67E+HBN1N9Xul+YOtO/Z0sVZelIE/LNkUPL/zNcfhUiN5jL2wAlkEVqEq gq09HhI98KZ6x4ppYg5GLDVBCCKMpjsVVIYAzCNb6L1VA8Fw5gQnnAz5VK33UvjdBR6O W6hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=ULA5WDJL; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=GeN6eDrn; 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 y7si14778337pgc.236.2018.11.06.15.31.34; Tue, 06 Nov 2018 15:31:52 -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=ULA5WDJL; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=GeN6eDrn; 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 S1731031AbeKGI50 (ORCPT + 99 others); Wed, 7 Nov 2018 03:57:26 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:35122 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730409AbeKGI5Z (ORCPT ); Wed, 7 Nov 2018 03:57:25 -0500 Received: from pps.filterd (m0001303.ppops.net [127.0.0.1]) by m0001303.ppops.net (8.16.0.22/8.16.0.22) with SMTP id wA6NRTKG026850; Tue, 6 Nov 2018 15:29:11 -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=ckCaaNPjUkOpHccZJcsh32U8UjU2hyIOM5m3Yi07irg=; b=ULA5WDJL2ouazsfDPPiwwB30w4M87zgM2WiuAMuKahHSzRUb3qctrb+Rsnf0qh6iOhqm Nkk+oiQE1tRyRhZc3m4tfHK8oXJ0F85Qq04xoyF7lZRxQ+wsTS1+2yl7vMiQQZfP7TsG /0W+6xlFc7TPe7nhijmeAS7jFfwrKt9YZFk= Received: from maileast.thefacebook.com ([199.201.65.23]) by m0001303.ppops.net with ESMTP id 2nkjua0bqe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 06 Nov 2018 15:29:11 -0800 Received: from frc-hub02.TheFacebook.com (2620:10d:c021:18::172) by frc-hub02.TheFacebook.com (2620:10d:c021:18::172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1531.3; Tue, 6 Nov 2018 15:29:09 -0800 Received: from FRC-CHUB09.TheFacebook.com (2620:10d:c021:18::28) by frc-hub02.TheFacebook.com (2620:10d:c021:18::172) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3 via Frontend Transport; Tue, 6 Nov 2018 15:29:09 -0800 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.29) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 6 Nov 2018 18:29:09 -0500 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=ckCaaNPjUkOpHccZJcsh32U8UjU2hyIOM5m3Yi07irg=; b=GeN6eDrnTrrQZN+ExfQXIQ/SuXjHaDfHYoI6VAR2HTqD3a4K5rScC7UiAyTuF8E4B+p4ZlIWvxbWGHxbAoai6GiH8wtwCIDSttDbaV80dB91QCsD9IVfz1+B4H6TsJCaRdrzD3ekJJ/gtrUAYLypjhdgeHuXpOArMdBc/fo/9oQ= Received: from BYAPR15MB2501.namprd15.prod.outlook.com (52.135.196.11) by BYAPR15MB2328.namprd15.prod.outlook.com (52.135.197.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Tue, 6 Nov 2018 23:29:07 +0000 Received: from BYAPR15MB2501.namprd15.prod.outlook.com ([fe80::ed40:7ac9:3043:5bc1]) by BYAPR15MB2501.namprd15.prod.outlook.com ([fe80::ed40:7ac9:3043:5bc1%2]) with mapi id 15.20.1294.034; Tue, 6 Nov 2018 23:29:07 +0000 From: Alexei Starovoitov To: Song Liu , David Ahern CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Kernel Team , "ast@kernel.org" , "daniel@iogearbox.net" , "peterz@infradead.org" , "acme@kernel.org" Subject: Re: [RFC perf,bpf 5/5] perf util: generate bpf_prog_info_event for short living bpf programs Thread-Topic: [RFC perf,bpf 5/5] perf util: generate bpf_prog_info_event for short living bpf programs Thread-Index: AQHUdhL1gT1g6kXc4U+H9DJqSIZu3qVDSleAgAAXY4CAAAMiAA== Date: Tue, 6 Nov 2018 23:29:07 +0000 Message-ID: <27fc8327-3390-ba5a-6063-89c9e7165e7b@fb.com> References: <20181106205246.567448-1-songliubraving@fb.com> <20181106205246.567448-6-songliubraving@fb.com> <6C5A9FBD-F50D-444C-9038-E9557EC850D2@fb.com> In-Reply-To: <6C5A9FBD-F50D-444C-9038-E9557EC850D2@fb.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR10CA0064.namprd10.prod.outlook.com (2603:10b6:300:2c::26) To BYAPR15MB2501.namprd15.prod.outlook.com (2603:10b6:a02:88::11) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::7:62d8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BYAPR15MB2328;20:WyTF6F78Vspq2xdV0bwXgPoRkUcb3xcDX6RDmF16MOFfp8mwlKQQmjW0ub4It1IyxFfU7f+x3b29vFPF36Cgv0rb+WKApIDP/H9OZhRSX9mLMnDvsb0pzl9W2s4jPy4khyvmgXD3Q12E1ypZsKKM7V+HxORyRNljlQkzFR2yUW4= x-ms-office365-filtering-correlation-id: a56138ef-604c-4f67-c158-08d6443fa571 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:BYAPR15MB2328; x-ms-traffictypediagnostic: BYAPR15MB2328: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(3231382)(11241501184)(944501410)(52105095)(10201501046)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:BYAPR15MB2328;BCL:0;PCL:0;RULEID:;SRVR:BYAPR15MB2328; x-forefront-prvs: 0848C1A6AA x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(376002)(396003)(346002)(366004)(39860400002)(199004)(189003)(52116002)(97736004)(53546011)(2900100001)(478600001)(6506007)(36756003)(102836004)(86362001)(71190400001)(71200400001)(53936002)(5660300001)(76176011)(386003)(6116002)(68736007)(186003)(256004)(6246003)(31696002)(446003)(11346002)(486006)(7736002)(2616005)(476003)(229853002)(6436002)(2906002)(6486002)(8676002)(81156014)(8936002)(81166006)(6512007)(46003)(305945005)(39060400002)(31686004)(106356001)(105586002)(99286004)(4326008)(93886005)(14454004)(25786009)(110136005)(54906003)(316002)(142933001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2328;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-microsoft-antispam-message-info: 2+518YVgwDf6o/LbkRCWn5HWbf0DPNhcXu/JuM+a8joIlhEgL1/5adS1y9kuTvm9VbmFjHHjnhMYpJCkauCcMJSmnRb33NsGx9VPAYgvoZn+dNqusc5W8rU21fXqJNL2VoxhyZ/qhlp87hPqd5D9CQyhb5RLhspCDUoJ9/7wT74j7KvyPi87CUjg1jVy4ZXiGtkMva31wWgrMfBnJu53q2IykCBEmWzAheZyvk60HYFVG1SIQQuZF0LTKmp3F+Fy0HVuQDeY8a+09RDCYj9kcEb3wFrq3uv4hz3I+A3f2nlBkBHugO1mj0OrSqgDFwn8Ag21a4fJm7icMGfXV3nSoSbiV8/7SipcMbrdIilfJXg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <85E2B6C0720FAA4EA429ECF80B658C8E@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a56138ef-604c-4f67-c158-08d6443fa571 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2018 23:29:07.4772 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2328 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-06_13:,, 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 T24gMTEvNi8xOCAzOjE3IFBNLCBTb25nIExpdSB3cm90ZToNCj4gDQo+IA0KPj4gT24gTm92IDYs IDIwMTgsIGF0IDE6NTQgUE0sIERhdmlkIEFoZXJuIDxkc2FoZXJuQGdtYWlsLmNvbT4gd3JvdGU6 DQo+Pg0KPj4gT24gMTEvNi8xOCAxOjUyIFBNLCBTb25nIExpdSB3cm90ZToNCj4+PiArDQo+Pj4g c3RhdGljIGludCByZWNvcmRfX21tYXBfcmVhZF9hbGwoc3RydWN0IHJlY29yZCAqcmVjKQ0KPj4+ IHsNCj4+PiAJaW50IGVycjsNCj4+Pg0KPj4+ICsJZXJyID0gcmVjb3JkX19tbWFwX3Byb2Nlc3Nf dmlwX2V2ZW50cyhyZWMpOw0KPj4+ICsJaWYgKGVycikNCj4+PiArCQlyZXR1cm4gZXJyOw0KPj4+ ICsNCj4+PiAJZXJyID0gcmVjb3JkX19tbWFwX3JlYWRfZXZsaXN0KHJlYywgcmVjLT5ldmxpc3Qs IGZhbHNlKTsNCj4+PiAJaWYgKGVycikNCj4+PiAJCXJldHVybiBlcnI7DQo+Pg0KPj4gU2VlbXMg dG8gbWUgdGhhdCBpcyBnb2luZyB0byBpbmNyZWFzZSB0aGUgb3ZlcmhlYWQgb2YgcGVyZiBvbiBh bnkgc3lzdGVtDQo+PiBkb2luZyBCUEYgdXBkYXRlcy4gVGhlIEJQRiBldmVudHMgY2F1c2UgYSB3 YWtldXAgZXZlcnkgbG9hZCBhbmQgdW5sb2FkLA0KPj4gYW5kIHBlcmYgcHJvY2Vzc2VzIG5vdCBv bmx5IHRoZSBWSVAgZXZlbnRzIGJ1dCB0aGVuIHdhbGtzIGFsbCBvZiB0aGUNCj4+IG90aGVyIG1h cHMuDQo+IA0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