lkml.org 
[lkml]   [2003]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How provoke call stack trace
Muli Ben-Yehuda wrote:
> On Mon, Nov 03, 2003 at 07:38:39PM +0100, Ihar 'Philips' Filipau wrote:
>
>
>> Is there any function which can be used by module to just
>>investigate some given call path?
>
>
> Assuming 2.6, call dump_stack(). If you want greater flexibility,
> investigate show_trace() and friends.
>
> Hope this helps,

I'm sitting right now on 2.4.22 - so no 2.6 nicities.
I actually wanted to have something like this on ppc - but ppc has no
dump_stack() implemented.

Thanks any way.

[ Just checked 2.6 - ppc has dump_stack() now. Nice. It looks like
all archs have implemented it in 2.6. Cool. ]

--
Ihar 'Philips' Filipau / with best regards from Saarbruecken.
-- _ _ _
"... and for $64000 question, could you get yourself |_|*|_|
vaguely familiar with the notion of on-topic posting?" |_|_|*|
-- Al Viro @ LKML |*|*|*|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2011 Jasper Spaans