perf: net_dropmonitor: Do not assume ordering of dictionaries
commit326017c757e387007c6629797d7ae22fd33c1317
authorBen Hutchings <ben@decadent.org.uk>
Mon, 20 May 2013 14:45:34 +0000 (20 14:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 May 2013 22:10:10 +0000 (22 15:10 -0700)
treef787bb0dbb463f1520673ad264ae16d78eec3d95
parent5a1e99dd2028e00998d42029be86835d8ef4a46e
perf: net_dropmonitor: Do not assume ordering of dictionaries

The sort order of dictionaries in Python is undocumented.  Use
tuples instead, which are documented to be lexically ordered.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/perf/scripts/python/net_dropmonitor.py