perf callchains: Switch from strtok() to strtok_r() when parsing options
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Apr 2017 14:38:10 +0000 (11:38 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 Apr 2017 11:45:09 +0000 (08:45 -0300)
commitdadafc315ded31a36cb4899bc85ef4050f0332a7
tree5b96f73609d56aefc02d3984c1fcbf87b52825bc
parent9df9078ef2086652647248ee6e82ca8f661cb3f5
perf callchains: Switch from strtok() to strtok_r() when parsing options

Trying to keep everything reentrant.

Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/tip-rdce0p2k9e1b4qnrb8ki9mtf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/callchain.c