Hi Jiri,
On Fri, 25 Jul 2014 13:12:30 +0200, Jiri Olsa wrote:
> On Fri, Jul 25, 2014 at 10:18:57AM +0900, Namhyung Kim wrote:
>
> SNIP
>
>> }
>>
>> -#define __HPP_WIDTH_FN(_type, _str) \
>> +#define __HPP_WIDTH_FN(_type)
On Fri, Jul 25, 2014 at 10:18:57AM +0900, Namhyung Kim wrote:
SNIP
> }
>
> -#define __HPP_WIDTH_FN(_type, _str) \
> +#define __HPP_WIDTH_FN(_type)
> \
> static int hpp__width_##_type(struct perf_hpp_fmt *fmt,
It makes the code a bit simpler and easier to debug IMHO.
I guess it can also remove similar code in perf diff, but let's keep
it for a future work. :)
Signed-off-by: Namhyung Kim
---
tools/perf/ui/gtk/hists.c | 4 +-
tools/perf/ui/hist.c | 109 ++-
3 matches
Mail list logo