aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRiccardo Mancini <[email protected]>2021-08-21 11:19:28 +0200
committerArnaldo Carvalho de Melo <[email protected]>2021-08-31 16:45:30 -0300
commitebfb045a417415d8ac3f588e443f001b1278c01c (patch)
tree982ce9eba393fe3555e78e295de7c8cf515de0cf /tools/perf/scripts/python
parentda7c3b462293431ea2558765a977a55007a26379 (diff)
perf evsel: Move test_attr__open() to success path in evsel__open_cpu()
test_attr__open() ignores the fd if -1, therefore it is safe to move it to the success path (fd >= 0). Signed-off-by: Riccardo Mancini <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/b3baf11360ca96541c9631730614fd7d217496fc.1629490974.git.rickyman7@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions