g_journal_read has broken argument list in V10
Andreas Longwitz
longwitz at incore.de
Wed Jul 19 09:56:52 UTC 2017
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
More information about the freebsd-dtrace
mailing list