linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add new eMCA trace event interface V2
@ 2014-04-17  6:28 Chen, Gong
  2014-04-17  6:28 ` [PATCH 1/2 v2] x86, MCE: Fix a bug in CMCI handler Chen, Gong
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Chen, Gong @ 2014-04-17  6:28 UTC (permalink / raw)
  To: tony.luck, bp, m.chehab; +Cc: rostedt, linux-acpi, arozansk

[PATCH 1/2 v2] x86, MCE: Fix a bug in CMCI handler
[PATCH 2/5 v2] CPER: Adjust code flow of some functions
[PATCH 3/5 v2] trace, RAS: Add eMCA trace event interface
[PATCH 4/5 v2] trace, eMCA: Add a knob to adjust where to save event log
[PATCH 5/5] trace, AER: Move trace into unified interface

This patch series add new eMCA trace event interface. To avoid conflict with
existed interface, a new unified trace event stub in the kernel is used.
New trace interface is mutually exclusive with console message via
a knob under debugfs. This knob is a reference counter. When it is opened,
the counter will be increased, whereas the counter will be decreased
if it is closed. Once this counter is greater than 0, the trace will be
used, otherwise, message will be routed to the console.

In the last patch, I merge older AER trace interface into new unified
trace interface.

v2 -> v1: merge the comments from Tony Luck & Borislav Petkov

BTW, in patch 2 & 3 I don't put some strings as stack parameter to avoid
potential overflow. After all they are too big (512 bytes in total).

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Add new eMCA trace event interface
@ 2014-03-28  5:52 Chen, Gong
  2014-03-28  5:53 ` [PATCH 5/5] trace, AER: Move trace into unified interface Chen, Gong
  0 siblings, 1 reply; 9+ messages in thread
From: Chen, Gong @ 2014-03-28  5:52 UTC (permalink / raw)
  To: tony.luck, bp, m.chehab; +Cc: rostedt, linux-acpi, arozansk

[PATCH 1/5] trace, RAS: Add basic RAS trace event
[PATCH 2/5] CPER: Adjust code flow of some functions
[PATCH 3/5] trace, RAS: Add eMCA trace event interface
[PATCH 4/5] trace, eMCA: Add a knob to adjust where to save event log
[PATCH 5/5] trace, AER: Move trace into unified interface

This patch series add new eMCA trace event interface. To avoid conflict with
existed interface, a new unified trace event stub in the kernel is used.
New trace interface is mutually exclusive with console message via
a knob under debugfs. This knob is a reference counter. When it is opened,
the counter will be increased, whereas the counter will be decreased
if it is closed. Once this counter is greater than 0, the trace will be
used, otherwise, message will be routed to the console.

In the last patch, I merge older AER trace interface into new unified
trace interface.

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

end of thread, other threads:[~2014-04-23  1:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17  6:28 Add new eMCA trace event interface V2 Chen, Gong
2014-04-17  6:28 ` [PATCH 1/2 v2] x86, MCE: Fix a bug in CMCI handler Chen, Gong
2014-04-17  6:28 ` [PATCH 2/5 v2] CPER: Adjust code flow of some functions Chen, Gong
2014-04-22 13:54   ` Borislav Petkov
2014-04-23  1:28     ` Chen, Gong
2014-04-17  6:28 ` [PATCH 3/5 v2] trace, RAS: Add eMCA trace event interface Chen, Gong
2014-04-17  6:28 ` [PATCH 4/5 v2] trace, eMCA: Add a knob to adjust where to save event log Chen, Gong
2014-04-17  6:28 ` [PATCH 5/5] trace, AER: Move trace into unified interface Chen, Gong
  -- strict thread matches above, loose matches on Subject: below --
2014-03-28  5:52 Add new eMCA trace event interface Chen, Gong
2014-03-28  5:53 ` [PATCH 5/5] trace, AER: Move trace into unified interface Chen, Gong

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).