aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2009-11-25 16:10:14 +0100
committerSteven Rostedt <[email protected]>2009-12-09 14:05:49 -0500
commitd184b31c0e403580aafb3f8955ecc185a3d04801 (patch)
treeca3fc8371382ce8dbe43eb684313847b7555573e /scripts/basic/docproc.c
parenta63ce5b306855bccdacba95c03bfc293316c8ae3 (diff)
tracing: Add full state to trace_seq
The trace_seq buffer might fill up, and right now one needs to check the return value of each printf into the buffer to check for that. Instead, have the buffer keep track of whether it is full or not, and reject more input if it is full or would have overflowed with an input that wasn't added. Cc: Lai Jiangshan <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions