perf script: Use strtok_r() when parsing output field list
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Apr 2017 14:43:41 +0000 (11:43 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 Apr 2017 11:45:09 +0000 (08:45 -0300)
commit49346e858f34eda103d7c0e85c06edbaebfc83a9
tree5f7f0e4f5749922ef883e6424e2eebc888832e7b
parentdadafc315ded31a36cb4899bc85ef4050f0332a7
perf script: Use strtok_r() when parsing output field list

Just avoiding non-reentrant functions.

Cc: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/n/tip-eqytykipd74epzl9aexvppcg@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c