diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index edb02bc9f8fffe0afa208095c83b562cf90960ba..b5ff2e8229eced3e11edb0f6a8702ba83bccda68 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h @@ -25,7 +25,7 @@ #define __field(type, item) type item; #undef __string -#define __string(item, src) int __str_loc_##item; +#define __string(item, src) unsigned short __str_loc_##item; #undef TP_STRUCT__entry #define TP_STRUCT__entry(args...) args