aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAkihiro Tsukada <[email protected]>2012-03-10 11:38:13 -0300
committerMauro Carvalho Chehab <[email protected]>2012-03-19 15:46:36 -0300
commit847e87659620890bfc80ce7bf682f2a5354543b2 (patch)
treeb9929128874639472b0892e58ab10eddc8db71e0 /tools/perf/scripts/python/export-to-sqlite.py
parent2321acf2962514088c2230b6d54f7a56368576c5 (diff)
[media] dvb: earth-pt1: stop polling data when no one accesses the device
The driver started a kthread to poll the DMA buffers soon after probing, which relsuleted in 1000/sec sleeps and wakeups of the thread doing nothing useful until someone started feeding. This patch changes the creation and destruction of the kthread depending on the number of users. Signed-off-by: Akihiro Tsukada <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions