[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5ae22590-752e-7ea2-5341-a49a99e7507d@suse.cz>
Date: Fri, 15 Jan 2021 14:06:14 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Alexander Potapenko <glider@...gle.com>,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
Linux API <linux-api@...r.kernel.org>
Cc: andreyknvl@...gle.com, dvyukov@...gle.com, mingo@...hat.com,
elver@...gle.com, pmladek@...e.com, rostedt@...dmis.org,
sergey.senozhatsky@...il.com, linux-mm@...ck.org
Subject: Re: [PATCH v2 0/5] Add sysfs interface to collect reports from
debugging tools
Should have CCd linux-api@, please do next time
On 1/15/21 2:03 PM, Alexander Potapenko wrote:
> This patchset adds a library that captures error reports from debugging
> tools like KASAN or KFENCE and exposes those reports to userspace via
> sysfs. Report capturing is controlled by two new types of tracepoints:
> error_report_start and error_report_end, that must be added to the tools
> that want to use this new feature.
>
> v2:
> - added ABI documentation for /sys/kernel/error_report/
> - changed error_report_start and error_report end tracepoints to take
> a fixed set of values for the error detector
>
> Alexander Potapenko (5):
> tracing: add error_report trace points
> lib: add error_report_notify to collect debugging tools' reports
> docs: ABI: add /sys/kernel/error_report/ documentation
> kfence: use error_report_start and error_report_end tracepoints
> kasan: use error_report_start and error_report_end tracepoints
>
> .../ABI/testing/sysfs-kernel-error_report | 41 +++
> include/trace/events/error_report.h | 84 ++++++
> kernel/trace/Makefile | 1 +
> kernel/trace/error_report-traces.c | 11 +
> lib/Kconfig.debug | 14 +
> lib/Makefile | 2 +
> lib/error_report_notify.c | 278 ++++++++++++++++++
> mm/kasan/report.c | 15 +-
> mm/kfence/report.c | 3 +
> 9 files changed, 443 insertions(+), 6 deletions(-)
> create mode 100644 Documentation/ABI/testing/sysfs-kernel-error_report
> create mode 100644 include/trace/events/error_report.h
> create mode 100644 kernel/trace/error_report-traces.c
> create mode 100644 lib/error_report_notify.c
>
Powered by blists - more mailing lists