[media] v4l2-dev: use event class to deduplicate v4l2 trace events
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 10 Jul 2015 13:49:24 +0000 (10:49 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 14:58:15 +0000 (11:58 -0300)
commit85efe4e5082c381262f5303d20f808ac455b028e
tree09322eff1eab03996ba47dafcae28d73d2ec1811
parent6727d4fce95586e60922bdaf57b8a0eb99482557
[media] v4l2-dev: use event class to deduplicate v4l2 trace events

Trace events with exactly the same parameters and trace output, such as
v4l2_qbuf and v4l2_dqbuf, are supposed to use the DECLARE_EVENT_CLASS and
DEFINE_EVENT macros instead of duplicated TRACE_EVENT macro calls.

Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
include/trace/events/v4l2.h