diff options
| author | 2019-02-10 19:35:28 -0800 | |
|---|---|---|
| committer | 2019-02-11 20:39:56 -0800 | |
| commit | 68750561dd5622307bbf0c77bc4f80e7b2dfce0c (patch) | |
| tree | 8d5e852c21e53da684d04edc90a85b6876c5fda8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | devlink: fix condition for compat device info (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 <jakub.kicinski@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
