aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2011-10-14 09:31:53 -0300
committerArnaldo Carvalho de Melo <[email protected]>2011-10-14 12:48:14 -0300
commit437cfe7a37df07e2201036fb0903cadae6b08e74 (patch)
tree8967d5f800d2e5c918933e747b47c98ee85566a4 /include/linux/debugobjects.h
parent18eaf0b8e60a2fa54667b2192197970174f1c061 (diff)
perf hists browser: Invalidate ui_browser->top after timer calls
With underlying dynamic data structures we need to invalidate pointers to them after a timer, as that entry may have vanished (decayed in top, for instance). I forgot about browser_ui->top. Fix it by resetting it to null after a timer. The seek operation from SEEK_SET will then set it to a valid entry because it starts from rb_first(&hists->entries). Reported-by: Ingo Molnar <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions