diff options
| author | Alex Elder | 2016-05-20 11:44:55 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman | 2016-05-20 17:19:03 -0700 |
| commit | 630175698e9b3a1e24d62dddb9059f5bdcbb7cec (patch) | |
| tree | bc6ee1425ca241fa7043bfdf5d8231e9edfbf4f4 /tools/perf/scripts/python | |
| parent | f866e66f368ee58954d83e6e99194ffcd6dfcad5 (diff) | |
greybus: tracing: define events using macros
A tracepoint event is defined with TP_PROTO() and TP_ARGS macros
that match that of the event's class. A lot of repetition (and
opportunity for inadvertent errors) in tracepoint event definitions
can be eliminated by using a macro. Define and use class-specific
event definition macros for gb_message and gb_host_device class
events.
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Jeffrey Carlyle <jcarlyle@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
