aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-08-06 16:19:56 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-06 12:37:56 -0700
commitb19d955055480ac4e03f5afec0ca80f0de7b7013 (patch)
treec1b6e0cc939800a2a5a317274d1dfb8097e82010 /tools/perf/scripts/python
parentdrop_monitor: Add extack support (diff)
downloadlinux-b19d955055480ac4e03f5afec0ca80f0de7b7013.tar.gz
linux-b19d955055480ac4e03f5afec0ca80f0de7b7013.zip
drop_monitor: Use pre_doit / post_doit hooks
Each operation from user space should be protected by the global drop monitor mutex. Use the pre_doit / post_doit hooks to take / release the lock instead of doing it explicitly in each function. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions