Re: [PATCH 2/2] perf probe: Allow user to specify address withinexecutable

From: David Ahern
Date: Sun Dec 08 2013 - 12:51:07 EST


On 12/4/13, 12:39 AM, Masami Hiramatsu wrote:
> What would you like to do with perf probe? Direct address accessing for
> userspace is not a good way to do, because userspace is relocatable...

Masami, I am referring to the address within the executable which is
what perf-probe pushes to the kernel.

>
>> For now I will carry the patch locally. At this point I am 20 patches
>> deep and have probably another 20 to go. What's one more. I'll come back
>> to this when I have more time.
>
> Would you have any public git repository for that?

https://github.com/dsahern/linux/tree/perf-full-monty


And could you share
> us what would you like to do before sending patch? We can help you to
> tell the best way.

I want to save myself some time and effort by giving the relative
address with an executable. That allows me to probe any function, and I
want to do it from a consistent user interface -- perf-probe. With the
proposed patch I have that.

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