Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5816113ybc; Wed, 27 Nov 2019 09:52:03 -0800 (PST) X-Google-Smtp-Source: APXvYqwWZGkYeXpCOtiJlVYIGmlsKeHlG77lXq5IJJngJ4Jz6E5WSYlmER3S0GsCyCDNujExAv71 X-Received: by 2002:a17:906:3796:: with SMTP id n22mr31250661ejc.222.1574877123429; Wed, 27 Nov 2019 09:52:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574877123; cv=none; d=google.com; s=arc-20160816; b=Jw+OkW3rLZV8NmYjlzgFMZjkrjBFoiBy8zLN8r8zlc/F4LWwWBMnjSKvUdkEAert6U P7+bcoontXfqpAuFykRGWznbiAcwB+tDpXI7C3XaV16nDpGBE42RbjQgpetBMMEkMydq ZABM3bcibnNfQsWuoZmSsKsspaKhA+GwDXHhYZ/7gQoUJ2azwGs4SOEjf+ZmMOwCVVSL dBwE8C2sTo2mw9HMH6hxAkojmqyuIeZNYXZmgCpsXpF8zv2W6uOAnJtGe0hwnJLQkAyl gAGIt3wdF5bsMFUWyA6Ya/bGsJuAymrIXP17KvM8xEK4vjKMM7lNBboGF4iUXoOlzhbq ukpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mKRm+kUhexHkuGgI+4MqUr107/iLfqSeR0S/QaIpNT8=; b=I/6tyw1M+At2kR60LImGDGvkPMdVWHdejoOeQT3NH+nPo0FBTxE/LGyrKi24SWfv26 pAN+9rGokC3N00qD21WJB2Xvs5Ml5u1EzUbh/3NpBsnjrS8SrTyCpJfbtGB5t3RN006C DAACiAuWfCpE7RXlDsiM1+BqH0vtgY7XwL+9FDp1uGFeh0yCe4IgzomP7hkbUx8Lx20d Ukft578Yuzk+GxtozM7wvN8UVIUqV8IsAUuJ7hHoAhbUpuJz1A4HFwirL49P6V1V26pi jY2rwVARY6tC7csFQLO0zqfFXoIINx5OkbFsUX6EapjPcqBOmH08vOUH2LA5wjDDwOtW 53/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z1qEAryW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id ca22si9802888ejb.22.2019.11.27.09.51.39; Wed, 27 Nov 2019 09:52:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z1qEAryW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727138AbfK0RuZ (ORCPT + 99 others); Wed, 27 Nov 2019 12:50:25 -0500 Received: from mail-il1-f195.google.com ([209.85.166.195]:34069 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726990AbfK0RuY (ORCPT ); Wed, 27 Nov 2019 12:50:24 -0500 Received: by mail-il1-f195.google.com with SMTP id p6so21820291ilp.1 for ; Wed, 27 Nov 2019 09:50:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mKRm+kUhexHkuGgI+4MqUr107/iLfqSeR0S/QaIpNT8=; b=Z1qEAryWSPDgL0Qx2hbSTyQUqA1HrjAytee63ZZ6Yq3KMJLEFXlhAwfboGCgudRhES 1PCWrhNpLEDSuMEBY0IkxdcweFJRHfkdbFi2c6n6pyaQoUbV/mpWg2oQHUr3LxLEipTu bz0sxhyITXBrFxy/8Yl2dOgOpJlK3PxuPnNOLnWb42D73FvV345dThdLsi+WVuKSBceb +peK9TAh7QnSXXS3Y/pM7xkzzSpUiKHrS0JQTkN00CUlYwokbeyjf2hWFrRhtNh0ogpN j9xNV8Jw2O5D9lc1gaxrD5HZ1Y4Aoj4aqCnhQcbJPTTtqHW0oS8SUyTXdE8++PknREHt 10dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mKRm+kUhexHkuGgI+4MqUr107/iLfqSeR0S/QaIpNT8=; b=Rm0tt7DXrOEzoJIkDziAl/pN3ykdJBRfZtzOo6eIlC0PkM7ojPBg3mRZhfzG0vy43M IvsRUMH5drLLZL6n+MgrG3ui6r6xwg6J3yNky84qkkYPBU6ha4b1izkfGdvCoS1cejh9 I2CSqc4tr3wORkTyEh+O+69EeA5uwcjC1FDVkef+J9zZYrvhCofRMQofWMTWPHGTm1p8 Y/qfaxNoPek3uNzR4GExhsgDN9fFRq6CuCQg/ehZLSCmGLvdjfjnpre9pCtXlGF6zUFg SpPh4avIpzExg2PZjFOHcMjIlaoAERLUMQNme7X5nCMjSeXJvi+6FrRCrHESsZaXdJbE xboQ== X-Gm-Message-State: APjAAAVKAoRwz+iP0gewFblh3V81NE8dV/GfD39Ga8jTdK2SeHVE0CyL ku31hxRBW/NiY+vfxNSD7PE= X-Received: by 2002:a92:bb4a:: with SMTP id w71mr31407480ili.112.1574877023706; Wed, 27 Nov 2019 09:50:23 -0800 (PST) Received: from localhost.localdomain (c-24-9-77-57.hsd1.co.comcast.net. [24.9.77.57]) by smtp.googlemail.com with ESMTPSA id f8sm4546907ilf.36.2019.11.27.09.50.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2019 09:50:22 -0800 (PST) From: Jim Cromie To: jbaron@akamai.com, linux-kernel@vger.kernel.org Cc: linux@rasmusvillemoes.dk, greg@kroah.com, Jim Cromie , saiprakash.ranjan@codeaurora.org Subject: [PATCH 00/16] dynamic-debug cleanups, 2 new features Date: Wed, 27 Nov 2019 10:49:29 -0700 Message-Id: <20191127174929.1350995-1-jim.cromie@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org this is v2 of patchset posted earlier: https://lkml.org/lkml/2019/10/29/989 changes from v1: dont drop trim_prefix yet, its harmless, and better supports old compilers. dont move externs to header, despite checkpatch New Features (review): accept new query input: file inode.c:100-200 file inode.c:start_* add 'xyz' user flags, allowing user to compose an arbitrary set of callsites by marking them with user flags. This takes 3 remaining bits in the flags byte. extend flags-spec to allow filter-flags, which select callsites for modification based upon their current flags. This lets user activate the set of callsites composed previously (xy+p). cc: Jim Cromie (16): dyndbg-docs: eschew file /full/path query in docs dyndbg: drop obsolete comment on ddebug_proc_open dyndbg: raise verbosity needed to enable ddebug_proc_* logging dyndbg: rename __verbose section to __dyndbg dyndbg: fix overcounting of ram used by dyndbg dyndbg: fix a BUG_ON in ddebug_describe_flags dyndbg: refactor parse_linerange out of ddebug_parse_query dyndbg: accept 'file foo.c:func1' and 'file foo.c:10-100' dyndbg: refactor ddebug_read_flags out of ddebug_parse_flags dyndbg: combine flags & mask into a struct, use that dyndbg: add filter parameter to ddebug_parse_flags dyndbg: extend ddebug_parse_flags to accept optional filter-flags dyndbg: prefer declarative init in caller, to memset in callee dyndbg: add inverted-flags, implement filtering on flags dyndbg: allow inverted-flag-chars in modflags dyndbg: make ddebug_tables list LIFO for add/remove_module .../admin-guide/dynamic-debug-howto.rst | 72 +++-- include/asm-generic/vmlinux.lds.h | 6 +- include/linux/dynamic_debug.h | 7 +- kernel/module.c | 2 +- lib/dynamic_debug.c | 283 +++++++++++------- 5 files changed, 232 insertions(+), 138 deletions(-) -- 2.23.0