markj f50ec1f79f MFC r267759, r267761
r267759:
Fix a couple of bugs on amd64 when fetching probe arguments beyond the
first five for probes entered through a UD fault (i.e. FBT probes).

Specifically, handle the fact that dtrace_invop_callsite must be
16 byte-aligned and thus may not immediately follow the call to
dtrace_invop() in dtrace_invop_start(). Also fetch register arguments and
the stack pointer through a struct trapframe instead of a struct reg.

r267761:
Fix some bugs when fetching probe arguments in i386. Firstly ensure that
the 4 byte-aligned dtrace_invop_callsite can be found and that it
immediately follows the call to dtrace_invop(). Secondly, fix some pointer
arithmetic to account for differences between struct i386_frame and illumos'
struct frame. Finally, ensure that dtrace_getarg() isn't inlined. It works
by following a fixed number of frame pointers to the probe site, so inlining
breaks it.

PR:		191260
2014-08-05 01:53:15 +00:00
..
2014-08-05 01:53:15 +00:00
2014-08-05 01:53:15 +00:00
2013-09-02 23:22:05 +00:00
2014-05-03 16:24:18 +00:00
2014-07-31 17:10:03 +00:00
2014-05-15 00:52:17 +00:00
2014-08-04 15:36:22 +00:00