diff options
| author | Jakub Kicinski <[email protected]> | 2019-02-10 19:35:28 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-11 20:39:56 -0800 |
| commit | 68750561dd5622307bbf0c77bc4f80e7b2dfce0c (patch) | |
| tree | 8d5e852c21e53da684d04edc90a85b6876c5fda8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3ceb745baa4c90eb34dee983053fcbd2d8825a20 (diff) | |
devlink: don't allocate attrs on the stack
Number of devlink attributes has grown over 128, causing the
following warning:
../net/core/devlink.c: In function ‘devlink_nl_cmd_region_read_dumpit’:
../net/core/devlink.c:3740:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
Since the number of attributes is only going to grow allocate
the array dynamically.
Signed-off-by: Jakub Kicinski <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions