commit | 56a0ba03d2da139ea778879449e330a8982e92bc | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Google) <rostedt@goodmis.org> | Fri Jul 22 16:17:32 2022 -0400 |
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | Wed Aug 03 16:58:26 2022 -0400 |
tree | aa7d996238d45f6e5147ed2a9b09a97431366211 | |
parent | c5f849f1a905d7b41a90d2d3ab42aa076d749c6a [diff] |
libtracefs: Return negative number when tracefs_filter_string_append() fails If the field passed into tracefs_filter_string_append() does not match a field of the event, or if the value is not proper, it fails to append the filter, but still returns 0 as it was successful. Return -1 if it fails. Link: https://lore.kernel.org/linux-trace-devel/20220722161732.0c5d7023@gandalf.local.home Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>