diff options
| author | Petr Machata <petrm@mellanox.com> | 2018-05-03 13:37:13 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-05-03 20:37:02 +0300 |
| commit | d51d10aa1dbdedd9254874bf37e8b0cd96ea3bde (patch) | |
| tree | f3b3e33094389e6e6a33aa94960217c947fcffd4 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | f5ae57784ba805d0e8b11db1a7b2c17c5a07dd70 (diff) | |
| download | linux-d51d10aa1dbdedd9254874bf37e8b0cd96ea3bde.tar.xz | |
selftests: forwarding: Use sysctl_set(), sysctl_restore()
Instead of hand-managing the sysctl set and restore, use the wrappers
sysctl_set() and sysctl_restore() to do the bookkeeping automatically.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
