Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4399814imu; Tue, 18 Dec 2018 14:14:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/W+gqYw/ZH4maJBQM+uL0wNyjYgRFi345pvAK8IFLeIN3bd0WEf4gqG5eJdoAGQk/kmlLq9 X-Received: by 2002:a63:be4d:: with SMTP id g13mr817144pgo.378.1545171296503; Tue, 18 Dec 2018 14:14:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545171296; cv=none; d=google.com; s=arc-20160816; b=QXSMZhQHwdg+EW5kG0MpFn1Bkj7xlB7e4ypZTgVUz8e6qq/LkpWAs09Cqqomv8rP+L 8HAd1lFhKxLoltD4cQEfcIg/b2kioqHEbXc1O+fVCMR/Qv6KbeRbXr1CH8olrNxuWKo6 Lsd4hvRzyeG7DFBp+KF+BzuXO1MMneYoOnB9zU0iRIaz0HKWFBrsLkiIKacdu5G3rpiI Gsot6cB68k1D8XeY91GedCOgbDX8PYaeB+peTylMSFTz32pqSkEHB5JvNixYkx3SipIX Xpr9Pre6vvqW6erN16J/tUqnm0EOLKulfLHaQqABM9G6ji4s680hlj6s2hvPyCjGK3XV lgxg== 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=JIj3M8SNGQRlpevrl1+kVXlEdHvhCX3P2AyVC9zWMM0=; b=O+Ni0X9Sfk4kSZq8X+7qiNpH1dPMWiPQfAoXOIfwfKmgfMUbm4jF/uXiaBZF5SmvgF vPW6Y4Gc2fyrYy4PtDGmtuNz/qCoUunIPfkIyR0iW5kZUmRe5S29WDcwhse1xOrOoBZG ClNLg9GF4D83Vwz3Dik3TFZ1NwUOgvS9OWoxNNrdPBtDfz6oHeqrmdykbZlVBjJQkBGI 9Qe0cKRTGPVwlVWNtCpTQO1spPwrOip18J+Fq+e6UHvMn9GQY5Y0fVR4vAaHXFCn7sE7 DdzPT2LUKjfvOsSCBeH5XUWI4MOyTp+vF5yATo1WtI0wGkU0lgaSs5gTGb8qTUUnGNoa xKkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jo4DvkGZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 97si14184850plb.3.2018.12.18.14.14.40; Tue, 18 Dec 2018 14:14:56 -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=@gmail.com header.s=20161025 header.b=jo4DvkGZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727317AbeLRWMy (ORCPT + 99 others); Tue, 18 Dec 2018 17:12:54 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36781 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726590AbeLRWMy (ORCPT ); Tue, 18 Dec 2018 17:12:54 -0500 Received: by mail-pg1-f195.google.com with SMTP id n2so8450767pgm.3; Tue, 18 Dec 2018 14:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JIj3M8SNGQRlpevrl1+kVXlEdHvhCX3P2AyVC9zWMM0=; b=jo4DvkGZe2Z8d5wVq504p8xdWIZkMeyWvHoJl/06kNQ544pJ1rDnC5VqqLh9MW5JJI CDjzfHDs552y4pEP6mQnlhS1xboc8ZiQ911eBTizKQlm1b+54vqOyRISLCbGWWh9bdeK gj5ZdFAwGv3Qve0UjpWjVdur4b0wC7afdJJeBOHTUAmbmDNreiAYyob3bfaS6pQclUnp 3ZDuVFH8LWnOnY3gxa+VCu8ZgyJdPQTLEq7ZCCuPRAofWy7s11JOvU5bBXxay/2BvIe4 648O/Qt9EcGG3rNwbrih6ayjJo69br0XkVJ6PCfXHz/zLYG58K62oAQAhCluhoLBOTvP 5ovg== 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=JIj3M8SNGQRlpevrl1+kVXlEdHvhCX3P2AyVC9zWMM0=; b=AdfAF8D8y9T3KcOsDe43jlgdwMYVm8tYJ5cOokG9I26fPVeTBc51b7v4IeNnueg+Cw Z8WUvuVSjgefY9JxcHEsYI4tcR9dwpgL0BeIOJZrIiluh6HDjyT/a6/GFaYz8zJ+EAkj vn3aQyik0+okhJ/EeB5n1o3lyy+KVaIWkCRfqK+9R3A+8PPBfmV+p3+nyR2cKf7H6opW x5igEjszmmWctuQVxTG0MuLNBuwJh/GSbRIXJ4L2Poecc1O9n5zf8h8gwa9ya3fQIjLG eAMVymHI19DY8ZWCPHisXEOcU2ZYb6VEJhBHfyUrBaSygICazTortVtXTmmZl2m26H86 BNug== X-Gm-Message-State: AA+aEWabL9t0DeYHT5un5tVWQhXIHWY/U/sBW/L/q2rxVInHm+AHcEUX 7Dzir2iZtIEtnOylOx9SlZc= X-Received: by 2002:a62:dbc2:: with SMTP id f185mr18058694pfg.235.1545171173232; Tue, 18 Dec 2018 14:12:53 -0800 (PST) Received: from ast-mbp ([2620:10d:c090:200::7:6828]) by smtp.gmail.com with ESMTPSA id q187sm28272072pfq.128.2018.12.18.14.12.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 14:12:52 -0800 (PST) Date: Tue, 18 Dec 2018 14:12:51 -0800 From: Alexei Starovoitov To: Matt Mullins Cc: ast@kernel.org, daniel@iogearbox.net, netdev@vger.kernel.org, kernel-team@fb.com, Jessica Yu , Steven Rostedt , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH bpf-next v2] bpf: support raw tracepoints in modules Message-ID: <20181218221249.d4jpktn2wezyyyc2@ast-mbp> References: <20181213004237.3888568-1-mmullins@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181213004237.3888568-1-mmullins@fb.com> User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 12, 2018 at 04:42:37PM -0800, Matt Mullins wrote: > Distributions build drivers as modules, including network and filesystem > drivers which export numerous tracepoints. This enables > bpf(BPF_RAW_TRACEPOINT_OPEN) to attach to those tracepoints. > > Signed-off-by: Matt Mullins > --- > v1->v2: > * avoid taking the mutex in bpf_event_notify when op is neither COMING nor > GOING. > * check that kzalloc actually succeeded Applied, Thanks