summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRicardo Martinez <ricardo.martinez@linux.intel.com>2022-05-06 21:12:57 +0300
committerDavid S. Miller <davem@davemloft.net>2022-05-09 12:51:58 +0300
commit2fbdf45d7d26361a0c3ec8833fd96edf0f5812da (patch)
tree656bac038c34f0ba955ddb466d39d32cc0a9acde /tools/perf/scripts/python/exported-sql-viewer.py
parentc908565eecf2d310edddaecea6166015abe9df08 (diff)
downloadlinux-2fbdf45d7d26361a0c3ec8833fd96edf0f5812da.tar.xz
list: Add list_next_entry_circular() and list_prev_entry_circular()
Add macros to get the next or previous entries and wraparound if needed. For example, calling list_next_entry_circular() on the last element should return the first element in the list. Signed-off-by: Ricardo Martinez <ricardo.martinez@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions