* Problem in "copy_to_user"
@ 2005-10-25 6:12 kernel coder
2005-10-25 9:03 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: kernel coder @ 2005-10-25 6:12 UTC (permalink / raw)
To: linux-mips
hi,
i'm trying to run oprofile on 2.6 kernel running on mips board.But
when oprofile makes a system call to "sys_lookup_dcookie" function to
find the file path of a particular sample,the function "copy_to_user"
fails and no byte of path is copied to user sapce.
I checked all combinations for source buffer like using array instead
of pointer but no success.
Please suggest me what might be the cause of failure.
regards,
kernelcoder
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem in "copy_to_user"
2005-10-25 6:12 Problem in "copy_to_user" kernel coder
@ 2005-10-25 9:03 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2005-10-25 9:03 UTC (permalink / raw)
To: kernel coder; +Cc: linux-mips
On Mon, Oct 24, 2005 at 11:12:45PM -0700, kernel coder wrote:
> i'm trying to run oprofile on 2.6 kernel running on mips board.But
> when oprofile makes a system call to "sys_lookup_dcookie" function to
> find the file path of a particular sample,the function "copy_to_user"
> fails and no byte of path is copied to user sapce.
>
> I checked all combinations for source buffer like using array instead
> of pointer but no success.
> Please suggest me what might be the cause of failure.
This bug in the oprofile userspace tools was fixed about a week ago.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-25 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-25 6:12 Problem in "copy_to_user" kernel coder
2005-10-25 9:03 ` Ralf Baechle
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.