diff options
author | Tzvetomir Stoyanov <[email protected]> | 2018-11-30 23:08:10 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-01-08 13:28:13 -0300 |
commit | 6d2d6fd7e3ee0daf0d8308741792b3ec41aafd0c (patch) | |
tree | 0cd6ace0970c8a4b818c1a8586d37c013d3e5b69 /net/lapb/lapb_timer.c | |
parent | 2e4318a287bdf815140462257ab8697f5289a12f (diff) |
tools lib traceevent: Changed return logic of trace_seq_printf() and trace_seq_vprintf() APIs
In order to make libtraceevent into a proper library, its API should be
straightforward.
The trace_seq_printf() and trace_seq_vprintf() APIs have inconsistent
returned values with the other trace_seq_* APIs.
This path changes the return logic of trace_seq_printf() and
trace_seq_vprintf() to return the number of printed characters, as the
other trace_seq_* related APIs.
Signed-off-by: Tzvetomir Stoyanov <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions