Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp945817pxb; Wed, 1 Sep 2021 13:23:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyR4st7q1yYGtzCVArosbOSzioE5bNadWsa3FQNB6wQJitT6i+GwacISLp//kn1Wg68H+Nq X-Received: by 2002:a05:6e02:13f3:: with SMTP id w19mr921524ilj.164.1630527801154; Wed, 01 Sep 2021 13:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630527801; cv=none; d=google.com; s=arc-20160816; b=xt6eS9+uO2gz5vIPlXZgUfmZo9u1w5XvwMzksPhr/tI4qAxvMYWgtIhGnKe21dX9V+ lM8L7btfuAw4vQo6X8iPfcnNX87ysqwFqd4JUAF+um8D/aAW8tgImTHRAmnvCHUmXS2S cGEs2uDQ6iTd6JYl2ZLhlCkVjnnOtKN2Hu6XrlsQ4cowW3A9zdUVnh1E4S68kyL3ZTtK DmaMcddpjAqzBwnjO/1cFP04I1HAmx8lksx1D4h6XTzKnIgVvHnNUhQvn9rmR8O2v5in mf0eBopr4wXhCVqGsmiFKJezAv2NGe8UOkYpwY97TWuin20p4V5vT1Q7Xlvs/3JglUcI nayQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BZhEfohhpWK1WcNGEDwiSiBROpuA4N5Q5WqsIFk2qmM=; b=1LLJy/QeYa/XAnjy8jaWRCbRG7tbbAXOhE2fCk7tWEKZws6AL6ZP0KqT1F0iwtkdTq 6LNG65Rb5lyht9VyfXxvVCvgXhntRaHm1CgaI73D/5YDKJfQ9X4IqeEg+sKRFVXQhaub fV9rmsiTtlQ4OJnSK1vmKOqEBteNK/LQqP9DmjfaoHX/DeXpSxcA0jWBlloJcqB6mPyD Etw5u3LpjHbCOPiL8n7tsQfrJ4xNm0TjinleYCnllt0k0d3lVvvKcMlJ4av56Qayywdv D8LJl8fOhEzjhAVZvESLqzQyrL7GJRPtpnnozWfYhhgOX/UTn+FyVNNVtQiYxIU2/8Gk HOuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TfbV8oom; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si527461ila.157.2021.09.01.13.23.09; Wed, 01 Sep 2021 13:23:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TfbV8oom; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234453AbhIATHt (ORCPT + 99 others); Wed, 1 Sep 2021 15:07:49 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:21216 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231137AbhIATHs (ORCPT ); Wed, 1 Sep 2021 15:07:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630523210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BZhEfohhpWK1WcNGEDwiSiBROpuA4N5Q5WqsIFk2qmM=; b=TfbV8oomS+256guvFU6SrsD3B/xWAobsQTgxYJPKEOA8Lt7QtuMAvyn6z739MOlKwr6pjn 6G15xdVyESrVZDv7pxooRMhGpuDp6IIDdVA23BlFP2eouP44bfmr/DFJaeDxABheP0x9yq MNEvyrOpnHAaelATjZgCIgzkw3QHzD8= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-280-RHmZcLxcNke8BlEaSHYFBw-1; Wed, 01 Sep 2021 15:06:49 -0400 X-MC-Unique: RHmZcLxcNke8BlEaSHYFBw-1 Received: by mail-wr1-f72.google.com with SMTP id r11-20020a5d4e4b000000b001575c5ed4b4so219240wrt.4 for ; Wed, 01 Sep 2021 12:06:49 -0700 (PDT) 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; bh=BZhEfohhpWK1WcNGEDwiSiBROpuA4N5Q5WqsIFk2qmM=; b=E29qkXEXw/RY+KCEifiOcrsyPNey0GvcChC2w+Ju0RtQ/m7zYAuJSqk9Y4J0OtNtyD vE9HE3xSOCQ4NJaNn0HsxH3Np/Qf44+JH8jJ+e4t2eR34IUkfO18Vb18CCQVZSasjNln LhFLFEKxO0hM72XBTkobG5m3QDRZqWIoPmA9FgkdZhX4ip5hyhhOFA8pIQ9byIoY8geH h0lTgBaerOwC7S6qszhYv/cAkxU/kYXfM9euzNz309q9NaYxn2o3wjH1UuHnj3nWOooo Q/tKxFSre9lzkKFZzdk5h0QLZiaKTpUWVHrlj3OpGcBMWx2GiHEnxIgk2zRXCZG3pnaR J2Mw== X-Gm-Message-State: AOAM532LenYhgnlZxtsjhDncvp6Tx4Vv4zsFjTqJ8Q3sJZAdUBnrNOa3 QP+8d2gBUxxapCku3KFe5bbzj2YaeRQbl14argR+mKRur2gDVLJ9V4ddhiFaz9gjg56shprFSqu xmHIYd6T4HLZZYMX2QBylG5aR X-Received: by 2002:adf:c54a:: with SMTP id s10mr1018140wrf.125.1630523208322; Wed, 01 Sep 2021 12:06:48 -0700 (PDT) X-Received: by 2002:adf:c54a:: with SMTP id s10mr1018130wrf.125.1630523208161; Wed, 01 Sep 2021 12:06:48 -0700 (PDT) Received: from krava ([94.113.247.3]) by smtp.gmail.com with ESMTPSA id n4sm261764wri.78.2021.09.01.12.06.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 12:06:47 -0700 (PDT) Date: Wed, 1 Sep 2021 21:06:45 +0200 From: Jiri Olsa To: Alexei Starovoitov Cc: "Steven Rostedt (VMware)" , bpf , LKML , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko Subject: Re: [PATCH 0/8] x86/ftrace: Add direct batch interface Message-ID: References: <20210831095017.412311-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 01, 2021 at 08:23:38AM -0700, Alexei Starovoitov wrote: > On Tue, Aug 31, 2021 at 2:50 AM Jiri Olsa wrote: > > > > hi, > > adding interface to maintain multiple direct functions > > within single calls. It's a base for follow up bpf batch > > attach functionality. > > > > New interface: > > > > int register_ftrace_direct_multi(struct ftrace_ops *ops, unsigned long addr) > > int unregister_ftrace_direct_multi(struct ftrace_ops *ops) > > int modify_ftrace_direct_multi(struct ftrace_ops *ops, unsigned long addr) > > > > that allows to register/unregister/modify direct function 'addr' > > with struct ftrace_ops object. The ops filter can be updated > > before with ftrace_set_filter_ip calls > > > > 1) patches (1-4) that fix the ftrace graph tracing over the function > > with direct trampolines attached > > 2) patches (5-8) that add batch interface for ftrace direct function > > register/unregister/modify > > > > Also available at (based on Steven's ftrace/core branch): > > https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git > > ftrace/direct > > Steven, > > Could you review and merge this set for this merge window, > so we can process related bpf bits for the next cycle? actually I might have sent it out too early, there's still bpf part review discussion that might end up in interface change review would be great, but please hold on with the merge thanks, jirka