Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp700046pxb; Wed, 3 Nov 2021 10:52:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1PuCtSvn0DlOXrUAv0XhEF2GsZyHLDF/x+G40vj/aTLC2SLtHl+Kx50Yru0jRW7udCjhz X-Received: by 2002:a17:906:7311:: with SMTP id di17mr54494227ejc.251.1635961938318; Wed, 03 Nov 2021 10:52:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635961938; cv=none; d=google.com; s=arc-20160816; b=PV1vcbNNZqqcDqFUHJ1kSoTLxFQLB92HAeEJ7jOr+6jKItOOda4PvCYtOvUrT4raXr UeI+Q9q5lGMm4QnMyVi1IirQIrNaJUGIoyXI8/FFkP6ymzC8iPRFIJ37hYjF5gp7PEXr scRPbHi8AhsUrsu/hEl1DW1P6PHUURflD9y5zVL92IcCguPbAVwpGdIMLoI4bUctKbXO VAPQ3llTxfrpYCBBhlhA0dsGpQT34TfpVslXDii8WzEmxdsFMmN/Ix5+Ju+ojrN/wD7i IH5XOOs1TJ6I8wfm4kCm6Kf29nhC/WzeZP2Zfnpfr2a4wml6mkrNahYcBMqS7Svdj+y3 7y6g== 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:dkim-signature; bh=pPvNZoulhiJWCQBU4zryUvX6Xw6xIu9z8BZ3Chcznm4=; b=r+6q7mDRcI9aCg6qcuZSqbirFKDQuznZ/CIrD5eqsVFBZG48Coxz+aEo44MeMxCqeo kuJA0Q0crLI/FPoJxFNfJQj340cySVtqMLjRGe6IO/gVfRl/ZZvbswfExWb/TermzEFO dWjvRXJEL33mGuQU1p2oa1Fs3G+r+VZGAuGOiBp9TdTfGFrK2mcATu0r9zVuJlXkrgR1 aaZwy78pkdLlitXHeRXq9cmyRSDIHpBApEhPo/iFfKRGyyKmZzwxJ75iOSUkdi18o/tt GfXBoyrkvPWms5rk4VvojACHWJsrdg6sZyp7/haUEn7k1eCW1n4r1R6d6nNV5msgaZHN v1qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gpawBxrR; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si4771585edz.571.2021.11.03.10.51.54; Wed, 03 Nov 2021 10:52:18 -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=@gmail.com header.s=20210112 header.b=gpawBxrR; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231206AbhKCRwf (ORCPT + 99 others); Wed, 3 Nov 2021 13:52:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230132AbhKCRwa (ORCPT ); Wed, 3 Nov 2021 13:52:30 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81DC2C061714; Wed, 3 Nov 2021 10:49:53 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id gb13-20020a17090b060d00b001a674e2c4a8so1992244pjb.4; Wed, 03 Nov 2021 10:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pPvNZoulhiJWCQBU4zryUvX6Xw6xIu9z8BZ3Chcznm4=; b=gpawBxrRZngZIixIRKHyKRtR1WgFW2ojfyMQDjsOpC++wIjSzRyaFaP07qFWvCBVJ0 w09HXzjMctEV21CwOW+TWEmzuLPyuECfp/2c3weqPltbM7e8pPWEndEWoH1sz98pgGmO n91iedxHJRVjnDnHWHDDzE9HrvdRIE1pqK3S5sp5r7WnPybj1jPUE7oShKghf2atpZAD e/dKIQYxtlNE0dbUHKNLv9tka4BMpgnwDUlWJow8DjcvYfcwo6J9g3HjxcRBgfbcNxl+ 8mXCQ+OzVlIGbvhdMn2GxBXVqP0amXRmZYcmGmzUIFmBs2dr4m74viUPzcOd0fIffcMq YFYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pPvNZoulhiJWCQBU4zryUvX6Xw6xIu9z8BZ3Chcznm4=; b=MtpNFDYShZ0+68eQNEAJPtbI9CpfO1qExhaJQz9cwlLLhizWOykS0YNZfsTYc1Ajw0 6GuXX4iqxhYrKI5Jgu2EJl/NhWW5EYWGGKDnfDV73n/Tp9bgC4ZNn+FH2IPY0KlLDKaR PB2FdHnW05NBG2hcijKWYZbRGHeVGdqGCDwjBBHuLUN9IvsIa+MuhbCcKRsMOed139lo 8SfpvHpg4vQAxRe3SybpzORJZQ+BBXcvvhWqcjj4tNEe/CqNJ4wMZsJYKjUYrVZrlThU j74z5Vbo9EAn8pw+X0iYz3sLV7uQ9bw9orZlKAXi8lRg8VlUsjHmFWiJzkl4NOUT6G49 AS3w== X-Gm-Message-State: AOAM530UMw2+PZWmB9lOa0ZNZHUgM0gVw/faa7MTCe3yvkhreWMEhZBR /6cr+jYu1b0jRfaQPy48lkWRk7WuW8gWd+LEA2XP8uSD X-Received: by 2002:a17:90a:6b0d:: with SMTP id v13mr16206841pjj.138.1635961792997; Wed, 03 Nov 2021 10:49:52 -0700 (PDT) MIME-Version: 1.0 References: <20211102021432.2807760-1-jevburton.kernel@gmail.com> <20211103001245.muyte7exph23tmco@ast-mbp.dhcp.thefacebook.com> In-Reply-To: From: Alexei Starovoitov Date: Wed, 3 Nov 2021 10:49:41 -0700 Message-ID: Subject: Re: [RFC PATCH v3 0/3] Introduce BPF map tracing capability To: Joe Burton Cc: Yonghong Song , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , John Fastabend , KP Singh , LKML , Network Development , bpf , Petar Penkov , Stanislav Fomichev , Joe Burton Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 3, 2021 at 10:45 AM Joe Burton wrote: > > Sort of - I hit issues when defining the function in the same > compilation unit as the call site. For example: > > static noinline int bpf_array_map_trace_update(struct bpf_map *map, > void *key, void *value, u64 map_flags) Not quite :) You've had this issue because of 'static noinline'. Just 'noinline' would not have such issues even in the same file. Reminder: please don't top post and trim your replies.