Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1533734pxb; Thu, 4 Nov 2021 04:11:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyStTMmwlvsD+5HDr9zBnfWHCMGuL0DNgRwxXfLNC+Z6HxfGrC5jagBbdjv+m1du8qWUZAi X-Received: by 2002:a05:6602:1592:: with SMTP id e18mr11957313iow.58.1636024272999; Thu, 04 Nov 2021 04:11:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636024272; cv=none; d=google.com; s=arc-20160816; b=REFKDRjm+O5oPQq3XfWT24pEsxVFB9Q3Nab7LZCNgaC7i0z64+Y4dCf7CNKTjtLb1d TVy/owgfM/uCxQ3Kv+INB2CmQ2cUbgTz3aabhP0JWv0GnaG06K7R44Mq6mlzOoVwgtdI OD7JvSpk5yuHlsf0CJz8ph0qrcy7G4pVJk99oSxKi15mtWesPxFRCfEG/KeTE4qYeDiO vISjfo0EQom4FKylaM5OAWzhj/Gzw6YWiNmcNZJr3rYLH4AQWGZ1AiJdYfWCqeGHTU4A Q86cocv4J4NrvAWUgrdYkb4BYW9B07JAVM3fPfVQZACqhuBLCRYQDUGCdAbAQW6su9kY tIBA== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=vkv7mK8GC9ZbiF8Xd4Fzv7sfP3E/qraN1xOduxBglDQ=; b=j+it8v82Oy0UpMcQkgNF/HWqLaTv4UR6UH32FPbRUYRceBt9+e1OIYWRW/uDx0X5+x qXBcA2YoARcM0N9YPss9qCCLwwPftcE+O5id2CPd0gLJpPrnn8AKlnXhL7BHODHC2mms Ruj7MtPYguBx2JL2LY9C16I6ewlWjKmAfnJdkHHzWiMdTPNtBHZCr8zZcWRK/EuYQDPZ XOdeMbT5uqQu5U72A7nq498ZWFQ7n99CNVXD4hCFZlap64G6oZSPAr1VVs+GhWsci4Xf GKvaIsqak2T6nfFt8a3BQ1TlVuq+HZmi1sBu1lPvI6uY62dmLHxKJnbuO6rb3/AygUJF m4pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mojatatu-com.20210112.gappssmtp.com header.s=20210112 header.b="vf6V+2/W"; 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 x22si9787895jat.17.2021.11.04.04.10.56; Thu, 04 Nov 2021 04:11:12 -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="vf6V+2/W"; 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 S231266AbhKDLLb (ORCPT + 99 others); Thu, 4 Nov 2021 07:11:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231237AbhKDLLa (ORCPT ); Thu, 4 Nov 2021 07:11:30 -0400 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A073C06127A for ; Thu, 4 Nov 2021 04:08:52 -0700 (PDT) Received: by mail-qk1-x733.google.com with SMTP id bk22so5222196qkb.6 for ; Thu, 04 Nov 2021 04:08:52 -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 :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=vkv7mK8GC9ZbiF8Xd4Fzv7sfP3E/qraN1xOduxBglDQ=; b=vf6V+2/Wx6uIJEQ8LHVUXCyk5sHw1cOUa/yE1AM3Ct4X10Y/JaDfphVWsXJeGEeo2D kPfS8EPiq8NgME3H6IRmFi9rA5Kxe/JIvw8bQbraXnWF5eIhK5z30N1wu4quMaFo6PU5 pMf050tSAK6OYLTNNQF4BHgsdijrzyOY0vgjO2LGja3v9npFTSPig6tQOOoSPcFgUejy k+j+JaS4wdIgewgtcWAXKZJqAj0wGjHDuJ27OQnOdg5i4tdj0KQd6uObpRpJS6aViaxt E1KK4xLUuW1J9ykrktmK9Y09s+skZ1q8eyPlDuUav4nJTxGsJd0PcJqEZstX+vyygQ93 eioQ== 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:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=vkv7mK8GC9ZbiF8Xd4Fzv7sfP3E/qraN1xOduxBglDQ=; b=MkSxbgW7KgMAcE3zRU+GD28kdTuBsXLjHimN3WsFn5gREJQzlJfyHfDt0jT7okjs1N t8I7Nq5QTyDUgs3tqrCztJIWcqgxavK8Jg2W9kRf64UgDM/elKV82PXgEiXXACAud10b UIV+SZGeiuo6yIdsE4g05xdzR/m986/zjPl0rvkbUVjmktzGhkRvqd+cEQzxe/4+Vhl9 oDobzTwK+sM00F7rLMcIIpVAp8rLSom4Fpj39K2bu9/5fsQsn2pNtoGE1ojI5vIxY/WP +yAIAX28lDDZAX8NyWfO05yT2ygpBRjnQaCD/3ERxOBGQ/7VshDdwE1imhJHB37hBj+F ZGYw== X-Gm-Message-State: AOAM53294+MDdT1czUVlGSTvOsa7/EmRRtI7a5k4cgPI6uOZEI7b/OXp Dx4BYtSRcGLJTDkyr1kvduF3CA== X-Received: by 2002:a05:620a:430b:: with SMTP id u11mr40142573qko.473.1636024131797; Thu, 04 Nov 2021 04:08:51 -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 o14sm3735117qtv.34.2021.11.04.04.08.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Nov 2021 04:08:50 -0700 (PDT) Message-ID: <1376ab2d-f412-f001-a173-75af12f4ce98@mojatatu.com> Date: Thu, 4 Nov 2021 07:08:49 -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 From: Jamal Hadi Salim 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> <4e602c87-9764-829c-4763-38f4ac057b7c@mojatatu.com> In-Reply-To: <4e602c87-9764-829c-4763-38f4ac057b7c@mojatatu.com> 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-04 06:59, Jamal Hadi Salim wrote: > 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. > To complete that thought: Only positive results are interesting. For example if the command was to delete an entry which doesnt exist there is no point in reporting that (or is there?). OTOH, a successful delete is useful... cheers, jamal