Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2010 10:02:08 -0800
From:      Artem Belevich <fbsdlist@src.cx>
To:        Thomas Zander <thomas.e.zander@googlemail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: DTrace (or other monitor) access to LBA of a block device
Message-ID:  <AANLkTim2VCanQ1Sp15GU5Td8bL=J-8drkoZPKqTgbwtv@mail.gmail.com>
In-Reply-To: <AANLkTikWoCmRQE6VDG1S88s5UCtXY7acP1Q_pwo=gYY%2B@mail.gmail.com>
References:  <AANLkTi=2Ln5s-mD%2B%2B-iKEq2v-1f31fpavXB7kUfTC2Lf@mail.gmail.com> <AANLkTikWoCmRQE6VDG1S88s5UCtXY7acP1Q_pwo=gYY%2B@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> GEOM sounds like a good candidate for probing of that kind.
>
> sudo dtrace -n 'fbt:kernel:g_io_deliver:entry { printf("%s %d %d
> %d\n",stringof(args[0]->bio_from->geom->name), args[0]->bio_cmd,
> args[0]->bio_offset, args[0]->bio_length); }'

By the way, in order for this to work one would need r207057 applied
to -8. Any chance that could be MFC'ed?

http://svn.freebsd.org/viewvc/base?view=revision&revision=207057

--Artem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim2VCanQ1Sp15GU5Td8bL=J-8drkoZPKqTgbwtv>