Re: [PATCH 0/4] ftrace: prevent ftrace modifications while being kprobe'd
From: Abhishek Sagar
Date: Mon Jun 23 2008 - 23:29:44 EST
Hi Ingo,
On Tue, Jun 24, 2008 at 1:45 AM, Ingo Molnar <mingo@xxxxxxx> wrote:
> note that i had to do a number of fixups to themerge, and there was one
> chunk which did not merge cleanly and i left it out for now:
>
> @@ -435,8 +502,12 @@ static void ftrace_replace_code(int enable)
> continue;
>
> /* ignore updates to this record's mcount site */
> - if (get_kprobe((void *)rec->ip))
> + if (get_kprobe((void *)rec->ip)) {
> + freeze_record(rec);
> continue;
> + } else {
> + unfreeze_record(rec);
> + }
I wonder why it conflicted during the merge. I notice that patch 4/4
has been applied before
3/4. Can you try reversing the order and see if it works? Else I'll redo them.
--
Thanks,
Abhishek Sagar
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/