[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50E3FE54.6040304@nvidia.com>
Date: Wed, 2 Jan 2013 11:31:00 +0200
From: Terje Bergström <tbergstrom@...dia.com>
To: Steven Rostedt <rostedt@...dmis.org>
CC: "thierry.reding@...onic-design.de" <thierry.reding@...onic-design.de>,
"airlied@...ux.ie" <airlied@...ux.ie>,
"dev@...xeye.de" <dev@...xeye.de>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCHv4 3/8] gpu: host1x: Add channel support
On 22.12.2012 06:17, Steven Rostedt wrote:
> On Fri, 2012-12-21 at 13:39 +0200, Terje Bergstrom wrote:
>> +TRACE_EVENT(host1x_cdma_begin,
>> + TP_PROTO(const char *name),
>> +
>> + TP_ARGS(name),
>> +
>> + TP_STRUCT__entry(
>> + __field(const char *, name)
>> + ),
>> +
>> + TP_fast_assign(
>> + __entry->name = name;
>> + ),
>> +
>> + TP_printk("name=%s",
>> + __entry->name)
>> +);
>> +
>> +TRACE_EVENT(host1x_cdma_end,
>> + TP_PROTO(const char *name),
>> +
>> + TP_ARGS(name),
>> +
>> + TP_STRUCT__entry(
>> + __field(const char *, name)
>> + ),
>> +
>> + TP_fast_assign(
>> + __entry->name = name;
>> + ),
>> +
>> + TP_printk("name=%s",
>> + __entry->name)
>> +);
>
> The above two should be combined into a DECLARE_EVENT_CLASS() and
> DEFINE_EVENT()s. Saves text and data space that way.
Will do.
(...)
> If you can combine any of these others into DECLARE_EVENT_CLASS() and
> DEFINE_EVENT()s, please do.
I didn't find others with same parameters.
Thanks!
Terje
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists