Re: [PATCH v3 2.6.39-rc1-tip 7/26] 7: x86: analyze instructionand determine fixups.

From: Peter Zijlstra
Date: Thu Apr 21 2011 - 13:49:52 EST


On Thu, 2011-04-21 at 23:01 +0530, Srikar Dronamraju wrote:
>
> Sometimes, the user might try registering a probe at a valid file +
> valid offset + valid consumer; but an instruction that we cant probe.
> Then trying to figure why its failing would be very hard.

Uhm, how about failing to create the probe to begin with?

You can even do that in userspace as you can inspect the DSO you're
going to probe (and pretty much have to, since you'll have to pass the
kernel a fd to hand it the proper inode).

--
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/