Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1171795

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

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: changing format/size of data in TRACE_EVENT(extlog_mem_event)
Date 2015-06-25 03:10 +0200
Message-ID <pF3PX-1xZ-3@gated-at.bofh.it> (permalink)
References <pF0S6-5yK-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 24 Jun 2015 14:56:49 -0700
"Luck, Tony" <tony.luck@intel.com> 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 don't want ugly transitions where you have to guess
> which version of the application you need to run to work with a given
> kernel version.

It comes down to if the rasdaemon (and any other user) included the
event_parse.c "library" (it's not a public library yet, and we really
should make it one). Because if it did, it doesn't matter what the
field is, the event descriptions will give the size, and as long as the
name of a field exists, and it doesn't change type (that is, from
integer to string), it should be fine.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

changing format/size of data in TRACE_EVENT(extlog_mem_event) "Luck, Tony" <tony.luck@intel.com> - 2015-06-25 00:00 +0200
  Re: changing format/size of data in TRACE_EVENT(extlog_mem_event) Borislav Petkov <bp@suse.de> - 2015-06-25 00:20 +0200
  Re: changing format/size of data in TRACE_EVENT(extlog_mem_event) Steven Rostedt <rostedt@goodmis.org> - 2015-06-25 03:10 +0200

csiph-web