summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-05-03 13:36:59 +0300
committerDavid S. Miller <davem@davemloft.net>2018-05-03 20:37:02 +0300
commitf5ae57784ba805d0e8b11db1a7b2c17c5a07dd70 (patch)
tree1f6bed8d18e8db4b03b25662e2f85b7f5c66f1e8 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent41f405460a0471e2183a6d4149608a964f6dc63f (diff)
downloadlinux-f5ae57784ba805d0e8b11db1a7b2c17c5a07dd70.tar.xz
selftests: forwarding: lib: Add sysctl_set(), sysctl_restore()
Add two helper functions: sysctl_set() to change the value of a given sysctl setting, and sysctl_restore() to change it back to what it was. 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