diff options
author | Steven Rostedt <srostedt@redhat.com> | 2015-03-24 14:57:54 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-24 16:20:09 +0100 |
commit | 5dbcfd930e430b33fb4dfded9c1af0cf432772b9 (patch) | |
tree | 0c516ffb080868cad9ef075eee62934be2219be7 /arch/score | |
parent | tools lib traceevent: Add pevent_data_pid_from_comm() (diff) | |
download | linux-5dbcfd930e430b33fb4dfded9c1af0cf432772b9.tar.xz linux-5dbcfd930e430b33fb4dfded9c1af0cf432772b9.zip |
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 <rostedt@goodmis.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20150324135923.308372986@goodmis.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'arch/score')
0 files changed, 0 insertions, 0 deletions