Re: [PATCH 8/8] tools/lib/traceevent: remove call to exit() from tep_filter_add_filter_str()

2019-03-26 Thread Steven Rostedt
On Tue, 26 Mar 2019 17:43:28 +0200 Tzvetomir Stoyanov wrote: > This patch removes call to exit() from tep_filter_add_filter_str(). A library > function should not force the application to exit. In the current > implementation > tep_filter_add_filter_str() calls exit() when a special

[PATCH 8/8] tools/lib/traceevent: remove call to exit() from tep_filter_add_filter_str()

2019-03-26 Thread Tzvetomir Stoyanov
This patch removes call to exit() from tep_filter_add_filter_str(). A library function should not force the application to exit. In the current implementation tep_filter_add_filter_str() calls exit() when a special "test_filters" mode is set, used only for debugging purposes. When this mode is set