History

tracing/events: fix a typo in __string() format output

"tsize" should be "\tsize". Also remove the space before "__str_loc". Before: # cat tracing/events/irq/irq_handler_entry/format ... field:int irq; offset:12; size:4; field: __str_loc name; offset:16;tsize:2; ... After: # cat tracing/events/irq/irq_handler_entry/format ... field:int irq; offset:12; size:4; field:__str_loc name; offset:16; size:2; ... [ Impact: standardize __string field description in events format file ]

Li Zefan committed 17 years ago

Commit 6e25db41 parent 897f17a1 file · +2 −2Browse files

Showing the changes to include/trace/ftrace.h (1 of 1 file). Show all

Unified · Split

include/trace/ftrace.h+2−2
@@ -209,8 +209,8 @@ ftrace_raw_output_##call(struct trace_iterator *iter, int flags) \ · 208 unmodified lines
209209
210210 #undef __string
211211 #define __string(item, src) \
212− ret = trace_seq_printf(s, "\tfield: __str_loc " #item ";\t" \
213− "offset:%u;tsize:%u;\n", \
212+ ret = trace_seq_printf(s, "\tfield:__str_loc " #item ";\t" \
213+ "offset:%u;\tsize:%u;\n", \
214214 (unsigned int)offsetof(typeof(field), \
215215 __str_loc_##item), \
216216 (unsigned int)sizeof(field.__str_loc_##item)); \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t