From: Vlastimil Babka <vbabka@suse.cz>
To: Alexander Potapenko <glider@google.com>,
linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
Linux API <linux-api@vger.kernel.org>
Cc: andreyknvl@google.com, dvyukov@google.com, mingo@redhat.com,
elver@google.com, pmladek@suse.com, rostedt@goodmis.org,
sergey.senozhatsky@gmail.com, linux-mm@kvack.org
Subject: Re: [PATCH v2 0/5] Add sysfs interface to collect reports from debugging tools
Date: Fri, 15 Jan 2021 14:06:14 +0100 [thread overview]
Message-ID: <5ae22590-752e-7ea2-5341-a49a99e7507d@suse.cz> (raw)
In-Reply-To: <20210115130336.2520663-1-glider@google.com>
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
>
next prev parent reply other threads:[~2021-01-15 13:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 13:03 Alexander Potapenko
2021-01-15 13:03 ` [PATCH v2 1/5] tracing: add error_report trace points Alexander Potapenko
2021-01-15 13:03 ` [PATCH v2 2/5] lib: add error_report_notify to collect debugging tools' reports Alexander Potapenko
2021-01-15 13:50 ` Greg KH
2021-01-15 17:17 ` Alexander Potapenko
2021-01-18 11:38 ` Petr Mladek
2021-01-18 13:08 ` Alexander Potapenko
2021-01-18 13:14 ` Alexander Potapenko
2021-01-18 16:43 ` Petr Mladek
2021-01-21 13:13 ` Alexander Potapenko
2021-01-15 13:03 ` [PATCH v2 3/5] docs: ABI: add /sys/kernel/error_report/ documentation Alexander Potapenko
2021-01-15 13:45 ` Greg KH
2021-01-15 15:26 ` Alexander Potapenko
2021-01-15 15:45 ` Greg KH
2021-01-15 16:52 ` Steven Rostedt
2021-01-18 10:22 ` Alexander Potapenko
2021-01-18 14:52 ` Steven Rostedt
2021-01-15 13:03 ` [PATCH v2 4/5] kfence: use error_report_start and error_report_end tracepoints Alexander Potapenko
2021-01-15 13:03 ` [PATCH v2 5/5] kasan: " Alexander Potapenko
2021-01-15 13:06 ` Vlastimil Babka [this message]
2021-01-15 13:09 ` [PATCH v2 0/5] Add sysfs interface to collect reports from debugging tools Alexander Potapenko
2021-01-21 12:56 ` Alexander Potapenko
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=5ae22590-752e-7ea2-5341-a49a99e7507d@suse.cz \
--to=vbabka@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=andreyknvl@google.com \
--cc=dvyukov@google.com \
--cc=elver@google.com \
--cc=glider@google.com \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mingo@redhat.com \
--cc=pmladek@suse.com \
--cc=rostedt@goodmis.org \
--cc=sergey.senozhatsky@gmail.com \
/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