From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1C97C432BE for ; Wed, 1 Sep 2021 19:06:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 83D5461054 for ; Wed, 1 Sep 2021 19:06:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231932AbhIATHs (ORCPT ); Wed, 1 Sep 2021 15:07:48 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:23179 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230386AbhIATHs (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-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-443-xyp4_kPtMEShHoCox2O6uA-1; Wed, 01 Sep 2021 15:06:49 -0400 X-MC-Unique: xyp4_kPtMEShHoCox2O6uA-1 Received: by mail-wr1-f69.google.com with SMTP id q14-20020a5d574e000000b00157b0978ddeso218498wrw.5 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=tBHdQ8SXc1C/dUyeXvnv4ehFiJEtuLd7IsfGpFEm8dkXGsejG3v3ZJ5prMGSNdyq2w PCzi0+tJS7p4589fk4GO1UqLBySwxLXbsyxcngaKdytX+lMQD4vo8fMbNUfoWnJfTflH mwwp6IiC6rywXIFaFa+SwGM8VgLUmZrYQWDf8kDbzZPrICWY5BmkuyExscAdZGScb9VQ gekOtHZWuPE6v8dEUxXYicKOeR6YwSKsgL6HmIPc2CgbY1vLM87qjJI5OgZK0TGUaQRv C5RrPhNXRm8AjmNbBwSlFdnvdpkukd7CvNMfEzsbDmbrXhxDjI7cwF8I/fOEsR5j2Su1 CeYw== X-Gm-Message-State: AOAM533ieELkFQsRo1RiaNFQeVdkUudqrDxbyyIlWkVec0WflP8po8yf tG1BLb7Ur/PwgKQNiGfIn1A5rx96iavUyPYFWlL/k1MfK53e4WaSMvGBLoty+Fnq6GhNiiISY5I tkh+gozMF/SWj X-Received: by 2002:adf:c54a:: with SMTP id s10mr1018139wrf.125.1630523208322; Wed, 01 Sep 2021 12:06:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXISGeHcOCvvlT2nY90XtlYHVxSCBWTZKjSOXfDXgNjhW1sN/hJ1m+7kS7mBkZXLbSnRxaVA== 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: bpf@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