diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2019-08-17 16:28:10 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-08-17 22:40:08 +0300 |
| commit | 9b63f57d4ab981e18e35def3349040527ead93c3 (patch) | |
| tree | 7e01282d4b43c3be9b4ecd6941228aeca210f5c1 /tools/perf/scripts/python/syscall-counts.py | |
| parent | f77508308fa76d0efc60ebf3c906f467feb062cb (diff) | |
| download | linux-9b63f57d4ab981e18e35def3349040527ead93c3.tar.xz | |
drop_monitor: Move per-CPU data init/fini to separate functions
Currently drop monitor only reports software drops to user space, but
subsequent patches are going to add support for hardware drops.
Like software drops, the per-CPU data of hardware drops needs to be
initialized and de-initialized upon module initialization and exit. To
avoid code duplication, break this code into separate functions, so that
these could be re-used for hardware drops.
No functional changes intended.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
