<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3527" name=GENERATOR><LINK
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"
rel=stylesheet></HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana size=2>
<DIV><FONT face=Verdana size=2>Dear All,</FONT></DIV>
<DIV> </DIV>
<DIV style="TEXT-INDENT: 2em">I am a user of oprofile. When I use oprofile, I
find some problems. Could you please help me? </DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">I have some questions about the open source code
of the implementation of oprofile in linux </DIV>
<DIV style="TEXT-INDENT: 2em">kernel 2.6.26, which is presented
op_model_fsl_emb.c, and the path in linux kernel source </DIV>
<DIV style="TEXT-INDENT: 2em">tree is arch/powerpc/oprofile/op_model_fsl_emb.c.
</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">To present this question more clearly, It needs
the following steps: <BR><BR>1> I give some cpu event and its counter values,
which finally will call the function fsl_emb_reg_setup <BR><BR>2> I execute
setup, which finally will call the function fsl_emb_cpu_setup <BR><BR>3> I
execute start, which finally will call the function fsl_emb_start <BR><BR>4>
After calling start, the MPC8560 CPU will continuing increasing the PMCn value
until its value reach <BR>0x80000000. Basing on what metioned in E500CORERM.pdf,
this value should cause a exception, and <BR>should goto the interrupt
routine:fsl_emb_handle_interrupt. <BR>But in fact, It never goto this interrupt
routine! It always cause a reboot without any information! <BR><BR>But while we
using MPC7450 CPU, this situation never happened, it works well.
<BR><BR><BR>Basing on the information metioned above, my questions are:
<BR>1> Is there any bug in op_model_fsl_emb.c and its related source code?
<BR>2> If possible, could you please tell me what the reason it is? And How
to use op_model_fsl_emb.c correctly? <BR><BR><BR>Any feedback is appreciated!
<BR><BR>Thanks & regards <BR>Jike</DIV></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV align=left><FONT face=Verdana color=#c0c0c0 size=2>2009-05-11
</FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>0x0000</SPAN>
</FONT></DIV></FONT></BODY></HTML>