Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1601529ybt; Sat, 27 Jun 2020 13:36:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvmUpEh1+DSz3Rg7vy4x+UO3Gu8G8LVfSS2hGEfjbUgX3U8sq0xeKLfICAmU1GxP4CeMvH X-Received: by 2002:a50:c219:: with SMTP id n25mr10113695edf.306.1593290166131; Sat, 27 Jun 2020 13:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593290166; cv=none; d=google.com; s=arc-20160816; b=KFn/2p/QYnULvNtTzAgaKqed2qJ6LYNWRGHO1ldB05wochE4uST9FcDoXqWEFLzVlk sAcgx2FxP/avN5WdYgCg1F7tu/A7RxjW+EVhxzwoys8u+CEG4VfIy6cGR8Oip2/CaKwt IYzC0WtgpDhYLffdp74R7weMk7Px2ubtaPlqr/0zBxijWfz2AncaPVcYb8dj7swoOX2k PJe0f3O2Y4vlJEfuNhrIZavwMomcOlaI1QEBJPaCigwRgzTpypCRV8KXvbktOTXx8jVR dAYFahzk/j3oJ8onTZw872SmunVOTXOgAQ4yyBF7Y2Gq+J58KaCQrYUFZaJc7sC1B4H0 dAeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LElBDHTTMn9qMHSwEfjlESwGT7fS/VgY0FD9zMzhcSk=; b=LXAfUkMoZoFPZqh1taILhcqYvAf7oHyQMRSsWGEs8KHA8lHiyTgfp49Q5WHFh9U6P0 v805YX8QtezyrMbcLlaTIrp9QU6HtYknsh+N+Bhk9dKvsMDn1kHrukOVNxmyExyt+BBw TCX9M019JlKYK2nWeS644hiOrbWlDGrfw3CQXCnmQVQbBFdKqPRpevcWSv+K/daI2qYW 8q6uyNsemjxzLRg+h+9w5xYcmnCmlV9MMY1lgizHmBcYFOd1oHNhc783S2Rbr+C5H69x CcDVICb7oAmi/ymUUQbsN3NogK24UcRiYR8EgDCgUtZcoY7FYmonjlQ9+YeZxWYl/vtj SVYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="RH/DZm6x"; 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 l12si12313627edq.180.2020.06.27.13.35.43; Sat, 27 Jun 2020 13:36:06 -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=20161025 header.b="RH/DZm6x"; 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 S1725933AbgF0Ue6 (ORCPT + 99 others); Sat, 27 Jun 2020 16:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725792AbgF0Ue5 (ORCPT ); Sat, 27 Jun 2020 16:34:57 -0400 Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 894D5C061794; Sat, 27 Jun 2020 13:34:57 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id q198so12036721qka.2; Sat, 27 Jun 2020 13:34:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LElBDHTTMn9qMHSwEfjlESwGT7fS/VgY0FD9zMzhcSk=; b=RH/DZm6xtX+1UNWqgY1c5FaBHHY0EVnaxmswqO9z51psOntUVnVXc/0irlzyCvoFZJ DCLfXoTwDh8h+iBIA6uDfRR+mq6oApI59ViCHTl51MkBVcMDsKF0vEGZEyezXbZ/MvWB FsjJIfCPYR2E4wEjsnTuU8UxtCHmy8/tHaRsuxkKB6m4xJqey8SyyrCJj5ckvOSbxiGB DUFw5Aa6mpk56+0Fa7dS4Uh+OboySFTS4jbzrDuHVw19vRSYtkUsJlYsvFck7RjBnO+C 0+sGGIoLx6I1UAFXr46o4+yR5OHA5oqjhD7EZQGnWe48srbyBmnwoZIsTa66jKnxIa6O Ixbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LElBDHTTMn9qMHSwEfjlESwGT7fS/VgY0FD9zMzhcSk=; b=TQmC9i48AmAbUg2KqWs6b55LdyqXd/ccn9lKEdEumXxjsHahYm6ceO1KP4Q8okvKgt bYX/WWPigwwmie7VfJlpq2SXBl/xDD4oM42Q6ZdD+ltO5es6rR1JZqLAU5riicKxwoUS KBPlssYyYKXs+0miEilAWVLy84o3VduidsrlKEmqNCicF5S9SLylfWhIPJCspAMTj8zN e8JUcAlkPLoERWAa4FqVrOhF1gyBtVIE6ThyB6gfzdVIxI9b9jWR4Uf7HZ0xAPmkty9P iwzfAGhyo7YUET/4Jj9gPi+uHxkXFABQ1nZ2fETKX1e04Df60ZunwASrHSVhLn0TR5cm z4GQ== X-Gm-Message-State: AOAM533qEF6jAIyJLaMTmVUvfsSVRkaFCcKx6011hI+adURrlq8Wy7Nm A7cc0irWiyNqpLoeYzBZ29E4bxyTf6A+JAF30jM= X-Received: by 2002:a37:270e:: with SMTP id n14mr7945083qkn.92.1593290096799; Sat, 27 Jun 2020 13:34:56 -0700 (PDT) MIME-Version: 1.0 References: <20200627002609.3222870-1-songliubraving@fb.com> <20200627002609.3222870-2-songliubraving@fb.com> In-Reply-To: <20200627002609.3222870-2-songliubraving@fb.com> From: Andrii Nakryiko Date: Sat, 27 Jun 2020 13:34:45 -0700 Message-ID: Subject: Re: [PATCH v3 bpf-next 1/4] perf: expose get/put_callchain_entry() To: Song Liu Cc: bpf , Networking , open list , Peter Ziljstra , Alexei Starovoitov , Daniel Borkmann , Kernel Team , john fastabend , KP Singh Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 26, 2020 at 5:26 PM Song Liu wrote: > > Sanitize and expose get/put_callchain_entry(). This would be used by bpf > stack map. > > Suggested-by: Peter Zijlstra > Signed-off-by: Song Liu > --- Acked-by: Andrii Nakryiko > include/linux/perf_event.h | 2 ++ > kernel/events/callchain.c | 13 ++++++------- > 2 files changed, 8 insertions(+), 7 deletions(-) > [...]