summaryrefslogtreecommitdiffstats
path: root/include/trace/events/oom.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/events/oom.h')
-rw-r--r--include/trace/events/oom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/oom.h b/include/trace/events/oom.h
index dd4ba3b9200..1e974983757 100644
--- a/include/trace/events/oom.h
+++ b/include/trace/events/oom.h
@@ -14,7 +14,7 @@ TRACE_EVENT(oom_score_adj_update,
TP_STRUCT__entry(
__field( pid_t, pid)
__array( char, comm, TASK_COMM_LEN )
- __field( int, oom_score_adj)
+ __field( short, oom_score_adj)
),
TP_fast_assign(
@@ -23,7 +23,7 @@ TRACE_EVENT(oom_score_adj_update,
__entry->oom_score_adj = task->signal->oom_score_adj;
),
- TP_printk("pid=%d comm=%s oom_score_adj=%d",
+ TP_printk("pid=%d comm=%s oom_score_adj=%hd",
__entry->pid, __entry->comm, __entry->oom_score_adj)
);