[PATCH] perf kmem: Change a word from migratetype to migrate_type for unity

From: Sihyeon Jang
Date: Thu Nov 16 2017 - 08:42:09 EST


Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Signed-off-by: Sihyeon Jang <uneedsihyeon@xxxxxxxxx>
---
tools/perf/builtin-kmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c
index 557d391..43858cd 100644
--- a/tools/perf/builtin-kmem.c
+++ b/tools/perf/builtin-kmem.c
@@ -786,7 +786,7 @@ static int perf_evsel__process_page_alloc_event(struct perf_evsel *evsel,
unsigned int order = perf_evsel__intval(evsel, sample, "order");
unsigned int gfp_flags = perf_evsel__intval(evsel, sample, "gfp_flags");
unsigned int migrate_type = perf_evsel__intval(evsel, sample,
- "migratetype");
+ "migrate_type");
u64 bytes = kmem_page_size << order;
u64 callsite;
struct page_stat *pstat;
--
2.7.4