Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp854377ybe; Wed, 4 Sep 2019 08:43:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCLqWH8BRnAZoXu3e8q4Kb5Lo6A32pBSG/UA1wpqPN/zag//424lihAPjqRP7hZjk7AWOR X-Received: by 2002:a63:e213:: with SMTP id q19mr35248166pgh.180.1567611783086; Wed, 04 Sep 2019 08:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567611783; cv=none; d=google.com; s=arc-20160816; b=At4cL4ha0UsX7kLRcvVm0XJB11slkDeM3/fmUz0RXhyMv/DAx6amrpIfhKzuwEjqTw z21BL8liRf9pCXJULiRul1PN5mft5IVA/0t4X4HR6X1IwD/pQ+h5gPPXGLuM3pc8p7Q2 5iTUvYhHXV8v2MejJhLWHPhTAR2f6UoQsECbfj9M6jbjIqDrG6JA7/AVf82Ui0NOLN8P iwYCCdViz7m5w2zNniagE0tp0/4+b2KOXQCwO+YPqOnQq09diEw4f9fXHnl5D5J+DIhQ rlKSKSNR4zA6mTAupxzPxxJq7YKryLaZtctK46WMHq0kjGg5OSs20mE96CSV6s2v1dGo 0avw== 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=YkmhvjJ+pgtpfGA/ry21rjZ5udwkyVDS4daj2inyhQ8=; b=Vug2992UzAOzGjB7fulAlavb4dCOqts/VaKsOXIvIOQLq3UexhPMce5AYQClDlr+ZU cGSjup+vKooTx7nsoj/qoRRv3urVMwkHmRZ6XCvaJH7WJUkJCs6Nupfr0srBgkW6Cysj eFFdHfQbluU8xiPefG8FLKJGSDNcfruEM/oXKjr7kCdNKbIJg5AQh2PDprl/CdYyukpo LxfXIbWkLfzlF3kUoWcztrP+4Y82pv5PHHC3cgeFlR2z0Ldc7hfIbapKfj/yaPKpobE7 +WiJU771nzoVDygaqXEFCMXT5CWyx6b1gbsRsBWlrIAzvPpGt25po5KQsdshu8fp1vZ8 SCDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b="OFhv/wTf"; 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 x24si3884808pfa.46.2019.09.04.08.42.47; Wed, 04 Sep 2019 08:43:03 -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=@joelfernandes.org header.s=google header.b="OFhv/wTf"; 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 S1731307AbfIDPlt (ORCPT + 99 others); Wed, 4 Sep 2019 11:41:49 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44716 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730173AbfIDPls (ORCPT ); Wed, 4 Sep 2019 11:41:48 -0400 Received: by mail-pf1-f194.google.com with SMTP id q21so8456593pfn.11 for ; Wed, 04 Sep 2019 08:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=YkmhvjJ+pgtpfGA/ry21rjZ5udwkyVDS4daj2inyhQ8=; b=OFhv/wTfXpSTWbBxwvvpdfxytTFQfdfLwybiAAs8ZI3aeZcSZ14nGa9N0Ck/UxTDre nNoAjxYJb2pPTzKLzW5Ymq7uYV8Vw0raPkOvC8FwN9GTH4pkXQUhSIjORduKU0KSkOHk C9TuRPBE0HLxwuffjKlcqE00J3oNup4c59V44= 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=YkmhvjJ+pgtpfGA/ry21rjZ5udwkyVDS4daj2inyhQ8=; b=iU77W+6BmL4PzwfqOIvFsdHaegiBhygs1hKGPZxREynzi9nNV8deOjj2NHHFtreo7W ztceHQw2DkmDZz9WQT0RtpP2/j0x00QhS2wUfbtX7zLeO97+Tj91XCSspo/8MrHeRbhV 7xMDL0QaVbbA0fqfqDLC5Wyvc+ieN6n35613ipbhRfHITWkj87QZO6tF6wByyHUrv3Vx JmeGqCligT27jgeeGMchHLdNjx6h2lnQqWTUE9+IxHK3iY0Jr+VVbsK/EFc7V0YCxD5A DlVFdwWEhwzt7Xnv2PbDLChvPDHSpSUCFo6RlGzWbpSlkU0t4ncSOrvskRdT0e7evWtM +cDg== X-Gm-Message-State: APjAAAVHunsYThZ030KGFbAhUfz63ecc4VFJ8oFFWL8dAvZ8OU9FrIx4 hRf+/tkNmd4bHNwcDljDsq5VdA== X-Received: by 2002:a65:5342:: with SMTP id w2mr35297459pgr.261.1567611708039; Wed, 04 Sep 2019 08:41:48 -0700 (PDT) Received: from localhost ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id w6sm4952665pfw.84.2019.09.04.08.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2019 08:41:47 -0700 (PDT) Date: Wed, 4 Sep 2019 11:41:46 -0400 From: Joel Fernandes To: Alexei Starovoitov Cc: Peter Zijlstra , Valentin Schneider , Radim =?utf-8?B?S3LEjW3DocWZ?= , LKML , Ingo Molnar , Thomas Gleixner , Borislav Petkov , Dave Hansen , Steven Rostedt , "H. Peter Anvin" , Andy Lutomirski , Jirka =?iso-8859-1?Q?Hladk=FD?= , =?utf-8?B?SmnFmcOtIFZvesOhcg==?= , X86 ML , Qais Yousef Subject: Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint Message-ID: <20190904154146.GK240514@google.com> References: <20190903154340.860299-1-rkrcmar@redhat.com> <20190903154340.860299-3-rkrcmar@redhat.com> <20190904042310.GA159235@google.com> <20190904081448.GZ2349@hirez.programming.kicks-ass.net> <20190904131154.GF144846@google.com> <20190904153330.GI240514@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 04, 2019 at 08:37:22AM -0700, Alexei Starovoitov wrote: > On Wed, Sep 4, 2019 at 8:33 AM Joel Fernandes wrote: > > > > On Wed, Sep 04, 2019 at 08:26:52AM -0700, Alexei Starovoitov wrote: > > > On Wed, Sep 4, 2019 at 6:14 AM Joel Fernandes wrote: > > > > > > > > True. However, for kprobes-based BPF program - it does check for kernel > > > > version to ensure that the BPF program is built against the right kernel > > > > version (in order to ensure the program is built against the right set of > > > > kernel headers). If it is not, then BPF refuses to load the program. > > > > > > This is not true anymore. Users found few ways to workaround that check > > > in practice. It became useless and it was deleted some time ago. > > > > Wow, Ok! Interesting! > > the other part of your email says about kernel header requirement. > This is not true any more as well :) > BTF relocations are already supported by the kernel, llvm, libbpf, > bpftool, pahole. > We'll be posting sample code soon. Ok, this landscape seems to be changing quite a bit. I was going by what I already know... Looking forward to catching up with the latest. Sorry, thanks, - Joel