Re: [PATCH v8 2/3] perf: move stat related code to util/stat.c

From: Xiao Guangrong
Date: Tue Sep 18 2012 - 21:53:54 EST


On 09/19/2012 03:18 AM, David Ahern wrote:
> On 9/17/12 2:31 AM, Dong Hao wrote:
>> From: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxxxxxx>
>>
>> Then, the code can be shared between kvm events and perf stat
>>
>> [ Dong Hao <haodong@xxxxxxxxxxxxxxxxxx>: rebase it on acme's git tree ]
>> Signed-off-by: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxxxxxx>
>> Signed-off-by: Dong Hao <haodong@xxxxxxxxxxxxxxxxxx>
>> ---
>> tools/perf/Makefile | 1 +
>> tools/perf/builtin-stat.c | 56 +------------------------------------------
>> tools/perf/util/stat.c | 57 +++++++++++++++++++++++++++++++++++++++++++++
>> tools/perf/util/stat.h | 16 ++++++++++++
>> 4 files changed, 76 insertions(+), 54 deletions(-)
>> create mode 100644 tools/perf/util/stat.c
>> create mode 100644 tools/perf/util/stat.h
>
> Does not apply to Arnaldo's latest perf/core branch.

The patch has already been applied to this branch:
http://git.kernel.org/?p=linux/kernel/git/acme/linux.git;a=commit;h=0007eceaceb11520071d053acfe06ee3326b1d13

You or we can improve rel_stddev_stats after perf-stat's code is fixed. :)

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