Re: changing format/size of data in TRACE_EVENT(extlog_mem_event)

2015-06-24 Thread Steven Rostedt
On Wed, 24 Jun 2015 14:56:49 -0700 "Luck, Tony" wrote: > So the question is - how can we update the trace event to include these > new wider fields with the minimum pain to applications that look at it? > I don't know if there are any other consumers besides rasdaemon at the > moment ... but we

Re: changing format/size of data in TRACE_EVENT(extlog_mem_event)

2015-06-24 Thread Borislav Petkov
On Wed, Jun 24, 2015 at 02:56:49PM -0700, Luck, Tony wrote: > So the question is - how can we update the trace event to include these > new wider fields with the minimum pain to applications that look at it? > I don't know if there are any other consumers besides rasdaemon at the > moment ... but w

changing format/size of data in TRACE_EVENT(extlog_mem_event)

2015-06-24 Thread Luck, Tony
In we define a trace event for memory errors. The last field is: __field_struct(struct cper_mem_err_compact, data) where the structure is defined in as: struct cper_mem_err_compact { __u64 validation_bits; __u16 node; __u16 card; __u16 mo