perf annotate: Make a copy of filename for passing to basename
The basename function may modify the string passed to it, so the string should not be marked const. Signed-off-by: NDavid Ahern <dsahern@gmail.com> Acked-by: NPekka Enberg <penberg@kernel.org> Cc: Irina Tirdea <irina.tirdea@gmail.com> Cc: Pekka Enberg <penberg@kernel.org> Link: http://lkml.kernel.org/r/1347116812-93646-2-git-send-email-dsahern@gmail.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Showing
想要评论请 注册 或 登录