Received: by 10.223.185.116 with SMTP id b49csp372492wrg; Tue, 13 Feb 2018 23:53:01 -0800 (PST) X-Google-Smtp-Source: AH8x227gP/Um32T2IVkiA2BlVLAWxEcImJ9wjfFEy7Vbnw0DtF+5UuPx7gYhq0RVX7NT70lXo8FF X-Received: by 10.101.80.69 with SMTP id k5mr3266644pgo.447.1518594780976; Tue, 13 Feb 2018 23:53:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518594780; cv=none; d=google.com; s=arc-20160816; b=F8c8pjGU2oC1D87OpIt2ht2535kRbZ9naI7tFfoy38RgSVub1xl/hzKyMTorbX/uWq rRfMZag16ogRQCxKAlSf0TV8QKjRINK9uJIFIX97kJX7DOke3H+I1lJO1mhncWbQpWD3 aJrAWEpX5gMbKOb/6mSpoKpvvssD2Bj+HWDscVNPKRiNBY7zfOkP/vM5kMwhUSkhDsnX EFSMfroljztsy25AUBMFbH/vPaPn8RYa37rLkzxJEx+Sx3sxDX3UeLI9u+h45DeM7seM lkOFpUlQIyjiA3yG7Ul0q/cHD9/S35xoZehIOYv2ZKKflNzX0B4u/vcGihF7dLVADZXE 8c/A== 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:arc-authentication-results; bh=MKE5aqkr/MnuyIqTbrR6wnzU51XGPIy+wKx9e89OxE8=; b=m9jHJfbmp4AVTCEF6lO4RbVqlFDLP4KSkUNo1gOoQwX9FORZ/qLbkAKcXBdqROKafM fZDwexYfmNjF3j9Xvj8jnoaBsFHgvg3eZVBIxKsRSzQ7fif/v+9U9xx6eZy0VlnIYekh /Y7NnHo7s9xJXMLV8OP9qQgBLJbQUJ+LXTQSxn2/7bfEOV+stwah+Lv9MS9HR93Ajz+x 7bGHd0Lcfjj155I58+wa0ut1AYDmuYumvhmTOcgqKwvU+UvIayKGf80tH8Kt/yHXH3uj UTgE4ig0XlrGfPT+zMpbb2HT0VKhWKbZtLk2BDlcGIzpTdTo343IV9QACQf951QhJaVG WbiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uZFzAQIR; 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 61-v6si1064493plr.132.2018.02.13.23.52.33; Tue, 13 Feb 2018 23:53:00 -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=fail header.i=@gmail.com header.s=20161025 header.b=uZFzAQIR; 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 S1754569AbeBNHv2 (ORCPT + 99 others); Wed, 14 Feb 2018 02:51:28 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37983 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754536AbeBNHv0 (ORCPT ); Wed, 14 Feb 2018 02:51:26 -0500 Received: by mail-wm0-f65.google.com with SMTP id 141so20238013wme.3 for ; Tue, 13 Feb 2018 23:51:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MKE5aqkr/MnuyIqTbrR6wnzU51XGPIy+wKx9e89OxE8=; b=uZFzAQIREq/wN44ZB+oB1rMc8e9IqVKBONlksAAJIC0iuT6TsSG1pjksbVUF+SXwgn M6yrAkjJwNlxhqctoe0ne7mmTWXW0JaTEQidEzpSpUcn3DY5j30/2ZzN2Xn4nCHkfcCZ sI2+iEX48o6tep5OPGFAQiiVB7J6A5AIgYa/OTKqVGbY3PhC2K3FWwlEU3Dg9qJI6qnK 7kKodbFrLMkj3XOKh0kMbS1ZSgsR1m+gri8VzfB6flevUWZUh3SMxS21/wzxJB0bY5q8 jBintTxvNrqt9/fU7sexe+oPKqzBEEj6o0gf9IqLrsZlhFfdUlv7ZbLY64fq1jggybL2 AIuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=MKE5aqkr/MnuyIqTbrR6wnzU51XGPIy+wKx9e89OxE8=; b=f5CCBcTO+jgPBOG9xTBOimPiLnJ7jFm1yCgQY1EroSC8PqZ7rX4ldYxTD/yW6zRKDC 9SjL2sMBDnyMTzfazrwttc/xnYFVjyz2m227Rur2DijXU2aCJRN6bHiqa+HCKoqGMh1E kEOS2GiBvE1IYA3cIPtAQZiVFVbMSQrBbPJXesZ9gvffBV1OGtHQLkOb9rrfOFB46MHS nK3/E2VnoNJ1GeCIK/xq92MGHIPvsK0cvhyTdaivm5sBsSVuAjf2yjHCx1ogSnX/likd hmQXNuUc8a+BY//2DOHwcCnvLFAvdkVKirF+yNeNMKyO47DnFzz7agTx88yVodhwy1oe RggA== X-Gm-Message-State: APf1xPBtxioVn8syQNooXsVFGQ15HuUYdQCUvTeIvqt3WhWw3ZU1zOJX puT7LTfjO3+L4L5F4e+YR+4= X-Received: by 10.28.190.3 with SMTP id o3mr1574787wmf.17.1518594685450; Tue, 13 Feb 2018 23:51:25 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id 19sm23901809wrv.0.2018.02.13.23.51.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2018 23:51:24 -0800 (PST) Date: Wed, 14 Feb 2018 08:51:22 +0100 From: Ingo Molnar To: Alexei Starovoitov Cc: rostedt@goodmis.org, daniel@iogearbox.net, songliubraving@fb.com, yhs@fb.com, ast@kernel.org, peterz@infradead.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: <20180214075122.yr3pxtoegwgehshu@gmail.com> References: <20171206224518.3598254-5-songliubraving@fb.com> <20180213223827.wq4y6xemor6xj4gp@ast-mbp.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180213223827.wq4y6xemor6xj4gp@ast-mbp.dhcp.thefacebook.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Alexei Starovoitov wrote: > 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 ? The actual kernel side patches were only applied a week ago: 33ea4b24277b: perf/core: Implement the 'perf_uprobe' PMU include/linux/trace_events.h | 4 ++++ kernel/events/core.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++- kernel/trace/trace_event_perf.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ kernel/trace/trace_probe.h | 4 ++++ kernel/trace/trace_uprobe.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 5 files changed, 186 insertions(+), 9 deletions(-) e12f03d7031a: perf/core: Implement the 'perf_kprobe' PMU include/linux/trace_events.h | 4 ++++ kernel/events/core.c | 142 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------- kernel/trace/trace_event_perf.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ kernel/trace/trace_kprobe.c | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- kernel/trace/trace_probe.h | 7 +++++++ 5 files changed, 250 insertions(+), 43 deletions(-) Commit: Ingo Molnar CommitDate: Tue Feb 6 11:29:28 2018 +0100 They are also large and complex, so I can only send this to Linus in the v4.17 merge window. > 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? No cherry-picking of such large patches please. But I suppose you could git-pull tip:perf/core into the BPF tree, it only has these changes: 33ea4b24277b: perf/core: Implement the 'perf_uprobe' PMU e12f03d7031a: perf/core: Implement the 'perf_kprobe' PMU 0d8dd67be013: perf/headers: Sync new perf_event.h with the tools/include/uapi version 65074d43fc77: perf/core: Prepare perf_event.h for new types: 'perf_kprobe' and 'perf_uprobe' ... on top of an upstream commit (59410f5ac70a). The risks are: - In the v4.17 merge window the BPF tree should only be sent to Linus once he has pulled the perf tree - i.e. there's a dependency. - If any of these commits needs serious fixes or a revert then that would have to be pulled into the BPF tree too later on. (I don't expect there to be many problems though, no regression was reported so far.) Thanks, Ingo