summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2017-05-29 16:38:16 -0700
committerDaniel Rosenberg <drosen@google.com>2017-05-29 19:11:06 -0700
commitd73d07673edbdbe78e1a7d00e7827ba9bfd86a59 (patch)
treefc387b4c72991faee510e08bfe4240c857400f87 /tools/perf/scripts/python
parent9bc462220dab03c44f3f8fe0cf0d2d5f14fef7bd (diff)
ANDROID: mnt: Fix next_descendent
next_descendent did not properly handle the case where the initial mount had no slaves. In this case, we would look for the next slave, but since don't have a master, the check for wrapping around to the start of the list will always fail. Instead, we check for this case, and ensure that we end the iteration when we come back to the root. Signed-off-by: Daniel Rosenberg <drosen@google.com> Bug: 62094374 Change-Id: I43dfcee041aa3730cb4b9a1161418974ef84812e
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions