diff options
| author | Gal Pressman <galp@mellanox.com> | 2017-06-05 16:45:45 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-06-16 00:18:40 +0300 |
| commit | 0883b4f456f691a54df7a9ae5607ade456fa7b97 (patch) | |
| tree | 26c4aa402a1e21be278d10be8ae5a77cf80b784d /tools/perf/scripts/python/syscall-counts.py | |
| parent | ebc88870dab343ef3d16832e40d53bd21f1bf0e5 (diff) | |
| download | linux-0883b4f456f691a54df7a9ae5607ade456fa7b97.tar.xz | |
net/mlx5e: Reduce number of heap allocated buffers for update stats
Allocating buffers on the heap every 200ms is something we should avoid,
let's use buffers located on the stack instead.
Signed-off-by: Gal Pressman <galp@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Cc: kernel-team@fb.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
