Skip to contentSkip to conversation

method to get backtrace of kernel function?

DISCUSSION horseriver 3 participants 4 messages Jan 28, 2013 – Jan 29, 2013 1 message not in the archive

lore
Share & tools
lore

horseriver

author
#0 lore raw

hi:

Is there method for getting bt of a kernel functions?

thanks!

#1 lore raw
Quoted 3 lines · horseriver

hi:

Is there method for getting bt of a kernel functions?

IIRC, you can use dump_stack() function.

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi :)

Quoted 11 lines · horseriver
Quoted 6 lines · Mulyadi Santosa
Quoted 3 lines · horseriver

hi:

Is there method for getting bt of a kernel functions?

IIRC, you can use dump_stack() function.

Thanks!

what is IIRC?

IIRC --> If I Remember Correctly

Quoted 1 line

Can this function be used in user application?

no. But I guess I see quite similar function provided by glibc/gcc. Forgot the function name though, sorry...

Quoted 1 line

I am a newbie.:)

So am I :)

Signature · 7 lines
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com