Date: Wed, 19 Jul 2017 11:56:42 +0200 From: Andreas Longwitz <longwitz@incore.de> To: "freebsd-dtrace@freebsd.org" <freebsd-dtrace@freebsd.org> Subject: g_journal_read has broken argument list in V10 Message-ID: <596F2CDA.1000705@incore.de>
next in thread | raw e-mail | index | archive | help
I use FreeBSD 10.3-STABLE r317936 with "old" /usr/lib/dtrace/ip.c and
can't get DTrace to work for the function g_journal_read(). In the
output of "dtrace -lv" I see
33379 fbt geom_journal g_journal_read entry
Probe Description Attributes
Identifier Names: Private
Data Semantics: Private
Dependency Class: Unknown
Argument Attributes
Identifier Names: Private
Data Semantics: Private
Dependency Class: ISA
Argument Types
args[0]: struct g_journal_softc *
args[1]: off_t
args[2]: off_t
args[3]: struct bio *
but the sourcefile g_journal.c gives
static void
g_journal_read(struct g_journal_softc *sc, struct bio *pbp, off_t
ostart, off_t oend)
So args[0] and args[2] matches in type, but args[1] and args[3] does
not. This problem did not exist in FreeBSD V8, dtrace -lv gives correct
31519 fbt geom_journal g_journal_read entry
Probe Description Attributes
Identifier Names: Private
Data Semantics: Private
Dependency Class: Unknown
Argument Attributes
Identifier Names: Private
Data Semantics: Private
Dependency Class: ISA
Argument Types
args[0]: struct g_journal_softc *
args[1]: struct bio *
args[2]: off_t
args[3]: off_t
Please can somebody show me how this can be fixed ?
--
Andreas Longwitz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?596F2CDA.1000705>
