[PATCH 0/2] Add __counted_by_ptr attribute to struct stack_trace

Bill Wendling posted 2 patches 1 month ago
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
[PATCH 0/2] Add __counted_by_ptr attribute to struct stack_trace
Posted by Bill Wendling 1 month ago
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