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. Approved by: re (cperciva) (cherry picked from commit635ecbf470
) (cherry picked from commit1026d170f4
)
This commit is contained in:
parent
fcd94047f3
commit
72d1ee8d6d
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
#define FBT_ENTRY "entry"
|
#define FBT_ENTRY "entry"
|
||||||
#define FBT_RETURN "return"
|
#define FBT_RETURN "return"
|
||||||
#define FBT_AFRAMES 7
|
#define FBT_AFRAMES 5
|
||||||
|
|
||||||
int
|
int
|
||||||
fbt_invop(uintptr_t addr, struct trapframe *frame, uintptr_t rval)
|
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
|
* This value is bogus just to make module compilable on powerpc
|
||||||
*/
|
*/
|
||||||
#define PROF_ARTIFICIAL_FRAMES 3
|
#define PROF_ARTIFICIAL_FRAMES 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct profile_probe_percpu;
|
struct profile_probe_percpu;
|
||||||
|
Loading…
Reference in New Issue
Block a user