Received: by 10.213.65.68 with SMTP id h4csp3443690imn; Mon, 9 Apr 2018 21:59:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/EFG6D/hP9X4nBRuupqSXF7m/rvfnQmyeu+RXcCsHi+sOa1KE67ZQjBYWe8qYNjQnEUvaP X-Received: by 2002:a17:902:9001:: with SMTP id a1-v6mr40675807plp.211.1523336366762; Mon, 09 Apr 2018 21:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523336366; cv=none; d=google.com; s=arc-20160816; b=HrzwXL+AwG0kdu9+x022c0RbtEsREjC7El0YYn3s9DYV8XvbcJQcGOxcYw8s58i4qi RvJLiAxItznejZH4zYK9fD7J44NJyvCxZgwl8gH9LPVflZC7tZxaJRxShL45bW3B1qLy RaO552LLFHd7UCty3y184uHjeSce89H/4BN+28t4jtieT6atuX4OwxV3fLHRgkobrY8H zoNtNzBLsXl37fsSezfvrqilqSwjmNhjhZTmkFkgxRVA2kK6huOsv6bOi6zRyJ68yWDp M3SsdC7sK4aWihRdSXGEZh/o2ckN9HZvNdA8VS6b7reUGa1ClrHBj+t/b4aiggHf5N/y 9grQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:dkim-signature:arc-authentication-results; bh=HrEiVWjLl61bG5A6n6YmdCywoPMb8sGXNZDbw2M73pc=; b=1K/MCBwvc2DY1eD4ppx4TLX3XV37djFZ+6pFSR8ql6SVe1rzu+5JX7FJe0yqZzZqom hNvbAbpi3QcIuvurhdstOIsrWaAwN8yKEPRSSnjp7u7hEPcpaRNLlWvCM8GTEiDuOXR5 e0hmY+z79u04Zg8cT3C4Ectja1+G9F80Q7uL4TZ1UgRNr3htnRnI5Amv6jhE6xjShPBX lMdctOzeQRiSa7+YqR04waH1driBjX6FLw9vnhonLKEozj/oDZ8r4FgrYRrGGHWs4V4V KmMbD90YWo43evDrkkG0Xm5kuuDGJ3vqgFdqh/dRuAIS04WyAmNMfE+1OMVd3Qm5DSi9 dYhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=ckCpRGjR; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=ibJm8ADr; 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 f16si587728pgt.800.2018.04.09.21.58.49; Mon, 09 Apr 2018 21:59:26 -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; dkim=pass header.i=@fb.com header.s=facebook header.b=ckCpRGjR; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=ibJm8ADr; 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 S1751992AbeDJE4I (ORCPT + 99 others); Tue, 10 Apr 2018 00:56:08 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:57318 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751589AbeDJE4F (ORCPT ); Tue, 10 Apr 2018 00:56:05 -0400 Received: from pps.filterd (m0044008.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3A4s6Xk003672; Mon, 9 Apr 2018 21:54:52 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=subject : to : references : cc : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=facebook; bh=HrEiVWjLl61bG5A6n6YmdCywoPMb8sGXNZDbw2M73pc=; b=ckCpRGjR6SOpnDnsrjp4Phcwk58KbdedmdvhYCjIQbwzsmFnzsfplPFa9tCz/krQmvK7 T+D+UAxvs1EzglxbjIMdl87ha7uwUDZ1GVR+i0Wz4tA8PANzwkj0jo6BffX9EoipuI+p cE156P4HqVp3x/b+16fPPYUgt88/G2UFszI= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2h8p8481jt-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 09 Apr 2018 21:54:52 -0700 Received: from PRN-CHUB02.TheFacebook.com (2620:10d:c081:35::11) by PRN-CHUB06.TheFacebook.com (2620:10d:c081:35::15) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 9 Apr 2018 21:54:51 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.12) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 9 Apr 2018 21:54:49 -0700 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; bh=HrEiVWjLl61bG5A6n6YmdCywoPMb8sGXNZDbw2M73pc=; b=ibJm8ADrcvxCE89GTVkkm+hK/8aeDoR0k1fGA6TixznQhMXxyAfOZXGb/J5un7YeLTgd6JP1yDd7yJmNusU8a87n0jat+8hA8/EuLX2SAvDhHPtgM46VmH2MMSDzUqwOozEh2w7b2ZNu5GlJ19fb7H1mi+b0cGcLSS/lQMzhnu8= Received: from [IPv6:2620:10d:c083:1309:2d74:74f7:8f68:259c] (2620:10d:c090:200::7:bddf) by BYAPR15MB2502.namprd15.prod.outlook.com (2603:10b6:a02:8e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Tue, 10 Apr 2018 04:54:47 +0000 Subject: Re: [PATCH v5 0/6] enable creating [k,u]probe with perf_event_open To: Ravi Bangoria , Song Liu References: <20171206224518.3598254-1-songliubraving@fb.com> <97e2c641-9dfe-bf7c-9043-c79fa0c568f9@linux.vnet.ibm.com> CC: , , , , , , , , Oleg Nesterov , "Naveen N. Rao" From: Alexei Starovoitov Message-ID: <33ee2501-14b8-5e89-d84f-e903b4cdd9e7@fb.com> Date: Mon, 9 Apr 2018 21:54:43 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <97e2c641-9dfe-bf7c-9043-c79fa0c568f9@linux.vnet.ibm.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [2620:10d:c090:200::7:bddf] X-ClientProxiedBy: MWHPR18CA0041.namprd18.prod.outlook.com (2603:10b6:320:31::27) To BYAPR15MB2502.namprd15.prod.outlook.com (2603:10b6:a02:8e::10) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:BYAPR15MB2502; X-Microsoft-Exchange-Diagnostics: 1;BYAPR15MB2502;3:JXHGcwmVHZfF4UkZ5RXsrrGR68CGN439ggl6offec/5hooPLjRhWekAsdC6bwqWLsLqEcB0bVbUkIIXBtUrLaZcyRrXCLZ4xSM5uMg6OH6HwMewBTt2pJCUMm9zFPQvVPCa4trVAJWwZ8OHD8TETYpeAG1+QGb9j4Uw81i/GkqK6pHgNw0XCgBKSHXmpLljsT7FCjcH7F1ooYJAkKoGyFW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glFUNG8bAWJGenO4QxoyxDoaE2SFVh36BRsDtObewnXzNYC8LEoRKf8sVbE2b1UkWECIIZnEasYfP90LDVGAO4LFdGChaiZaDpRJQ4vZXChEhczCX29on7C;4:hNlcnyCyYzSpx9mPWCHhao+PpO+VfVV2LRE1BO/02GusIhNFoJiK0BRcdhRDOpw2lkSkdxY+Dq2zeTj/cyb4h/XRxEGjCPwNDoja6dbn3zSelOnYAPxX1ruf6bacSShekFeGf1VwvVIFsm9eJmieId86bnJ14pgEnOLgYFuqTTvn1ul0QT4nSEpyTf5eqdMl2Exb6d3FLaGJf3niSmJgfrrJpu+oSI8SFjsXVP+e2H+/4nzF3lfy4yUztX7beEWACw8/wt8WSuiM4x1sZT0VKQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231221)(11241501184)(944501327)(52105095)(10201501046)(3002001)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011);SRVR:BYAPR15MB2502;BCL:0;PCL:0;RULEID:;SRVR:BYAPR15MB2502; X-Forefront-PRVS: 0638FD5066 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(376002)(39380400002)(39860400002)(366004)(346002)(189003)(199004)(6666003)(2616005)(476003)(478600001)(25786009)(68736007)(53936002)(229853002)(6246003)(486006)(6636002)(11346002)(446003)(305945005)(6116002)(86362001)(1706002)(6486002)(7736002)(97736004)(105586002)(65806001)(65956001)(5660300001)(65826007)(7416002)(47776003)(4326008)(58126008)(2906002)(81166006)(81156014)(67846002)(53546011)(8676002)(16526019)(31696002)(64126003)(186003)(50466002)(230700001)(8936002)(46003)(316002)(52396003)(5890100001)(106356001)(52116002)(2486003)(76176011)(23676004)(52146003)(110136005)(54906003)(31686004)(36756003)(386003)(142933001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2502;H:[IPv6:2620:10d:c083:1309:2d74:74f7:8f68:259c];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWUFQUjE1TUIyNTAyOzIzOmVSZUE0TTZRVVp4RTJ1V0lGNllacmNuS2dH?= =?utf-8?B?UzNGMCtiZ29IZmFlMHZnQU5wVVFXNXFLaDFrbTQ0Vng1cURudkRSYjVRV1Mx?= =?utf-8?B?eFhjNHdwUjRkejlJY2xHTkhldXpKYlAya291V2U1eTdKTC9iUUMvWWJjdFZ3?= =?utf-8?B?ZENqVE9TT3ZrdVZPWndabHZ1UGp5QzlFMGtXZjRVaFRvTEtFejFOZWZHcmsv?= =?utf-8?B?QTFhb0dIMTFJUVp3aTZMNHpyWTBRNjNNVER2OU9yVVBSV1IwTzBwRndsNVFx?= =?utf-8?B?NzRESmFXbHYwM2hzWHFMUzA2aDkxcjVDSi9BTkJwMzMyV1RWZ2pQQWJrRjVZ?= =?utf-8?B?S1pTT3FwTnZleDdjZDd2TXJXR25CLzAyT0EwZjdDdU1udEZGRUwrMExyODNT?= =?utf-8?B?SjN4K0NCZFhYZElJWk5VVEJqbW5DY3I3MzRjZmNSV2twNXFvMjlMaUR0YWNB?= =?utf-8?B?K28vSVpGNkNyUG5EYUFaeXpjeStXQk1JNDlYMGNMZVFpWkt1ekpWYjFheVJ5?= =?utf-8?B?WXU1eVBZQlJmU2UrZTlJc3dYVmxISzV4OUFCTjg3K0pHRnBmc0dYZE9JdStn?= =?utf-8?B?QkxvejcvT05vTC90cGdxcXFIeVU5TmxpNUlXa0s4QlR6ZFVMVmE1ckVVME8z?= =?utf-8?B?K1orKzlwcVRtSUtJSEJCR3ZVLytnTWw1cUloZS9XK1ZPWlNRaVFFbDhGTVVV?= =?utf-8?B?TmhybHlOM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mTHCRSRWxp1FS5Vt/fwK9Of8grAOhz4XLKTsLiEAfBZPMVgDbz/DbF9wUICIecVi81vONidG8Ow3qh0RIvCgftnoiGxJ8QJKs7+vkOECDYiOLYKcpWdzTsmvvLPLdymr7tPP4JPQ==;5:FxynqlgCJ9cto3D1ZjeMejvortgEP2YheS8tjfZMkoNXYbtt1RevdZtHMODv2hzdIlmRBJiHbIvckGTrnjSywYUlUrC4Pv2zde134RkHzdcVRrcVKg2tBad6YHFQl5WG1BrcXuDqMSUUKhz9yuSWn2h2QRdTNp2X/gwwGwzSXBU=;24:mGbbDYXFRB0DU26S2ruhsfZJl+h+zRSAdHRK/mqlGiitl47HqnQEuu+pdfkrSqKCzB8tRNe0tUFQzoHa5l41KJO2Uke8lCz6RNLIbGXj+ys= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BYAPR15MB2502;7:9GaoHGeo1aowitbGmkn6Gyqw/YjJ/kQBZDZ5mKbbAJ9Zl+GwSFdVpRVvyprMVEAvxEAWjvhkFGCWOaA/p2gQuMgZvOlqEMSd2xlwOa7uH35vC/8BBhqYuHS7WqDytfPpJuQFtKJeET4k2ocGr2w9o2/ZmeF32/ySnoQDHu9d60ILJ8rOGkFZmGd6JStRCMgmXkm7kmP/xMWFKd5HgJVryP4wWD4B3TVY3V0cli6SU1SrxVedG48L/N49JUwN7z2e;20:aXPHF7ydUUT78d52PUkwFiYgxuz2B36vwuQhT+atTdNqavLs+ERl21IUgTJPeEW4Yj0f/CjUnly2GRsA0qay7ImOWq/KjcTtAi8bujEHnwtu0zZsAJVxQnC1n8by8F7Wo6mhUvkfObbjEXNJaDN3eoiUjTJ8eNTJjkrYod/kLMw= X-MS-Office365-Filtering-Correlation-Id: 6b2a92aa-dda8-4555-707f-08d59e9f2f83 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2018 04:54:47.0049 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6b2a92aa-dda8-4555-707f-08d59e9f2f83 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2502 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-09_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 On 4/9/18 9:45 PM, Ravi Bangoria wrote: > Hi Song, > > On 12/07/2017 04:15 AM, Song Liu wrote: >> With current kernel, user space tools can only create/destroy [k,u]probes >> with a text-based API (kprobe_events and uprobe_events in tracefs). This >> approach relies on user space to clean up the [k,u]probe after using them. >> However, this is not easy for user space to clean up properly. >> >> To solve this problem, we introduce a file descriptor based API. >> Specifically, we extended perf_event_open to create [k,u]probe, and attach >> this [k,u]probe to the file descriptor created by perf_event_open. These >> [k,u]probe are associated with this file descriptor, so they are not >> available in tracefs. > > Sorry for being late. One simple question.. > > Will it be good to support k/uprobe arguments with perf_event_open()? > Do you have any plans about that? no plans for that. People that use text based interfaces should probably be using text interfaces consistently. imo mixing FD-based kprobe api with text is not worth the complexity.