kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* creation of blktrace completion messages
@ 2012-01-18 13:59 Matthias Brugger
  2012-02-02 10:52 ` Matthias Brugger
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Brugger @ 2012-01-18 13:59 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

where does the kernel create the blktrace completion messages?

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* creation of blktrace completion messages
  2012-01-18 13:59 creation of blktrace completion messages Matthias Brugger
@ 2012-02-02 10:52 ` Matthias Brugger
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2012-02-02 10:52 UTC (permalink / raw)
  To: kernelnewbies

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-02 10:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18 13:59 creation of blktrace completion messages Matthias Brugger
2012-02-02 10:52 ` Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).