aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexander Shishkin <[email protected]>2019-07-05 17:14:24 +0300
committerGreg Kroah-Hartman <[email protected]>2019-07-25 13:03:19 +0200
commited5207afc580937cd6cc671357fe1119f1b5b0f5 (patch)
treead448f597fecc9421936cf8ae2e086253f7e1902 /tools/perf/scripts/python/export-to-postgresql.py
parent57b69a1f66486d632e188fb167950fb4bdf84221 (diff)
intel_th: msu: Prevent freeing buffers while locked windows exist
We already prevent freeing buffers via sysfs interface in case there are existing users or if trace is active. Treat the existence of locked windows similarly and return -EBUSY on attempts to free the buffer. When the last window is unlocked, the freeing will succeed. Signed-off-by: Alexander Shishkin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions