Backtrace

Matias Sundman (AS/EAB) matias.sundman at ericsson.com
Fri Sep 1 20:49:09 EST 2006


 
Hello,
We have HW debuggers ; Windriver ICE and BDI2000 , but in our specific scenario the system is up 
and running and we cannot be breakpoint intrusive, other parts of the system would be affected ( and our own blade ).
No, what we would like to do is that when a specific condition is met a backtrace printout
is performed and after that the system runs as designed.

 :
 [Existing code]
 : 
 :

if ( some_variable == my_condition )
 {
  print_out_backtrace();
 }

 :
 :
 [Existing code]
 : 
 :

We have implemented "forced" kernel ooops:es in "print_out_backtrace();" but we would like to 
have controlled backtraces ;-))


This is in Kernel space on a ppc8270. 

Cheers // Matias

-----Original Message-----
From: KokHow Teh [mailto:KokHow.Teh at marconi.com] 
Sent: den 1 september 2006 12:13
To: Matias Sundman (AS/EAB)
Cc: linuxppc-embedded at ozlabs.org
Subject: Re: Backtrace


Hi;
      Is using hardware/software breakpoint with a hardware debugger what
you are looking for?

Regards,
Teh



"Matias Sundman \(AS/EAB\)" <matias.sundman at ericsson.com>@ozlabs.org on
09/01/2006 02:48:43 PM

Sent by:    linuxppc-embedded-bounces+kokhow.teh=marconi.com at ozlabs.org


To:    <linuxppc-embedded at ozlabs.org>
cc:

Subject:    Backtrace




Comrades,
I would like to do a backtrace in kernel space similar to an oops but then
continue the code flow as before i.e. without a crash.

If someone has done anything similar, help and/or tips would be much
appreciated!

Cheers //

Matias Sundman
Senior Sw Designer
Ericssonl
IS Ethernet Switch, DIPN
Ericsson AB
Box 1505                        Office: +46  8 719 86 83
SE-125 25 ÄLVSJÖ                ECN:    850 98683
SWEDEN                  Mobile: +46 70 267 2405
Visiting address:              E-mail: Matias.Sundman at ericsson.com
Armborstvägen 14                Web:    http://www.ericsson.com
Älvsjö, STOCKHOLM


_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded at ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded







More information about the Linuxppc-embedded mailing list