linux-uconsole/tools/lib/traceevent
Steven Rostedt (VMware) 532920b266 tools lib traceevent: Fix "robust" test of do_generate_dynamic_list_file
commit 82a2f88458 upstream.

The tools/lib/traceevent/Makefile had a test added to it to detect a failure
of the "nm" when making the dynamic list file (whatever that is). The
problem is that the test sorts the values "U W w" and some versions of sort
will place "w" ahead of "W" (even though it has a higher ASCII value, and
break the test.

Add 'tr "w" "W"' to merge the two and not worry about the ordering.

Reported-by: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Carrillo-Cisneros <davidcc@google.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Michal rarek <mmarek@suse.com>
Cc: Paul Turner <pjt@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: stable@vger.kernel.org
Fixes: 6467753d61 ("tools lib traceevent: Robustify do_generate_dynamic_list_file")
Link: http://lkml.kernel.org/r/20190805130150.25acfeb1@gandalf.local.home
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-11 18:20:51 +02:00
..
.gitignore tools lib traceevent: Ignore generated library files 2016-08-02 12:16:13 -03:00
Build tools lib traceevent: Use tools build framework 2015-02-12 17:55:38 -03:00
event-parse.c tools lib traceevent: Fix missing equality check for strcmp 2019-05-16 19:41:22 +02:00
event-parse.h tools lib traceevent: Rename various pevent APIs 2018-08-13 15:36:43 -03:00
event-plugin.c libtraceevent: Change users plugin directory 2019-10-05 13:09:53 +02:00
event-utils.h tools lib traceevent: Change to SPDX License format 2018-08-20 08:54:58 -03:00
kbuffer-parse.c tools lib traceevent: Change to SPDX License format 2018-08-20 08:54:58 -03:00
kbuffer.h tools lib traceevent: Add way to find sub buffer boundary 2015-03-24 12:22:09 -03:00
Makefile tools lib traceevent: Fix "robust" test of do_generate_dynamic_list_file 2019-10-11 18:20:51 +02:00
parse-filter.c tools lib traceevent: Change to SPDX License format 2018-08-20 08:54:58 -03:00
parse-utils.c tools lib traceevent: Change to SPDX License format 2018-08-20 08:54:58 -03:00
plugin_cfg80211.c tools lib traceevent: Rename pevent_register / unregister APIs 2018-08-13 15:27:35 -03:00
plugin_function.c tools lib traceevent: Rename pevent_find_* APIs 2018-08-13 15:31:28 -03:00
plugin_hrtimer.c tools lib traceevent: Rename pevent_register / unregister APIs 2018-08-13 15:27:35 -03:00
plugin_jbd2.c tools lib traceevent: Rename pevent_register / unregister APIs 2018-08-13 15:27:35 -03:00
plugin_kmem.c tools lib traceevent: Rename pevent_find_* APIs 2018-08-13 15:31:28 -03:00
plugin_kvm.c tools lib traceevent: Rename various pevent get/set/is APIs 2018-08-13 15:35:02 -03:00
plugin_mac80211.c tools lib traceevent: Rename pevent_register / unregister APIs 2018-08-13 15:27:35 -03:00
plugin_sched_switch.c tools lib traceevent: Rename pevent field APIs 2018-08-13 15:30:30 -03:00
plugin_scsi.c tools lib traceevent: Rename pevent_register / unregister APIs 2018-08-13 15:27:35 -03:00
plugin_xen.c tools lib traceevent: Rename pevent_register / unregister APIs 2018-08-13 15:27:35 -03:00
trace-seq.c tools lib traceevent: Change to SPDX License format 2018-08-20 08:54:58 -03:00