Commit 92edca0
tracing: Use direct field, type and system names
The names used to display the field and type in the event format
files are copied, as well as the system name that is displayed.
All these names are created by constant values passed in.
If one of theses values were to be removed by a module, the module
would also be required to remove any event it created.
By using the strings directly, we can save over 100K of memory.
Signed-off-by: Steven Rostedt <[email protected]>1 parent d1a2914 commit 92edca0
2 files changed
+5
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
887 | 887 | | |
888 | 888 | | |
889 | 889 | | |
890 | | - | |
891 | | - | |
| 890 | + | |
| 891 | + | |
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 75 | + | |
| 76 | + | |
82 | 77 | | |
83 | 78 | | |
84 | 79 | | |
| |||
94 | 89 | | |
95 | 90 | | |
96 | 91 | | |
97 | | - | |
98 | | - | |
99 | 92 | | |
100 | 93 | | |
101 | 94 | | |
| |||
146 | 139 | | |
147 | 140 | | |
148 | 141 | | |
149 | | - | |
150 | | - | |
151 | 142 | | |
152 | 143 | | |
153 | 144 | | |
| |||
286 | 277 | | |
287 | 278 | | |
288 | 279 | | |
289 | | - | |
290 | 280 | | |
291 | 281 | | |
292 | 282 | | |
| |||
1202 | 1192 | | |
1203 | 1193 | | |
1204 | 1194 | | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
| 1195 | + | |
1209 | 1196 | | |
1210 | 1197 | | |
1211 | 1198 | | |
| |||
1218 | 1205 | | |
1219 | 1206 | | |
1220 | 1207 | | |
1221 | | - | |
1222 | 1208 | | |
1223 | 1209 | | |
1224 | 1210 | | |
| |||
0 commit comments