diff options
author | Steven Rostedt <[email protected]> | 2015-03-24 09:57:54 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-03-24 12:20:09 -0300 |
commit | 5dbcfd930e430b33fb4dfded9c1af0cf432772b9 (patch) | |
tree | 0c516ffb080868cad9ef075eee62934be2219be7 /net/unix/sysctl_net_unix.c | |
parent | 2771984c7f5e6cab812e86ec152da4fb5f6df908 (diff) |
tools lib traceevent: Make plugin options either string or boolean
When a plugin option is defined, by default it is a boolean (true or false).
If the option is something else, then it needs to set its "value" field to
a default string other than NULL (can be just "").
If the value is not set then the option is considered boolean, and the
updating of the option value will be handled accordingly.
Signed-off-by: Steven Rostedt <[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: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions