mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
blktrace: port to tracepoints, update
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 <[email protected]> Acked-by: Mathieu Desnoyers <[email protected]>
This commit is contained in:
parent
5f3ea37c77
commit
0bfc24559d
6 changed files with 74 additions and 34 deletions
2
fs/bio.c
2
fs/bio.c
|
|
@ -29,6 +29,8 @@
|
|||
#include <trace/block.h>
|
||||
#include <scsi/sg.h> /* for struct sg_iovec */
|
||||
|
||||
DEFINE_TRACE(block_split);
|
||||
|
||||
static struct kmem_cache *bio_slab __read_mostly;
|
||||
|
||||
static mempool_t *bio_split_pool __read_mostly;
|
||||
|
|
|
|||
Loading…
Reference in a new issue