Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp100238rwb; Wed, 18 Jan 2023 14:47:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXsKqasEMHBzgpzxhjcKUmg+cfscIouSWfD3mjGOj4hMSPZ3GB2ZrdP35wQKUjnDZ5/navFR X-Received: by 2002:a17:907:3a15:b0:819:7d8f:9684 with SMTP id fb21-20020a1709073a1500b008197d8f9684mr19183992ejc.72.1674082078411; Wed, 18 Jan 2023 14:47:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674082078; cv=none; d=google.com; s=arc-20160816; b=WaSd8YJutPoKFfrbl3CxKXRuJ/PCRKmqo2Mu3c2+kVqLC8eF8qgkW0f/aFaXlSF/88 SDyApao69PIdG7d25d2RmKe+mFRQqgswzU3XYlInJEUwQExz0uvKfdSzv/jd6H2mzbBX D5+Aood/z9IvK/ZhLGxSeW5EZTQdYMhNU3gJM/69Gv4S3lo4pwwvNV2yWwb82gZzNgdE 7H2ywZdS1boMcrwljflpdRBy2FkO6VFTBcxUqrDudEXch9MipP+FlX1dyGZt30xMYYMi yQFyPlT6323ye342Vt1jN4uj+NHWhG9a9due7d0w6dV0nFg9vXds99NcBeQ5lgfhGWSl WJZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=w3zZvGJ2IF8IzLXLWgrdTpLSWoXEmzbMQIT+v+9QWxc=; b=mxCJk6HXa3Oir50PEpAD16esX4ek2KT/neUmNZknb66Rw+kNqlstmHt5X2CrH+/fbP d/Px07tG33Cw1r36nLaznVSA41oul2efRKOJEZf6RRQ1ZKNPx9SgA+8Px536uVnNBuQ7 /8f10hQyzuTNNRJuPGwuWqjoD8x38OMMh8cY2jwelU93lh8VBWY7cZqrxc0/um5/XXm1 2gZMKIgfFMFKdg72CBQxJ15CxCWmG00lZOs5VuoT6JIxO5ktvbkf4we0yYjBrY8MDyz2 ftgxPko4YUUUzexzTIPloH01H+7pPzftNElkymPFmpIrtxaJyxef69VBnqYnW0BErxT1 OAeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs13-20020a170906dc8d00b0085ca2799665si31429600ejc.133.2023.01.18.14.47.47; Wed, 18 Jan 2023 14:47:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229995AbjARWI2 (ORCPT + 44 others); Wed, 18 Jan 2023 17:08:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229977AbjARWI0 (ORCPT ); Wed, 18 Jan 2023 17:08:26 -0500 Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D447D5EF9A; Wed, 18 Jan 2023 14:08:24 -0800 (PST) Received: by mail-io1-f50.google.com with SMTP id j1so154354iob.6; Wed, 18 Jan 2023 14:08:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=w3zZvGJ2IF8IzLXLWgrdTpLSWoXEmzbMQIT+v+9QWxc=; b=adOXBSqY4JYIaYoUao9LIIVR5mStl24+fzWbE2g3FmAZ9JJOQP1voac77PdU6gQH+N u+vMbBskzR1roKnMEBdq3IJvCRO2t6GqgLOSyUDOIfnOxx4fsRUT+JCyHRfr5/XsBSQt h4Aqr6l8S8ItPeDyht5gt4RmwXYWNXstPyKFogw46v1MIn/GF6kGgY+qzJGk5gutkomQ hJ9mwVWO7fbNiBlTXDKkHN0+oYkyiep4uF5CLbJFipb1d+jHYY9eYUwbpZAcgJL7byk8 4PyTCLXgBMMX6IDp1CTdNJAh/nVTwzyOAr0J125EvQeK9c3V4Fz6GpfQN0CsEgqkUzCR hkNA== X-Gm-Message-State: AFqh2kp79dOLRWrCrf0NQA04/w7G2YDJmEq0Wz3peyJCzczousugADso GbyR9vgIDJtbzP2hRq/6fP6yScLzqibB/SXY0fs= X-Received: by 2002:a6b:8d0c:0:b0:6e0:28f8:83a4 with SMTP id p12-20020a6b8d0c000000b006e028f883a4mr692956iod.28.1674079703966; Wed, 18 Jan 2023 14:08:23 -0800 (PST) MIME-Version: 1.0 References: <20230118060559.615653-1-namhyung@kernel.org> <20230118194230.mqitrgfb3j73hzw4@MacBook-Pro-6.local> In-Reply-To: <20230118194230.mqitrgfb3j73hzw4@MacBook-Pro-6.local> From: Namhyung Kim Date: Wed, 18 Jan 2023 14:08:12 -0800 Message-ID: Subject: Re: [PATCHSET 0/8] perf/core: Prepare sample data for BPF (v3) To: Alexei Starovoitov Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Arnaldo Carvalho de Melo , Jiri Olsa , LKML , Song Liu , bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexei, On Wed, Jan 18, 2023 at 11:43 AM Alexei Starovoitov wrote: > > On Wed, Jan 18, 2023 at 11:50:37AM +0100, Peter Zijlstra wrote: > > On Tue, Jan 17, 2023 at 10:05:51PM -0800, Namhyung Kim wrote: > > > Namhyung Kim (8): > > > perf/core: Save the dynamic parts of sample data size > > > perf/core: Add perf_sample_save_callchain() helper > > > perf/core: Add perf_sample_save_raw_data() helper > > > perf/core: Add perf_sample_save_brstack() helper > > > perf/core: Set data->sample_flags in perf_prepare_sample() > > > perf/core: Do not pass header for sample id init > > > perf/core: Introduce perf_prepare_header() > > > perf/core: Call perf_prepare_sample() before running BPF > > > > Thanks!, > > > > Acked-by: Peter Zijlstra (Intel) > > Thanks Peter. > The patches look good to me as well. > How do you want to route them bpf-next or tip ? > > Namhyung, > I'd also like to see a follow up patch with a selftest/bpf for this. > > BPF CI didn't have a chance to really test the set, since > there is a build issue on s390 due to llvm upstream repo. > We're aware and working on that. Yep, I'll add a test case as soon as it gets the change. Thanks, Namhyung