Part of the gradual TRACE_EVENT() semicolon removal. Enables creation of array of events, thus saving space for trace event probes. Signed-off-by: Mathieu Desnoyers CC: Jeff Moyer CC: Jens Axboe CC: Steven Rostedt CC: Frederic Weisbecker CC: Ingo Molnar CC: Thomas Gleixner CC: Li Zefan --- include/trace/events/block.h | 44 +++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) Index: linux-2.6-lttng/include/trace/events/block.h =================================================================== --- linux-2.6-lttng.orig/include/trace/events/block.h +++ linux-2.6-lttng/include/trace/events/block.h @@ -40,7 +40,7 @@ DECLARE_EVENT_CLASS(block_rq_with_error, __entry->rwbs, __get_str(cmd), (unsigned long long)__entry->sector, __entry->nr_sector, __entry->errors) -); +) /** * block_rq_abort - abort block operation request @@ -57,7 +57,7 @@ DEFINE_EVENT(block_rq_with_error, block_ TP_PROTO(struct request_queue *q, struct request *rq), TP_ARGS(q, rq) -); +) /** * block_rq_requeue - place block IO request back on a queue @@ -73,7 +73,7 @@ DEFINE_EVENT(block_rq_with_error, block_ TP_PROTO(struct request_queue *q, struct request *rq), TP_ARGS(q, rq) -); +) /** * block_rq_complete - block IO operation completed by device driver @@ -91,7 +91,7 @@ DEFINE_EVENT(block_rq_with_error, block_ TP_PROTO(struct request_queue *q, struct request *rq), TP_ARGS(q, rq) -); +) DECLARE_EVENT_CLASS(block_rq, @@ -128,7 +128,7 @@ DECLARE_EVENT_CLASS(block_rq, __entry->rwbs, __entry->bytes, __get_str(cmd), (unsigned long long)__entry->sector, __entry->nr_sector, __entry->comm) -); +) /** * block_rq_insert - insert block operation request into queue @@ -145,7 +145,7 @@ DEFINE_EVENT(block_rq, block_rq_insert, TP_PROTO(struct request_queue *q, struct request *rq), TP_ARGS(q, rq) -); +) /** * block_rq_issue - issue pending block IO request operation to device driver @@ -160,7 +160,7 @@ DEFINE_EVENT(block_rq, block_rq_issue, TP_PROTO(struct request_queue *q, struct request *rq), TP_ARGS(q, rq) -); +) /** * block_bio_bounce - used bounce buffer when processing block operation @@ -200,7 +200,7 @@ TRACE_EVENT(block_bio_bounce, MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, (unsigned long long)__entry->sector, __entry->nr_sector, __entry->comm) -); +) /** * block_bio_complete - completed all work on the block operation @@ -237,7 +237,7 @@ TRACE_EVENT(block_bio_complete, MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, (unsigned long long)__entry->sector, __entry->nr_sector, __entry->error) -); +) DECLARE_EVENT_CLASS(block_bio, @@ -265,7 +265,7 @@ DECLARE_EVENT_CLASS(block_bio, MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, (unsigned long long)__entry->sector, __entry->nr_sector, __entry->comm) -); +) /** * block_bio_backmerge - merging block operation to the end of an existing operation @@ -280,7 +280,7 @@ DEFINE_EVENT(block_bio, block_bio_backme TP_PROTO(struct request_queue *q, struct bio *bio), TP_ARGS(q, bio) -); +) /** * block_bio_frontmerge - merging block operation to the beginning of an existing operation @@ -295,7 +295,7 @@ DEFINE_EVENT(block_bio, block_bio_frontm TP_PROTO(struct request_queue *q, struct bio *bio), TP_ARGS(q, bio) -); +) /** * block_bio_queue - putting new block IO operation in queue @@ -309,7 +309,7 @@ DEFINE_EVENT(block_bio, block_bio_queue, TP_PROTO(struct request_queue *q, struct bio *bio), TP_ARGS(q, bio) -); +) DECLARE_EVENT_CLASS(block_get_rq, @@ -338,7 +338,7 @@ DECLARE_EVENT_CLASS(block_get_rq, MAJOR(__entry->dev), MINOR(__entry->dev), __entry->rwbs, (unsigned long long)__entry->sector, __entry->nr_sector, __entry->comm) -); +) /** * block_getrq - get a free request entry in queue for block IO operations @@ -354,7 +354,7 @@ DEFINE_EVENT(block_get_rq, block_getrq, TP_PROTO(struct request_queue *q, struct bio *bio, int rw), TP_ARGS(q, bio, rw) -); +) /** * block_sleeprq - waiting to get a free request entry in queue for block IO operation @@ -372,7 +372,7 @@ DEFINE_EVENT(block_get_rq, block_sleeprq TP_PROTO(struct request_queue *q, struct bio *bio, int rw), TP_ARGS(q, bio, rw) -); +) /** * block_plug - keep operations requests in request queue @@ -397,7 +397,7 @@ TRACE_EVENT(block_plug, ), TP_printk("[%s]", __entry->comm) -); +) DECLARE_EVENT_CLASS(block_unplug, @@ -416,7 +416,7 @@ DECLARE_EVENT_CLASS(block_unplug, ), TP_printk("[%s] %d", __entry->comm, __entry->nr_rq) -); +) /** * block_unplug - release of operations requests in request queue @@ -432,7 +432,7 @@ DEFINE_EVENT(block_unplug, block_unplug, TP_PROTO(struct request_queue *q, unsigned int depth, bool explicit), TP_ARGS(q, depth, explicit) -); +) /** * block_split - split a single bio struct into two bio structs @@ -473,7 +473,7 @@ TRACE_EVENT(block_split, (unsigned long long)__entry->sector, (unsigned long long)__entry->new_sector, __entry->comm) -); +) /** * block_bio_remap - map request for a logical device to the raw device @@ -516,7 +516,7 @@ TRACE_EVENT(block_bio_remap, __entry->nr_sector, MAJOR(__entry->old_dev), MINOR(__entry->old_dev), (unsigned long long)__entry->old_sector) -); +) /** * block_rq_remap - map request for a block operation request @@ -560,7 +560,7 @@ TRACE_EVENT(block_rq_remap, __entry->nr_sector, MAJOR(__entry->old_dev), MINOR(__entry->old_dev), (unsigned long long)__entry->old_sector) -); +) #endif /* _TRACE_BLOCK_H */ -- 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/