diff options
| author | Brenda J. Butler <[email protected]> | 2017-10-31 14:28:35 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-01 11:04:47 +0900 |
| commit | 6c26c3fbc3295ce71f5e03caccc9eeb7369123ca (patch) | |
| tree | ea15f0084e827cf0d1fa159537cde468b49f02bb /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 7ae677fb85f46c6b1c0545a0558c507ab940d7c4 (diff) | |
tc-testing: better check if thing is list
Check if tcase[k] is an instance of a list (is or is derived from list)
instead of checking if it is a list.
This will be useful if the data structures change to be something
that implements list, instead of being an actual list. In that
case, this code will not have to change.
Signed-off-by: Brenda J. Butler <[email protected]>
Acked-by: Lucas Bates <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions