pstack
pstack copied to clipboard
Print stack traces from running processes, or core files. Works properly for x86_64 without frame pointers
Failed to cross-compile for arm32, which seems to have no definition for `user_regs_struct`, is there any workaround for this? > > ``` > error: invalid application of ‘sizeof’ to incomplete...
hi, does there is a plan to support powerpc linux platform? thanks . or , if i want to migrate this to powerpc , could you give me some advise?...
``` pstack-2.5.1/self.cc: In member function ‘virtual void pstack::Procman::SelfProcess::listLWPs(std::function)’: pstack-2.5.1/self.cc:31:7: error: ‘gettid’ was not declared in this scope; did you mean ‘getuid’? ``` This is discussed in https://stackoverflow.com/questions/30680550/c-gettid-was-not-declared-in-this-scope And the solution:...
I use `pstack` to dump `lua5.4` callstack in script ``` while true do print "" end ``` the pstack output as follow: ``` #8 0x000055e26798f041 in luaV_execute(L=1(0x1){r5}, ci=(null))+1584 in /home/zhoupy/silly/deps/lua/lua...
x29 is the frame pointer register on arm64, we store them respectively using temporary vars. note arm32 needs its own version.
Hi, thanks a lot for the amazing work. This is really useful and help a lot for our projects. We encounter an issue regarding argument printing. Can the pstack also...
I made a small change to compile this with python 3.10, e.g: ``` diff --git a/python.tcc b/python.tcc index 809f00c..d9064aa 100644 --- a/python.tcc +++ b/python.tcc @@ -10,10 +10,10 @@ namespace pstack...