[PATCH] fold me "oom, trace: add compaction retry tracepoint"
From: Michal Hocko
Date: Wed Dec 14 2016 - 13:09:10 EST
Do not forget to translate compact_result into a highlevel constants
as per Vlastimil
Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
---
include/trace/events/oom.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/trace/events/oom.h b/include/trace/events/oom.h
index e9d690665b7a..38baeb27221a 100644
--- a/include/trace/events/oom.h
+++ b/include/trace/events/oom.h
@@ -94,7 +94,7 @@ TRACE_EVENT(compact_retry,
TP_fast_assign(
__entry->order = order;
__entry->priority = priority;
- __entry->result = result;
+ __entry->result = compact_result_to_feedback(result);
__entry->retries = retries;
__entry->max_retries = max_retries;
__entry->ret = ret;
--
2.10.2
--
Michal Hocko
SUSE Labs