aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2019-08-11 10:35:47 +0300
committerDavid S. Miller <[email protected]>2019-08-11 10:53:30 -0700
commit70c69274f354ecb905cd46449111e73b17dedaad (patch)
treec8a3c9cdd3a2d5bfb1b8b931dd8b775458e411b1 /tools/perf/scripts/python/stackcollapse.py
parent7c747838a55818fd0cdbe48afd98fba726aa898d (diff)
drop_monitor: Initialize timer and work item upon tracing enable
The timer and work item are currently initialized once during module init, but subsequent patches will need to associate different functions with the work item, based on the configured alert mode. Allow subsequent patches to make that change by initializing and de-initializing these objects during tracing enable and disable. This also guarantees that once the request to disable tracing returns, no more netlink notifications will be generated. Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions