Steven Rostedt
9eb42dee2b
tools lib traceevent: Add '~' operation within arg_num_eval()
...
When evaluating values for print flags, if the value included a '~'
operator, the parsing would fail. This broke kmalloc's parsing of:
__print_flags(REC->gfp_flags, "|", {(unsigned
long)((((((( gfp_t)(0x400000u|0x2000000u)) | (( gfp_t)0x40u) |
(( gfp_t)0x80u) | (( gfp_t)0x20000u)) | (( gfp_t)0x02u)) |
(( gfp_t)0x08u)) | (( gfp_t)0x4000u) | (( gfp_t)0x10000u) |
(( gfp_t)0x1000u) | (( gfp_t)0x200u)) & ~(( gfp_t)0x2000000u))
^
|
here
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: David Ahern <dsahern@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20160226181328.22f47129@gandalf.local.home
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-03-10 16:27:41 -03:00
..
2015-06-08 10:30:32 -03:00
2015-02-12 17:55:38 -03:00
2016-03-10 16:27:41 -03:00
2016-02-29 11:35:21 -03:00
2015-03-24 12:20:09 -03:00
2014-01-15 15:10:36 -03:00
2015-03-24 12:22:09 -03:00
2015-03-24 12:22:09 -03:00
2015-07-08 17:56:13 -03:00
2015-03-24 12:23:03 -03:00
2014-01-15 15:10:36 -03:00
2015-05-14 12:28:11 -03:00
2014-06-07 23:33:37 +02:00
2014-01-16 16:26:24 -03:00
2014-06-19 18:18:37 +02:00
2014-01-16 16:26:24 -03:00
2015-10-20 15:54:14 -03:00
2014-01-16 16:26:25 -03:00
2014-01-16 16:26:25 -03:00
2014-11-24 20:01:44 +01:00
2014-01-16 16:26:25 -03:00
2015-02-06 11:46:37 +01:00