mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 11:28:28 +00:00
0bfc24559d
Port to the new tracepoints API: split DEFINE_TRACE() and DECLARE_TRACE() sites. Spread them out to the usage sites, as suggested by Mathieu Desnoyers. Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
77 lines
1.9 KiB
C
77 lines
1.9 KiB
C
#ifndef _TRACE_BLOCK_H
|
|
#define _TRACE_BLOCK_H
|
|
|
|
#include <linux/blkdev.h>
|
|
#include <linux/tracepoint.h>
|
|
|
|
DECLARE_TRACE(block_rq_abort,
|
|
TPPROTO(struct request_queue *q, struct request *rq),
|
|
TPARGS(q, rq));
|
|
|
|
DECLARE_TRACE(block_rq_insert,
|
|
TPPROTO(struct request_queue *q, struct request *rq),
|
|
TPARGS(q, rq));
|
|
|
|
DECLARE_TRACE(block_rq_issue,
|
|
TPPROTO(struct request_queue *q, struct request *rq),
|
|
TPARGS(q, rq));
|
|
|
|
DECLARE_TRACE(block_rq_requeue,
|
|
TPPROTO(struct request_queue *q, struct request *rq),
|
|
TPARGS(q, rq));
|
|
|
|
DECLARE_TRACE(block_rq_complete,
|
|
TPPROTO(struct request_queue *q, struct request *rq),
|
|
TPARGS(q, rq));
|
|
|
|
DECLARE_TRACE(block_bio_bounce,
|
|
TPPROTO(struct request_queue *q, struct bio *bio),
|
|
TPARGS(q, bio));
|
|
|
|
DECLARE_TRACE(block_bio_complete,
|
|
TPPROTO(struct request_queue *q, struct bio *bio),
|
|
TPARGS(q, bio));
|
|
|
|
DECLARE_TRACE(block_bio_backmerge,
|
|
TPPROTO(struct request_queue *q, struct bio *bio),
|
|
TPARGS(q, bio));
|
|
|
|
DECLARE_TRACE(block_bio_frontmerge,
|
|
TPPROTO(struct request_queue *q, struct bio *bio),
|
|
TPARGS(q, bio));
|
|
|
|
DECLARE_TRACE(block_bio_queue,
|
|
TPPROTO(struct request_queue *q, struct bio *bio),
|
|
TPARGS(q, bio));
|
|
|
|
DECLARE_TRACE(block_getrq,
|
|
TPPROTO(struct request_queue *q, struct bio *bio, int rw),
|
|
TPARGS(q, bio, rw));
|
|
|
|
DECLARE_TRACE(block_sleeprq,
|
|
TPPROTO(struct request_queue *q, struct bio *bio, int rw),
|
|
TPARGS(q, bio, rw));
|
|
|
|
DECLARE_TRACE(block_plug,
|
|
TPPROTO(struct request_queue *q),
|
|
TPARGS(q));
|
|
|
|
DECLARE_TRACE(block_unplug_timer,
|
|
TPPROTO(struct request_queue *q),
|
|
TPARGS(q));
|
|
|
|
DECLARE_TRACE(block_unplug_io,
|
|
TPPROTO(struct request_queue *q),
|
|
TPARGS(q));
|
|
|
|
DECLARE_TRACE(block_split,
|
|
TPPROTO(struct request_queue *q, struct bio *bio, unsigned int pdu),
|
|
TPARGS(q, bio, pdu));
|
|
|
|
DECLARE_TRACE(block_remap,
|
|
TPPROTO(struct request_queue *q, struct bio *bio, dev_t dev,
|
|
sector_t from, sector_t to),
|
|
TPARGS(q, bio, dev, from, to));
|
|
|
|
#endif
|