From mboxrd@z Thu Jan 1 00:00:00 1970 From: matthias.bgg@googlemail.com (Matthias Brugger) Date: Thu, 02 Feb 2012 11:52:27 +0100 Subject: creation of blktrace completion messages In-Reply-To: <4F16D055.8070105@gmail.com> References: <4F16D055.8070105@gmail.com> Message-ID: <4F2A6AEB.5060501@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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/