linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2 0/5] Add sysfs interface to collect reports from debugging tools
       [not found] <20210115130336.2520663-1-glider@google.com>
@ 2021-01-15 13:06 ` Vlastimil Babka
  2021-01-15 13:09   ` Alexander Potapenko
  0 siblings, 1 reply; 3+ messages in thread
From: Vlastimil Babka @ 2021-01-15 13:06 UTC (permalink / raw)
  To: Alexander Potapenko, linux-kernel, akpm, Linux API
  Cc: andreyknvl, dvyukov, mingo, elver, pmladek, rostedt,
	sergey.senozhatsky, linux-mm

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
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 0/5] Add sysfs interface to collect reports from debugging tools
  2021-01-15 13:06 ` [PATCH v2 0/5] Add sysfs interface to collect reports from debugging tools Vlastimil Babka
@ 2021-01-15 13:09   ` Alexander Potapenko
  2021-01-21 12:56     ` Alexander Potapenko
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Potapenko @ 2021-01-15 13:09 UTC (permalink / raw)
  To: Vlastimil Babka
  Cc: LKML, Andrew Morton, Linux API, Andrey Konovalov, Dmitriy Vyukov,
	Ingo Molnar, Marco Elver, Petr Mladek, Steven Rostedt,
	Sergey Senozhatsky, Linux Memory Management List

On Fri, Jan 15, 2021 at 2:06 PM Vlastimil Babka <vbabka@suse.cz> wrote:
>
> Should have CCd linux-api@, please do next time
Thanks, will do!
Shall I also CC the v2 ABI patch explicitly?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 0/5] Add sysfs interface to collect reports from debugging tools
  2021-01-15 13:09   ` Alexander Potapenko
@ 2021-01-21 12:56     ` Alexander Potapenko
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Potapenko @ 2021-01-21 12:56 UTC (permalink / raw)
  To: Vlastimil Babka
  Cc: LKML, Andrew Morton, Linux API, Andrey Konovalov, Dmitriy Vyukov,
	Ingo Molnar, Marco Elver, Petr Mladek, Steven Rostedt,
	Sergey Senozhatsky, Linux Memory Management List

On Fri, Jan 15, 2021 at 2:09 PM Alexander Potapenko <glider@google.com> wrote:
>
> On Fri, Jan 15, 2021 at 2:06 PM Vlastimil Babka <vbabka@suse.cz> wrote:
> >
> > Should have CCd linux-api@, please do next time
> Thanks, will do!
> Shall I also CC the v2 ABI patch explicitly?

I'll be dropping the sysfs changes from this patchset, but assume it
still makes sense to CC linux-api@ since v3 will be introducing
tracepoints.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-21 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210115130336.2520663-1-glider@google.com>
2021-01-15 13:06 ` [PATCH v2 0/5] Add sysfs interface to collect reports from debugging tools Vlastimil Babka
2021-01-15 13:09   ` Alexander Potapenko
2021-01-21 12:56     ` Alexander Potapenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).