perf tools: Generalize percent_color_snprintf()
Make percent_color_snprintf() handle negative values correctly. Signed-off-by: NRamkumar Ramachandra <artagnon@gmail.com> Acked-by: NJiri Olsa <jolsa@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1388388861-7931-2-git-send-email-artagnon@gmail.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Showing
想要评论请 注册 或 登录