mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 02:42:46 +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.
(cherry picked from commit 635ecbf470
)
This commit is contained in:
parent
0a21a6659e
commit
1026d170f4
@ -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)
|
||||
|
@ -108,7 +108,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