diff options
author | Javi Merino <[email protected]> | 2015-03-20 18:12:55 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-03-24 12:07:05 -0300 |
commit | 929a6bb71aa5ae6cb15b4b42ab7ac183ee286a1a (patch) | |
tree | 01b5ec713cd8bdfd2ce1c7983bf21d8d87761a85 /net/unix/sysctl_net_unix.c | |
parent | e6d7c91c8c5ea532584056f3e8bf1643310c8ef7 (diff) |
tools lib traceevent: Factor out allocating and processing args
The sequence of allocating the print_arg field, calling process_arg()
and verifying that the next event delimiter is repeated twice in
process_hex() and will also be used for process_int_array().
Factor it out to a function to avoid writing the same code again and
again.
Signed-off-by: Javi Merino <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions