Received: by 10.223.185.116 with SMTP id b49csp4199415wrg; Tue, 13 Feb 2018 14:41:29 -0800 (PST) X-Google-Smtp-Source: AH8x224pVOjabhy5hfb6XBrH4AYnQaPlr5T/VqR21Y1aI3lx8TN8p/KJmPPCApkDLrvJwevCVMFY X-Received: by 10.99.145.199 with SMTP id l190mr2073791pge.397.1518561688956; Tue, 13 Feb 2018 14:41:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518561688; cv=none; d=google.com; s=arc-20160816; b=rP0gYaJvUWC8ewG5YEycLWSrmrdS7tl6kW9vFaF4SpOfGwABahNMaoZMgLH4Et0Hep Z6+eY4hc9nHl+ZgmkpKFxbB5TfyCgsQVRDz4UF1gkLAM0G06xarmJ69HExtT86zF3SSL EY8S8GeEIG2CC5SkBk9xqwYzNWgQIIszbpPC1vtXS//MrX3npAhf8BFBKLKgPZyh+IjO FIu2zqByzzRjcVOUR97e6SQ+fudT0ngzKlDE5HgeMcMR78pnwvG8yS+fHzRRsf4EX3ec EwS0LSrO9Au31bHpepmT2sIRLdficOsYUxNXFKR0I/I66xrvo8JvKnDOpbXhlEBHb7GM 6dHA== 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:to :from:date:dkim-signature:arc-authentication-results; bh=2tXFZ5dXoU1R7l2i3xr1yIURE9++4dGNYwPNFkmNk+Y=; b=mOajyAUhLEIZx7a5G/pJNhBTvyGRA/auI0KNLvoH3eh5Ox/6zwj1pKAyodPUr35RZB hzoDcP+Tb6Fn6jKqMchFqrt3d2Q1eLHjvfIElZf4nM6Og24Am9ksEdIX+AG81p5Hy4n2 KAilVTcz6+3DmMYcUrrTvGwB2zv/XUnDn/ZX9i+q8GhJj1u5pHROldQSzdbOuLTOuqes FB5WCNYajeEfZ4AQOT4ht5msQEcloC1TpbeZGLVNaZpPy9SuiB144IyAbNJJs3wFIx9i 3J+i9BlvuYYG9Cil1LM0o8xQLhYbmWmu35hJrcIvOUhsIyR5pnORAIrapGJytdMBEtFn 4YRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dJ3psPBx; 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 79si2151623pfn.282.2018.02.13.14.41.13; Tue, 13 Feb 2018 14:41:28 -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=dJ3psPBx; 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 S966068AbeBMWil (ORCPT + 99 others); Tue, 13 Feb 2018 17:38:41 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:39318 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965942AbeBMWik (ORCPT ); Tue, 13 Feb 2018 17:38:40 -0500 Received: by mail-pg0-f68.google.com with SMTP id w17so926003pgv.6 for ; Tue, 13 Feb 2018 14:38:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2tXFZ5dXoU1R7l2i3xr1yIURE9++4dGNYwPNFkmNk+Y=; b=dJ3psPBxmnw2dGYuGMxV1KIe2YQ03b3DcoGgGeAT9uX9MeEm3rWquwir+WKoIwXi9i wFU3NZ5dUGXNLqgCHcUNsdDQhET4vJdou5QcSZ9pf8wbjeLPswTw6pLqStFXN+dtjhN0 f33UTzr8foNU6KV8OPjJ15b3npVZJJlGUBmISsrt7GQGJUgzQ6JmVtfZxAwUAYCykFTr YDynt5shJqO6R5LMDmGg8vKistRxWlyGNkTCxkCRbbRAHHHtP6Y1U0qXw2mVs1xwEBRP xdBt+2X7k1zC4FasNUTujMv7FdrsrJs0t8lg0alR1cwyLFvpunewEF21ZKoDyxVMqIj/ ZHww== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2tXFZ5dXoU1R7l2i3xr1yIURE9++4dGNYwPNFkmNk+Y=; b=QTkOrHyJ09ysDmT+DEcFFfvJSm8lHirtjfOE5LmfQC6wtAcbCv6oX0388qM12DMLCz uf3uI8xDIZ4wVe6C08CfH1YDDE4RlawlYxPmhx9s6xdzmiZcRi3zELs9cK1o91bfN/lS Jw86ExLQrCPVPrRcbrSbGcmWc/SX5ItmDw65n9CpQ7FeowFjcmTlC6U+NKLxWvwhiz7m K0WDWHqc2QVZpRNLfJ6buG7I1nu635McA6TH474DcKFNZGfM0DFZOku7PncyQlv4moEt Ea5JClVwdO0W4F7Wf0Uq47BNRwhen9ypTJWgCbILdBPO1o9RoBmRDOskaIy+F7xvYZI+ 8iXQ== X-Gm-Message-State: APf1xPD86QT382ADfYZf/+E5rUQ0ldYni15HcdnOHbL2NCi81I8mJ/Ok +K/IRJaFxky00UsKvxmQNns= X-Received: by 10.98.242.73 with SMTP id y9mr2631991pfl.21.1518561519545; Tue, 13 Feb 2018 14:38:39 -0800 (PST) Received: from ast-mbp.dhcp.thefacebook.com ([2620:10d:c090:180::85a9]) by smtp.gmail.com with ESMTPSA id y16sm19917063pfl.79.2018.02.13.14.38.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 14:38:38 -0800 (PST) Date: Tue, 13 Feb 2018 14:38:28 -0800 From: Alexei Starovoitov To: rostedt@goodmis.org, daniel@iogearbox.net, songliubraving@fb.com, yhs@fb.com, ast@kernel.org, peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, torvalds@linux-foundation.org, davem@davemloft.net, jbacik@fb.com Subject: Re: [tip:perf/core] perf/headers: Sync new perf_event.h with the tools/include/uapi version Message-ID: <20180213223827.wq4y6xemor6xj4gp@ast-mbp.dhcp.thefacebook.com> References: <20171206224518.3598254-5-songliubraving@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 06, 2018 at 03:52:59AM -0800, tip-bot for Song Liu wrote: > Commit-ID: 0d8dd67be013727ae57645ecd3ea2c36365d7da8 > Gitweb: https://git.kernel.org/tip/0d8dd67be013727ae57645ecd3ea2c36365d7da8 > Author: Song Liu > AuthorDate: Wed, 6 Dec 2017 14:45:14 -0800 > Committer: Ingo Molnar > CommitDate: Tue, 6 Feb 2018 10:18:05 +0100 any chance these patches can still make into this release considering they were ready back in December ? We have few followups for them and if we don't get them via Linus's tree into net-next/bpf-next we cannot really proceed further. The other option would be to cherry-pick them into bpf-next/net-next, but also a bit scary due to potential conflicts? Thanks! > perf/headers: Sync new perf_event.h with the tools/include/uapi version > > perf_event.h is updated in previous patch, this patch applies the same > changes to the tools/ version. This is part is put in a separate > patch in case the two files are back ported separately. > > Signed-off-by: Song Liu > Signed-off-by: Peter Zijlstra (Intel) > Reviewed-by: Yonghong Song > Reviewed-by: Josef Bacik > Acked-by: Alexei Starovoitov > Cc: > Cc: > Cc: > Cc: > Cc: Arnaldo Carvalho de Melo > Cc: Jiri Olsa > Cc: Linus Torvalds > Cc: Namhyung Kim > Cc: Peter Zijlstra > Cc: Thomas Gleixner > Link: http://lkml.kernel.org/r/20171206224518.3598254-5-songliubraving@fb.com > Signed-off-by: Ingo Molnar > --- > tools/include/uapi/linux/perf_event.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tools/include/uapi/linux/perf_event.h b/tools/include/uapi/linux/perf_event.h > index c77c9a2..5d49cfc 100644 > --- a/tools/include/uapi/linux/perf_event.h > +++ b/tools/include/uapi/linux/perf_event.h > @@ -380,10 +380,14 @@ struct perf_event_attr { > __u32 bp_type; > union { > __u64 bp_addr; > + __u64 kprobe_func; /* for perf_kprobe */ > + __u64 uprobe_path; /* for perf_uprobe */ > __u64 config1; /* extension of config */ > }; > union { > __u64 bp_len; > + __u64 kprobe_addr; /* when kprobe_func == NULL */ > + __u64 probe_offset; /* for perf_[k,u]probe */ > __u64 config2; /* extension of config1 */ > }; > __u64 branch_sample_type; /* enum perf_branch_sample_type */