aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRavi Bangoria <[email protected]>2021-03-04 11:59:58 +0530
committerArnaldo Carvalho de Melo <[email protected]>2021-03-06 16:54:32 -0300
commit6740a4e70e5d1b9d8e7fe41fd46dd5656d65dadf (patch)
tree2e1869ccd806f5cb3dc854fee82afd765eec04cf /drivers
parentc1f272df510c6b1db68ca6597724d17b557d1407 (diff)
perf report: Fix -F for branch & mem modes
perf report fails to add valid additional fields with -F when used with branch or mem modes. Fix it. Before patch: $ perf record -b $ perf report -b -F +srcline_from --stdio Error: Invalid --fields key: `srcline_from' After patch: $ perf report -b -F +srcline_from --stdio # Samples: 8K of event 'cycles' # Event count (approx.): 8784 ... Committer notes: There was an inversion: when looking at branch stack dimensions (keys) it was checking if the sort mode was 'mem', not 'branch'. Fixes: aa6b3c99236b ("perf report: Make -F more strict like -s") Reported-by: Athira Jajeev <[email protected]> Signed-off-by: Ravi Bangoria <[email protected]> Reviewed-by: Athira Jajeev <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Tested-by: Athira Jajeev <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions