Commit f1db457c authored by Li Zefan's avatar Li Zefan Committed by Ingo Molnar
Browse files

tracing/events: convert block trace points to TRACE_EVENT(), fix !CONFIG_BLOCK

Fix building failures when CONFIG_BLOCK == n.
Signed-off-by: default avatarLi Zefan <>
LKML-Reference: <>
Signed-off-by: default avatarSteven Rostedt <>
Signed-off-by: default avatarIngo Molnar <>
parent 110bf2b7
......@@ -218,7 +218,7 @@ static inline int blk_trace_init_sysfs(struct device *dev)
#if defined(CONFIG_EVENT_TRACING) && defined(CONFIG_BLOCK)
static inline int blk_cmd_buf_len(struct request *rq)
......@@ -229,7 +229,7 @@ extern void blk_dump_cmd(char *buf, struct request *rq);
extern void blk_fill_rwbs(char *rwbs, u32 rw, int bytes);
extern void blk_fill_rwbs_rq(char *rwbs, struct request *rq);
#endif /* __KERNEL__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment