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

From: David Ahern
Date: Tue Sep 18 2012 - 15:18:48 EST


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.

David

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