Commit d503b8f
committed
tracing: Add trace_array_puts() to write into instance
Add a generic trace_array_puts() that can be used to "trace_puts()" into
an allocated trace_array instance. This is just another variant of
trace_array_printk().
Link: https://lkml.kernel.org/r/20230207173026.584717290@goodmis.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Ross Zwisler <zwisler@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent c484648 commit d503b8f
2 files changed
Lines changed: 29 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
36 | 48 | | |
37 | 49 | | |
38 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
| 1026 | + | |
| 1027 | + | |
1033 | 1028 | | |
1034 | 1029 | | |
1035 | 1030 | | |
1036 | 1031 | | |
1037 | 1032 | | |
1038 | 1033 | | |
1039 | 1034 | | |
1040 | | - | |
| 1035 | + | |
1041 | 1036 | | |
1042 | 1037 | | |
1043 | 1038 | | |
| |||
1046 | 1041 | | |
1047 | 1042 | | |
1048 | 1043 | | |
1049 | | - | |
| 1044 | + | |
1050 | 1045 | | |
1051 | 1046 | | |
1052 | 1047 | | |
| |||
1068 | 1063 | | |
1069 | 1064 | | |
1070 | 1065 | | |
1071 | | - | |
| 1066 | + | |
1072 | 1067 | | |
1073 | 1068 | | |
1074 | 1069 | | |
1075 | 1070 | | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1076 | 1083 | | |
1077 | 1084 | | |
1078 | 1085 | | |
| |||
0 commit comments