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 commit 635ecbf470)
(cherry picked from commit 1026d170f4)
This commit is contained in:
Justin Hibbits 2023-03-11 11:23:38 -05:00
parent fcd94047f3
commit 72d1ee8d6d
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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;