perf script: Also allow forcing reading of non-root owned files by root
authorYannick Brosseau <scientist@fb.com>
Fri, 13 Jan 2017 18:25:27 +0000 (13:25 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 16 Jan 2017 17:59:15 +0000 (14:59 -0300)
commitbe3d466c7356e574a2aa4e19dd20b19b3a9cc4fc
treed1b367cf055ede1fa5c079dff35692ef5381b792
parent5c64f99b1d030ce52acce53d83141d88f79e6362
perf script: Also allow forcing reading of non-root owned files by root

In 2059fc7a5a9e ("perf symbols: Allow forcing reading of non-root owned
files by root") 'perf report' was added the option of forcing reading of
non-root owned symbol file.

This add the same behavior for perf script.

Reported-by: Mark Drayton <mbd@fb.com>
Signed-off-by: Yannick Brosseau <scientist@fb.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: kernel-team@fb.com
Link: http://lkml.kernel.org/r/20170113182527.18625-1-scientist@fb.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c