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:
Justin Hibbits 2023-03-11 11:23:38 -05:00
parent 3caaaa56bb
commit 635ecbf470
2 changed files with 2 additions and 2 deletions

View File

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

View File

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