mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bill Wendling <morbo@google.com>
To: linux-kernel@vger.kernel.org
Cc: Bill Wendling <morbo@google.com>
Subject: [PATCH 0/2] Add __counted_by_ptr attribute to struct stack_trace
Date: Sun, 23 Aug 2026 12:35:31 +0000	[thread overview]
Message-ID: <20260823123549.1120133-1-morbo@google.com> (raw)

Bill Wendling (2):
  stacktrace: Add __counted_by_ptr attribute to struct stack_trace
  lib/tests: Add KUnit test for struct stack_trace __counted_by_ptr attribute

 include/linux/stacktrace.h   |  2 +-
 lib/Kconfig.debug            | 10 +++++++
 lib/kunit/.kunitconfig       |  1 +
 lib/tests/Makefile           |  1 +
 lib/tests/stacktrace_kunit.c | 51 ++++++++++++++++++++++++++++++++++++
 5 files changed, 64 insertions(+), 1 deletion(-)
 create mode 100644 lib/tests/stacktrace_kunit.c

-- 
2.55.0.860.g4b6b3295ed-goog


             reply	other threads:[~2026-08-23 12:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-23 12:35 Bill Wendling [this message]
2026-08-23 12:35 ` [PATCH 1/2] stacktrace: " Bill Wendling
2026-08-24 19:12   ` Gustavo A. R. Silva
2026-08-23 12:35 ` [PATCH 2/2] lib/tests: Add KUnit test for struct stack_trace __counted_by_ptr attribute Bill Wendling
2026-08-23 15:11   ` Kuan-Wei Chiu
2026-08-24  6:41   ` Thomas Weißschuh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260823123549.1120133-1-morbo@google.com \
    --to=morbo@google.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®