Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp891500pxb; Wed, 27 Oct 2021 14:34:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXpRdOHf+WsY6hgENKDnF4z7XoGaoZMcSeY/1w40iRzecvOjODBI7Y0vJ5anrwZ4S+XAdH X-Received: by 2002:a05:6a00:1955:b0:47c:1d32:84de with SMTP id s21-20020a056a00195500b0047c1d3284demr99081pfk.70.1635370480429; Wed, 27 Oct 2021 14:34:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635370480; cv=none; d=google.com; s=arc-20160816; b=bC3c8zLpc42MKOpwveo9xiLZ9SIAOW6RdpxclTk2uaJmBsL1u/V/FwP639ElLAdZHl v55EORJl54y3jVQIShzoS9cJmdG3MNL1FPTJBFziTXJaIDSkh7Qz2fv3tB9LthSIFKdh Mz5Dy3+tnexwMs6SBvDPiAJRU5Wpm66SJleAMn253U3IQ6Kv8ABH3HELIGcNV9MS0v/4 ZDLMyKedqZUyPcRy+pHzqaWXh3fkr73nGby4dTQuPs03h9XB21ekcF3Fn4O1xJMi9xiD aXummB5KuTyo+0jEWobO7dmR2SfO+zzw1pDXK3Pp0IgMBI+wlIwBKiXMEP/A31jZ4y+f jJNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:cc:from:subject:mime-version:message-id:date :dkim-signature; bh=i1CL+Ioq0o886sLLAiCIG0Fc9RRyFVltQRWnMjV6y8U=; b=FoQPBBGPtO6YMzyoYqhik/PYd3nXUY8eVAK1TsA+pB9mY7piap/Zvrl5pMIZGf8DrI RHf3W7Wrd2d1y11Zrw0723IKNurf/9e9KaJNKTGFHi+E2FR6rVYKJVuE9TyKdLpiqw6Z EbUGqPTlabWp2RYVo3X3SEXVNWVbNsc/X12o6Zcf307RZXw1fDN+YfUuwfX8a5kWFvin pvITE7XzTqbNqf8nTh0q1JSZtpSac60U73ofCYAQgxl39wVApAnKDQCfiYqEykfQjmvs ctshuNxV/0fDavY4vONRpspAPJpRr00A1PfYdlnLL9BWMSCATEy9rHxTOaGy4cxq+mUs c4Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=EMSvLNRD; 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 m22si1274526pff.308.2021.10.27.14.34.28; Wed, 27 Oct 2021 14:34:40 -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=EMSvLNRD; 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 S235642AbhJ0VCD (ORCPT + 97 others); Wed, 27 Oct 2021 17:02:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238798AbhJ0VCC (ORCPT ); Wed, 27 Oct 2021 17:02:02 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37C6CC061570 for ; Wed, 27 Oct 2021 13:59:36 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id z2-20020a254c02000000b005b68ef4fe24so5614409yba.11 for ; Wed, 27 Oct 2021 13:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:cc; bh=i1CL+Ioq0o886sLLAiCIG0Fc9RRyFVltQRWnMjV6y8U=; b=EMSvLNRDpftfH5JdNeLd3rxDIB6eYTYN0UkBQMDOkWTUyWH4Z+MDxfQ3xI61I0T2Dv bz63mQxbFkFanne2shWprid3ZbvMA4VJMne64k9/eQ8cCbgMgKluDoUZffJx7nnxRmoz xRk2C8Xk4jbkogprOPimPmwSM4Bxiahbia5YysRfIpkpXpLYqcNInHKi0Iol0N/GPwiw fx3e+GBYErpFNHmPCVzBhDtqNRruh2mTBU14QRO+VfFKBXkmugBLnNWSlKF9mfgGGipH pG6Ouq7xK1Xbs16TkBngOK+WgaHPxiXl5Z+RN3d1Xkndnwc+5pbi9pb0jF31bnzv1fMb dqhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:cc; bh=i1CL+Ioq0o886sLLAiCIG0Fc9RRyFVltQRWnMjV6y8U=; b=BBOs7uLzGKZcJsrNI2sYiCqBwJTZMEaCckuDoXFpRjIC5+6SgjDQk+DKGblnb0ztGb 1TdjMCJUZ7+2Rv5GTFDRmkb1UvfD9UGfkGmtxIYaSPlmfG4QX2/CPnVWYqLv5S3r62ku AnAQ+ZjtlHLin7CyYXtNvSmHDXtyQHIHeanQDNa3LYXbhlsA8EaktjJ8zxrlZdTtvrOO LT2xcrlF4UUoJfruRE6o3iYCiMYCyUxCpoofZFJSOeF094Mrjn1UZEhIBwUr81cmoIVd Qf//kHDV1aH6UJpshjx9IsIH2ieheDCq5NCkuZg0J6wrO3XYMuUIi0mVZT4pqexuVj2T 3+vg== X-Gm-Message-State: AOAM532d248SCcwIuGqu2HjLYPBEJBJGb5a4Cp8xHAFEv8ANxe9fL24X UomUl9B9c9X1Ojnu+I6VTxzqgOzO+uUNdIG9Cg== X-Received: from kaleshsingh.mtv.corp.google.com ([2620:15c:211:200:ac51:b6be:9b51:3a7c]) (user=kaleshsingh job=sendgmr) by 2002:a25:2f48:: with SMTP id v69mr12930688ybv.487.1635368375434; Wed, 27 Oct 2021 13:59:35 -0700 (PDT) Date: Wed, 27 Oct 2021 13:59:07 -0700 Message-Id: <20211027205919.1648553-1-kaleshsingh@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.33.0.1079.g6e70778dc9-goog Subject: [PATCH 0/3] tracing/kselftest: histogram trigger expression tests From: Kalesh Singh Cc: surenb@google.com, hridya@google.com, namhyung@kernel.org, kernel-team@android.com, rostedt@goodmis.org, mhiramat@kernel.org, Kalesh Singh , Ingo Molnar , Shuah Khan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="UTF-8" To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds kselftest for histogram trigger expresions and is dependent on the series at [1] and can be applied on top of those after dropping the patch 7 in [1]. [1] https://lore.kernel.org/r/20211025200852.3002369-1-kaleshsingh@google.com/ Kalesh Singh (3): tracing/histogram: Document hist trigger variables tracing/kselftests: Remove triggers with references before their definitions tracing/selftests: Add tests for hist trigger expression parsing (v5) kernel/trace/trace.c | 11 +++ .../testing/selftests/ftrace/test.d/functions | 9 +++ .../trigger/trigger-hist-expressions.tc | 72 +++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-expressions.tc -- 2.33.0.1079.g6e70778dc9-goog