Lines Matching refs:perf
5 # twatch - Experimental use of the perf python interface
9 import perf
12 cpus = perf.cpu_map()
13 threads = perf.thread_map(thread)
14 evsel = perf.evsel(type = perf.TYPE_SOFTWARE,
15 config = perf.COUNT_SW_DUMMY,
19 sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU)
23 (the default), makes perf reenable irq_vectors:local_timer_entry, when
25 threads comes and goes... So use (perf.TYPE_SOFTWARE, perf_COUNT_SW_DUMMY,
29 evlist = perf.evlist(cpus, threads)
55 It is possible as well to use event.misc & perf.PERF_RECORD_MISC_SWITCH_OUT