aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorBrendan Jackman <brendan.jackman@arm.com>2017-01-16 16:26:08 +0000
committerBrendan Jackman <brendan.jackman@arm.com>2017-01-17 13:51:31 +0000
commit214940f3fb53b45358168759f7198149b9dd01bf (patch)
tree68922e5ce5d319301333d57419fc20268d857634 /.travis.yml
parentdd124aa65e7c3f3a35a1f9b9554fc528e68027bd (diff)
downloadtrappy-214940f3fb53b45358168759f7198149b9dd01bf.tar.gz
base: Don't error on event field values containing '='
If a trace field value contains a '=', we currently get a ValueError('Too many values to unpack'). Instead, let's only split on the first '='. In practice if a field value contains a '=' it's probably because a kernel developer typo'd a custom event like: /* Note missing space between "%d" and "bar" */ trace_printk("my_broken_event: foo=%dbar=%d", foo, bar) So I did consider raising an explicit 'malformed event field' error. But this approach is more flexible in case someone really wanted to trace fields containing strings with '=' in them.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions