File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -38,22 +38,19 @@ TRACE_EVENT(task_rename,
38
38
TP_ARGS (task , comm ),
39
39
40
40
TP_STRUCT__entry (
41
- __field ( pid_t , pid )
42
41
__array ( char , oldcomm , TASK_COMM_LEN )
43
42
__array ( char , newcomm , TASK_COMM_LEN )
44
43
__field ( short , oom_score_adj )
45
44
),
46
45
47
46
TP_fast_assign (
48
- __entry -> pid = task -> pid ;
49
47
memcpy (entry -> oldcomm , task -> comm , TASK_COMM_LEN );
50
48
strscpy (entry -> newcomm , comm , TASK_COMM_LEN );
51
49
__entry -> oom_score_adj = task -> signal -> oom_score_adj ;
52
50
),
53
51
54
- TP_printk ("pid=%d oldcomm=%s newcomm=%s oom_score_adj=%hd" ,
55
- __entry -> pid , __entry -> oldcomm ,
56
- __entry -> newcomm , __entry -> oom_score_adj )
52
+ TP_printk ("oldcomm=%s newcomm=%s oom_score_adj=%hd" ,
53
+ __entry -> oldcomm , __entry -> newcomm , __entry -> oom_score_adj )
57
54
);
58
55
59
56
/**
You can’t perform that action at this time.
0 commit comments