creation of blktrace completion messages

Matthias Brugger matthias.bgg at googlemail.com
Thu Feb 2 05:52:27 EST 2012


On 01/18/2012 02:59 PM, Matthias Brugger wrote:
> Hi all,
>
> where does the kernel create the blktrace completion messages?

the mesage is created in block/blk-core.c:blk_update_request which calls 
trace_block_rq_complete

>
> Is it done in the interrupt routine or in the block layer.
>
> I just found:
> register_trace_block_rq_complete(blk_add_trace_rq_complete, NULL);
> and
> register_trace_block_bio_complete(blk_add_trace_bio_complete, NULL);
>
> But I don't find the corresponding functions.
>
> Thanks,
> Matthias
>
> ---
> http://motzblog.wordpress.com/


-- 
---
http://motzblog.wordpress.com/



More information about the Kernelnewbies mailing list