Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp863866pxb; Tue, 19 Oct 2021 14:51:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9gn8A5HxsJZY2kTniu33y0s6SHCnskr6nZvh2QRJxCy7MCl6KJxc356rUTWaUn529/x5N X-Received: by 2002:a17:906:7113:: with SMTP id x19mr42090969ejj.557.1634680311534; Tue, 19 Oct 2021 14:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634680311; cv=none; d=google.com; s=arc-20160816; b=BzFKDAE484UAz5zwjNqDh2WJqqHq1+YrXO7oSB6Jx1WkkHqRWUq51iXpFAa78A3DnJ 5hvEAP7So3NkhPsGqQ17OQbcS77YLOc7vRP6wkc38Y7BYgkLS61TGQSlXztpIuc9CrMF gCMwItdoyeh7R9Mj5szi72XHaggcKrW2bvNt14UCyVPJ0W47W3NZyYllOYpE/6g/+Sd5 +rsMdIl/fM17kDbexZLbNEOyfB0gQ1iEW1cjrN1UKImnArsT/Nhl00mOtJAk1L4i1P4R 7zGIX/xMqz1O6Q6KZzxS5X1oN3zapGS95Vcnw8mTjD2gGOtchv8/Tfufadn6BA8W6shg x0oQ== 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=OiAYKXU6LKvLzjanHYWWmXBFY+iSjfiEc6TGGYBBgEw=; b=zcP7ACJ2lhmJBip7rqFPKpoP3Vj3oKIiRvfYyCOL+DxqJDeSEjvZUCJ0CO7jNb8SYY tJXJBSkdqOnc+EMcPgkuGDIheQcO6Z/f5W3QhqbacKQhELWGKlk8zsiEKq+SJBM0HA+l Tc9rOCAK/4VNJk3H7XlGhxcRkiJsn4ke1nhbrsw4G5tVRGGI9caDGd30LxMLceBdbaIb X1+ZXZbzm4oNA7DQ6QeASw2b5rj4f+t2EWqjH47bu8vT4OIgL49hfErgS0EHgpdcSXDu YkHIfbniYf4zK+qOivN1vt36PbkFbIwC7KQ6sruGkdV0In71iG6Oohw3eTMSxpiJGj0Q Q19g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fWgHoUbX; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k25si384927edf.34.2021.10.19.14.51.26; Tue, 19 Oct 2021 14:51:51 -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=@google.com header.s=20210112 header.b=fWgHoUbX; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229483AbhJSVv2 (ORCPT + 99 others); Tue, 19 Oct 2021 17:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbhJSVv1 (ORCPT ); Tue, 19 Oct 2021 17:51:27 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B5ADC061749 for ; Tue, 19 Oct 2021 14:49:14 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id m21so20582249pgu.13 for ; Tue, 19 Oct 2021 14:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OiAYKXU6LKvLzjanHYWWmXBFY+iSjfiEc6TGGYBBgEw=; b=fWgHoUbXW88bErHyyMVe6LR3APM6ahymvSBseUQqdQzqNkt+VvsesPzwO4RHFaBlij bR+sKZTBVng5lqEvY72dla3yX2mjO8Gt+0AXLjwpbl4jo26VgWOXR1irR1iKCMlkNbC0 WdSziG/GI9LQnckxhbb+CnFrXp23KZdCwfl9T1asOJ+fnvyB0SiNuOnYqzgpPN+9E+Ma ttMFTp8x3CijvS2K73aQIgiNaTDVcnjVVUNIlWlip82kANLzZmDf1Tyk+pxX5WdbfP5z uwBvFEVPswtN+iXY5L7p63bbFAJnxlq/iOGSfjGO6+BeN94nZonUF2VIOsn5XLuPYW36 jY2Q== 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=OiAYKXU6LKvLzjanHYWWmXBFY+iSjfiEc6TGGYBBgEw=; b=uPyZ1ZLDGgAJckhDUR89Q80gClv49cKmhmEfwZ9pfIUgeXpLDbBXdrVDDOcsVW4+wB lGE0EotMbdUrORVOuCKd7bZnuTwe9ARK8LakQfExsnZ8mBQCU5agXsPgMgyQIl1fHVTP HGMi+gqxeKUkZK8EVIHe5eQLKY0kAPbjms7whHUnoNQvHkWjGKsQaExnlkMP7vSh4Bw5 UGxVrqS/uDT8acFkhOBdK+9OpxSEO/lyz7fkO8GW/buUtyT8IzzOBCciLczE1FqjP/vB /gn0tOIt7z/rjahE+FrtREc32u8D6s1YGPblUAhxzaVXpdRbcSB/PhZwndJVrnry85dk aKsQ== X-Gm-Message-State: AOAM5331YsIY2AkTDOCIBO4VTCs6rTQ8NubbzQbIlyv05XtS/UuhIMO9 hrpzSlYGUGnDFOE4fr8gG+GxUoPRbyEoO2NvE0bq2g== X-Received: by 2002:a05:6a00:b95:b0:44c:7c8b:f762 with SMTP id g21-20020a056a000b9500b0044c7c8bf762mr2429192pfj.60.1634680153440; Tue, 19 Oct 2021 14:49:13 -0700 (PDT) MIME-Version: 1.0 References: <20210915195306.612966-1-kaleshsingh@google.com> <20210915195306.612966-2-kaleshsingh@google.com> <20211019164834.465b2a53@gandalf.local.home> <20211019172600.0f211c98@gandalf.local.home> In-Reply-To: <20211019172600.0f211c98@gandalf.local.home> From: Kalesh Singh Date: Tue, 19 Oct 2021 14:49:02 -0700 Message-ID: Subject: Re: [PATCH 1/5] tracing: Add support for creating hist trigger variables from literal To: Steven Rostedt Cc: Suren Baghdasaryan , Hridya Valsaraju , Namhyung Kim , Jonathan Corbet , Ingo Molnar , Shuah Khan , Tom Zanussi , Masami Hiramatsu , "open list:DOCUMENTATION" , LKML , "open list:KERNEL SELFTEST FRAMEWORK" , "Cc: Android Kernel" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 19, 2021 at 2:26 PM Steven Rostedt wrote: > > On Tue, 19 Oct 2021 14:21:04 -0700 > Kalesh Singh wrote: > > > Addition and subtraction are already supported operations. The use > > case given in Documentation/trace/histogram.rst is for calculating > > latencies. I don't have a use case where the constants may be needed > > in the addition/subtraction, but for simplicity and completeness we > > support them for all operations. > > Perhaps we should state that it's mostly added for completeness then. Good point. I'll update the commit message to clarify it. Thanks, Kalesh > > Thanks, > > -- Steve