| To: | kernel coder <lhrkernelcoder@gmail.com> |
|---|---|
| Subject: | Re: Problem in "copy_to_user" |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Tue, 25 Oct 2005 10:03:49 +0100 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <f69849430510242312j5e943bbcj4d1b50e0b236662a@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <f69849430510242312j5e943bbcj4d1b50e0b236662a@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.2.1i |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Problem in "copy_to_user", kernel coder |
|---|---|
| Next by Date: | Re: Where is op_model_mipsxx.c ?, Matej Kupljen |
| Previous by Thread: | Problem in "copy_to_user", kernel coder |
| Next by Thread: | [RFC] Add 4KSx support, Franck |
| Indexes: | [Date] [Thread] [Top] [All Lists] |