linux-btrace.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Question] btt -B doesn't output anything with DM device
@ 2013-12-05 12:12 Akira Hayakawa
  0 siblings, 0 replies; only message in thread
From: Akira Hayakawa @ 2013-12-05 12:12 UTC (permalink / raw)
  To: linux-btrace; +Cc: dm-devel, devel

Hi, Guys,

I am trying to visualize io pattern by bno_plot.
bno_plot requires an output from btt -B but
btt -B doesn't output anything for DM devices (e.g. /dev/mapper/mydev) while
it does for real block devices (e.g. /dev/sdc).


For narrowing down the problem
I reproduced this problem with simple linear device.

# Setup
root@Freedom:/home/akira# dmsetup create mydev --table "0 100000 linear /dev/sdc 0"
root@Freedom:/home/akira# dmsetup ls
pdc_fgaahfadb   (254:0)
mydev   (254:1) <- this

# Trace
root@Freedom:/home/akira# cat devlist
/dev/mapper/mydev
/dev/sdc
root@Freedom:/home/akira# blktrace -w 30 -I devlist -D mytrace
== dm-1 =  CPU  0:                    0 events,        0 KiB data
  CPU  1:                  378 events,       18 KiB data
  Total:                   378 events (dropped 0),       18 KiB data
== sdc =  CPU  0:                    0 events,        0 KiB data
  CPU  1:                  781 events,       37 KiB data
  Total:                   781 events (dropped 0),       37 KiB data
root@Freedom:/home/akira# ls mytrace/
dm-1.blktrace.0  dm-1.blktrace.1  sdc.blktrace.0  sdc.blktrace.1

# btt
root@Freedom:/home/akira# btt -i mytrace/sdc.blktrace.* -B sdc
root@Freedom:/home/akira# btt -i mytrace/dm-1.blktrace.* -B dm-1  
root@Freedom:/home/akira# ls *.dat
sdc_008,032_c.dat  sdc_008,032_r.dat


btt doesn't output anything with dm-1.blktrace.* .
Is this intentionally designed or just a (known/unknown) bug?
Or, do I forget something?


Thanks,
Akira

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-05 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05 12:12 [Question] btt -B doesn't output anything with DM device Akira Hayakawa

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).