mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 00:33:30 +00:00
dtrace/powerpc: Adjust AFRAMES for fbt and profile
FBT_AFRAMES was skipping over too many frames, while PROFILE_AFRAMES was skipping over too few. Adjust them empirically.
This commit is contained in:
parent
3caaaa56bb
commit
635ecbf470
@ -48,7 +48,7 @@
|
||||
|
||||
#define FBT_ENTRY "entry"
|
||||
#define FBT_RETURN "return"
|
||||
#define FBT_AFRAMES 7
|
||||
#define FBT_AFRAMES 5
|
||||
|
||||
int
|
||||
fbt_invop(uintptr_t addr, struct trapframe *frame, uintptr_t rval)
|
||||
|
@ -101,7 +101,7 @@
|
||||
/*
|
||||
* This value is bogus just to make module compilable on powerpc
|
||||
*/
|
||||
#define PROF_ARTIFICIAL_FRAMES 3
|
||||
#define PROF_ARTIFICIAL_FRAMES 8
|
||||
#endif
|
||||
|
||||
struct profile_probe_percpu;
|
||||
|
Loading…
Reference in New Issue
Block a user