* au1550 oprofile
@ 2006-03-17 2:22 Steve Lazaridis
2006-03-17 7:11 ` vsftp -- ping ( two problems) Gowri Satish Adimulam
2006-03-17 14:56 ` au1550 oprofile Ralf Baechle
0 siblings, 2 replies; 6+ messages in thread
From: Steve Lazaridis @ 2006-03-17 2:22 UTC (permalink / raw)
To: oprofile-list; +Cc: linux-mips
Has anyone successfully ran oprofile on an au1550?
If so, was it in BigEndian mode?
Are there any known issues with oprofile on au1xxx platforms?
Here's some information on what I'm currently running.
Oprofile version: oprofile 0.9.2cvs
Oprofile kernel: driver: 2.6.15
Kernel version: 2.6.13rc7 ~ from linux-mips
Endianess: Big
I'm running in __timer mode__, I can't use performance counters.
What I did was take the latest version of the oprofile kernel driver
from 2.6.15 and backport all the changes. I also merged in the latest
changes for the arch/mips/oprofile stuff too.
That finally got the driver to compile and load on the target.
I then attempted the following:
opcontrol --no-vmlinux
opcontrol --start
/usr/bin/app_that_Uses_up_CPU
opcontrol --shutdown
opcontrol --dump <--- returns nothing
opreport -l <--- returns the following:
opreport error: No sample file found: try running opcontrol --dump
or specify a session containing sample files
I then realized that the timer_interupt handler wasn't being called. I
fixed that, so now I can actually see the
/dev/oprofile/stats/cpu0/sample_received being increased.
__but__ I still have no output from the opreport or opcontrol --dump
At this point I'm asking for help, any tips or hints are much appreciated.
Cheers,
Steve
^ permalink raw reply [flat|nested] 6+ messages in thread
* vsftp -- ping ( two problems)
2006-03-17 2:22 au1550 oprofile Steve Lazaridis
@ 2006-03-17 7:11 ` Gowri Satish Adimulam
2006-03-17 9:46 ` Ralf Baechle
2006-03-17 14:56 ` au1550 oprofile Ralf Baechle
1 sibling, 1 reply; 6+ messages in thread
From: Gowri Satish Adimulam @ 2006-03-17 7:11 UTC (permalink / raw)
To: linux-mips
Hi ,
I have two problems
a. i have added icmp.c to the kernel 2.6.14 (mips).
i have connected a cross cable to pc , IAM ABLE TO PING THE MIPS
target board from pc , but in target even self ping is not responding.
b. i would like to add ftpserver to the target , i confused where to add
in kernel space or userspace.
any pointers will be helpful.
Thanks & Regards
Gowri
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: vsftp -- ping ( two problems)
2006-03-17 7:11 ` vsftp -- ping ( two problems) Gowri Satish Adimulam
@ 2006-03-17 9:46 ` Ralf Baechle
0 siblings, 0 replies; 6+ messages in thread
From: Ralf Baechle @ 2006-03-17 9:46 UTC (permalink / raw)
To: Gowri Satish Adimulam; +Cc: linux-mips
On Fri, Mar 17, 2006 at 04:11:26PM +0900, Gowri Satish Adimulam wrote:
> I have two problems
>
> a. i have added icmp.c to the kernel 2.6.14 (mips).
>
> i have connected a cross cable to pc , IAM ABLE TO PING THE MIPS
> target board from pc , but in target even self ping is not responding.
Sounds like you didn't configure the loopback interface.
> b. i would like to add ftpserver to the target , i confused where to add
> in kernel space or userspace.
This absolutely belongs into userspace.
Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: au1550 oprofile
2006-03-17 2:22 au1550 oprofile Steve Lazaridis
2006-03-17 7:11 ` vsftp -- ping ( two problems) Gowri Satish Adimulam
@ 2006-03-17 14:56 ` Ralf Baechle
2006-03-17 18:49 ` Steve Lazaridis
1 sibling, 1 reply; 6+ messages in thread
From: Ralf Baechle @ 2006-03-17 14:56 UTC (permalink / raw)
To: Steve Lazaridis; +Cc: oprofile-list, linux-mips
On Thu, Mar 16, 2006 at 09:22:11PM -0500, Steve Lazaridis wrote:
> Has anyone successfully ran oprofile on an au1550?
> If so, was it in BigEndian mode?
>
> Are there any known issues with oprofile on au1xxx platforms?
Alchemy processors don't implement performance counters, so there are
by definition no issues ;-) That unfortunately means you're stuck
with timer mode.
Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: au1550 oprofile
2006-03-17 14:56 ` au1550 oprofile Ralf Baechle
@ 2006-03-17 18:49 ` Steve Lazaridis
2006-03-23 17:08 ` Steve Lazaridis
0 siblings, 1 reply; 6+ messages in thread
From: Steve Lazaridis @ 2006-03-17 18:49 UTC (permalink / raw)
To: Ralf Baechle; +Cc: oprofile-list, linux-mips
Thats true,
But my problem is that timer mode isn't even working
Ralf Baechle wrote:
> On Thu, Mar 16, 2006 at 09:22:11PM -0500, Steve Lazaridis wrote:
>
>> Has anyone successfully ran oprofile on an au1550?
>> If so, was it in BigEndian mode?
>>
>> Are there any known issues with oprofile on au1xxx platforms?
>
> Alchemy processors don't implement performance counters, so there are
> by definition no issues ;-) That unfortunately means you're stuck
> with timer mode.
>
> Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: au1550 oprofile
2006-03-17 18:49 ` Steve Lazaridis
@ 2006-03-23 17:08 ` Steve Lazaridis
0 siblings, 0 replies; 6+ messages in thread
From: Steve Lazaridis @ 2006-03-23 17:08 UTC (permalink / raw)
To: Steve Lazaridis; +Cc: Ralf Baechle, oprofile-list, linux-mips
I figured out the problem.
Only I'm not sure if it's actually a bug or not. :)
It seems as if it's in the userspace oprofile tools.
I commented out the following from oprofile/daemon/opd_trans.c and it
works fine now.
/* FIXME: this logic is perhaps too harsh? */
if (trans->current->ignored || (trans->last && trans->last->ignored)) {
verbprintf(vmisc, "in the harsh logic\n");
goto out;
}
Maybe it's just too harsh for MIPS platforms? The same version of
oprofile worked fine on my x86 workstation.
Thanks,
Steve
Steve Lazaridis wrote:
> Thats true,
> But my problem is that timer mode isn't even working
>
> Ralf Baechle wrote:
>> On Thu, Mar 16, 2006 at 09:22:11PM -0500, Steve Lazaridis wrote:
>>
>>> Has anyone successfully ran oprofile on an au1550?
>>> If so, was it in BigEndian mode?
>>>
>>> Are there any known issues with oprofile on au1xxx platforms?
>>
>> Alchemy processors don't implement performance counters, so there are
>> by definition no issues ;-) That unfortunately means you're stuck
>> with timer mode.
>>
>> Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-03-23 17:04 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-17 2:22 au1550 oprofile Steve Lazaridis
2006-03-17 7:11 ` vsftp -- ping ( two problems) Gowri Satish Adimulam
2006-03-17 9:46 ` Ralf Baechle
2006-03-17 14:56 ` au1550 oprofile Ralf Baechle
2006-03-17 18:49 ` Steve Lazaridis
2006-03-23 17:08 ` Steve Lazaridis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.