diff options
| author | Tetsuo Handa <[email protected]> | 2013-11-14 14:31:56 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-11-15 09:32:20 +0900 |
| commit | 839cc2a94cc3665bafe32203c2f095f4dd470a80 (patch) | |
| tree | c48aa0e5bcd3f09ad5b7354396a50928c9211155 /tools/perf/scripts/python/netdev-times.py | |
| parent | 57f4257eae33e036125973858934730250d464e3 (diff) | |
seq_file: introduce seq_setwidth() and seq_pad()
There are several users who want to know bytes written by seq_*() for
alignment purpose. Currently they are using %n format for knowing it
because seq_*() returns 0 on success.
This patch introduces seq_setwidth() and seq_pad() for allowing them to
align without using %n format.
Signed-off-by: Tetsuo Handa <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: David Miller <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions