Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1523620pxb; Thu, 4 Nov 2021 04:01:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwL85bpQdFoerarX1Kq4Bu+WH0TGwSCcUBGyDiUg0B/3IkjUJE+/mxRiEb88Ww84Au6VjUc X-Received: by 2002:a5d:8619:: with SMTP id f25mr35631368iol.46.1636023676551; Thu, 04 Nov 2021 04:01:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636023676; cv=none; d=google.com; s=arc-20160816; b=bEj/A+oWK9KiuFkAgjvZI1uIFguKVOiOB49gxfwg0JMGTzjrSySwoe6wE1yiD9dywq qLLMTUecylrybF1i/uuP//omzIo+H9hhkCmzw6LTIubtgxRM8dWgJzzErqs0KzdS+WFF AT48YH/51KxXmZ5j5sE0XAX4RjvxiA4ndpp5NzkFX1IBN6oe8yEebhKXshGvY8ndRvx+ 3Jyp25dFvKVHhX8Q3eQN9f2zPsv9ctfrxRuNxeR48hAeMjQNVT2sBoAKH3Ot7mpeKsgb VQ6RdxTLe9dZK4tJB5k5KgXwnelmWAlEkqmyYvg3P3NRQLhCs1mltt1mGAhR2jICV63m zbbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yk5XgrdOGaW3p+sZvRRyB5VgAQCpuos1tmstcywTUC4=; b=Rb57kg0c97SKtQw4MuiBHBjCJtjdqFAyYZhNXnLV5m983jaSidp9ILTM4QZPnKFbV2 ZYXy4xU/fyuU8kKU0M0Pvty+ZoISQJcAsM3KYS5dSfjl1dYtONKVgDE3HKZlIa9uZL+k HmQIVehXemE3V6QEXL3eIAqPimznA8/h/qPN/T7XacqbA/V17XPlCV0HRUJ1p2lPAcoE dLQ4bsM7Hvn75Ywfe/O7Xf7CRZmIlkzUF4duRVUWck9LIjRb7swbp4L4VfZRQIrxSpAY wUbOry0jR95PdPVhIyh4XnDxsBwYwMLD0kX3+wmbsy8NGaHmK1wenge4G0OKlzaEJyDs 0kHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mojatatu-com.20210112.gappssmtp.com header.s=20210112 header.b=XX1YBYYH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si9284190ila.52.2021.11.04.04.00.48; Thu, 04 Nov 2021 04:01:16 -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=@mojatatu-com.20210112.gappssmtp.com header.s=20210112 header.b=XX1YBYYH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230401AbhKDLCQ (ORCPT + 99 others); Thu, 4 Nov 2021 07:02:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231171AbhKDLCQ (ORCPT ); Thu, 4 Nov 2021 07:02:16 -0400 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 437C7C061203 for ; Thu, 4 Nov 2021 03:59:38 -0700 (PDT) Received: by mail-qk1-x72f.google.com with SMTP id bp7so5180264qkb.10 for ; Thu, 04 Nov 2021 03:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=yk5XgrdOGaW3p+sZvRRyB5VgAQCpuos1tmstcywTUC4=; b=XX1YBYYHmk1cGhVONndzHMCKWuohW4I4dM1TtuQ9FZOpOuKRiNQ7W8lU0mLOfMXMln tebH6GbKj86VppLGa3M9D3purC3zTa3kl4odzXyqfOMep4hmM3a0qwX/osMUd86fnJex U0DIvfNePhGdPEOvHNjDsXdK5/GWVJUwXUERwJiGXk/2e2mRrXAYzCD3Qpc+LQ/sb0Gb cThFB+zRxr3kmrwkLC58FnNMtAQW3aKy7QMCYwgjlB/2fidVHlkLUMDLdampm91nvXDi 09TcE3LMsn5DCPDnkN07mT+vT4KeTjY8hiKaOrekAU9PQlcPpsIzBdCZ4ckpq+SnY5DM w6JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=yk5XgrdOGaW3p+sZvRRyB5VgAQCpuos1tmstcywTUC4=; b=kQFYaZfhTO7ilNTAWjQvY1qe8UruBS1CCVptlMyQnowz9co56pfIdNKET1VAFoFWAX lEhyoVsGgI5TnihgwAewAGhtI7EfAx0YyktAQaGrEpkTWdn+aFABdKwwr5IRJyDYfKwL XIEDZNz5WIENcj+p/RF2YEynGt+pjQiJPhMewN3wafIvJpBSza+gdlO8NCVc8czEhwdM vfOTuarUNMogKrNJCEZ/BSS1dJpa/BvHY4ytGnGhBeaYC276JLQLD3nkwbTLbgHOohZU WPgEpkb02hZThHs/uWzPslOq+ILj1800DPqnte8oT+d8ZL68bi8JKuwtP7ULpo+pkoNt sbrQ== X-Gm-Message-State: AOAM532tL4hvX0WZaRtcA8XmO/1UpVH4q/NxGoOh2T3VqjWiXis4p4K4 2RpN4A+o2MA2QtLAHOzIRqQNrQ== X-Received: by 2002:a05:620a:4086:: with SMTP id f6mr40328253qko.220.1636023577438; Thu, 04 Nov 2021 03:59:37 -0700 (PDT) Received: from [192.168.1.173] (bras-base-kntaon1617w-grc-33-142-112-185-132.dsl.bell.ca. [142.112.185.132]) by smtp.googlemail.com with ESMTPSA id v14sm101547qkp.9.2021.11.04.03.59.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Nov 2021 03:59:36 -0700 (PDT) Message-ID: <4e602c87-9764-829c-4763-38f4ac057b7c@mojatatu.com> Date: Thu, 4 Nov 2021 06:59:35 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [RFC PATCH v3 0/3] Introduce BPF map tracing capability Content-Language: en-US To: Joe Burton Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, Petar Penkov , Stanislav Fomichev , Joe Burton References: <20211102021432.2807760-1-jevburton.kernel@gmail.com> From: Jamal Hadi Salim In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-11-03 13:12, Joe Burton wrote: > That's a good point. Since the probe is invoked before the update takes > place, it would not be possible to account for the possibility that the > update failed. > > Unless someone wants the `pre update' hook, I'll simply adjust the > existing hooks' semantics so that they are invoked after the update. > As discussed, this better suits the intended use case. > If the goal is to synchronize state between two maps (if i understood correctly the intent) then it is more useful to go post-update. cheers, jamal