aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorGaurav Gupta <[email protected]>2017-06-27 09:46:01 -0700
committerJonathan Cameron <[email protected]>2017-07-15 13:50:00 +0100
commitbc4b2a518f20508d866b55b5ea2739f3ced18cb6 (patch)
tree4264fffdb5ebaea77e5c7bb11a1edd835450ac6d /tools/perf/scripts/python/call-graph-from-postgresql.py
parent9d9ebe64dc2e1b3cb6411c817527409fe94227b1 (diff)
iio: core: Fix mapping of iio channels to entry numbers
When adding maps to the list, they were added using list_add, which adds them in LIFO order. When parsing using iio_channel_get_all(), these elements are hence returned in reverse order. As a result, the iio_hwmon mapping maps the first entry to the last channel and so on. Signed-off-by: Gaurav Gupta <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions