lkml.org 
[lkml]   [2011]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 3.0-rc2-tip 2/22] 2: uprobes: Breakground page replacement.
From
Date
On Tue, 2011-06-07 at 18:28 +0530, Srikar Dronamraju wrote:
> +static void print_insert_fail(struct task_struct *tsk,
> + unsigned long vaddr, const char *why)
> +{
> + pr_warn_once("Can't place breakpoint at pid %d vaddr" " %#lx: %s\n",
> + tsk->pid, vaddr, why);
> +}

Why would we ever want to print this instead of simply failing the
operation and returning an error code to userspace?



\
 
 \ /
  Last update: 2011-06-10 01:03    [W:0.895 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site