[PATCH 0/2] Add __counted_by_ptr attribute to struct stack_trace
Bill Wendling <[email protected]>
| Newsgroups | gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
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