perf hists browser: Fix typo in function switch_data_file
authorChangbin Du <changbin.du@intel.com>
Mon, 13 Mar 2017 11:46:52 +0000 (19:46 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Mar 2017 14:58:57 +0000 (11:58 -0300)
commit3ef5b4023c64c16c793a066a7a2ed6ea3767e0d7
tree2d3c151c38e4622f7d9408a3624c5fa07688dc70
parentd35fa1e75fdb308ae8a1a3efffe7ddedbd6051e2
perf hists browser: Fix typo in function switch_data_file

Should clear buf 'abs_path', not 'options'.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Cc: Feng Tang <feng.tang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: 341487ab561f ("perf hists browser: Add option for runtime switching perf data file")
Link: http://lkml.kernel.org/r/20170313114652.9207-1-changbin.du@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c