lkml.org 
[lkml]   [2010]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/20] x86, mce: Add persistent MCE event

* Ben Gamari <bgamari@gmail.com> wrote:

> On Thu, 4 Nov 2010 16:36:39 +0100, Borislav Petkov <bp@amd64.org> wrote:
> > From: Borislav Petkov <borislav.petkov@amd.com>
> >
> > Add the necessary glue to enable the mce_record tracepoint on boot
> > turning it into a persistent event. This exports the MCE buffer
> > read-only to a userspace daemon which will hook into it through debugfs
> > when booting is finished.
>
> While MCE technically is a diagnostics service, do we want to start adding
> dependencies on debugfs in long-running, common-place daemons? I was under the
> impression we were to avoid using debugfs for anything other than values for
> one-off debugging.

See this current discussion thread on lkml:

[RFC][PATCH] perf: sysfs type id

Events are being added to sysfs as we want to avoid the debugfs dependency.

Thanks,

Ingo


\
 
 \ /
  Last update: 2010-11-10 23:25    [W:0.054 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site