aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2011-02-23 07:25:02 -0300
committerArnaldo Carvalho de Melo <[email protected]>2011-02-23 07:25:02 -0300
commit6435a5e39d3e01a1a73a925ed53ee18619b0a368 (patch)
tree263c8c5e90f7dd585d224d839d808425b4fe13fd /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentc97cf42219b7b6037d2f96c27a5f114f2383f828 (diff)
perf top browser: Adjust the browser indexes when refreshing
This is not a problem when we're not at the bottom of the active symbols list, so was not noticed, but at the end of the screen it falls apart. Fix it by adjusting the ui_browser indexes according to the new number of entries in the rb_tree and by seeking from the start of the rb_tree to find the new symbol at the top of the screen. Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom Zanussi <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions