Home | History | Annotate | Download | only in python

Lines Matching defs:perf

4 #   twatch - Experimental use of the perf python interface
16 import perf
19 cpus = perf.cpu_map()
20 threads = perf.thread_map()
21 evsel = perf.evsel(task = 1, comm = 1, mmap = 0,
24 sample_type = perf.SAMPLE_PERIOD | perf.SAMPLE_TID | perf.SAMPLE_CPU | perf.SAMPLE_TID)
26 evlist = perf.evlist(cpus, threads)