Re: [PATCH] tools: perf: util: session: Remove unused function

From: Adrian Hunter
Date: Fri Jan 02 2015 - 03:06:24 EST


On 01/01/15 19:50, Rickard Strandqvist wrote:
> Remove the function perf_session__peek_event() that is not used anywhere.
>
> This was partially found by using a static code analysis program called cppcheck.
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@xxxxxxxxxxxxxxxxxx>
> ---

It was added in preparation for Intel PT and is still needed. Please do not
remove.

For example it is used here:

http://marc.info/?l=linux-kernel&m=141839228619389

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