[perfevents.sample]
# PERF_TYPE_HARDWARE:
# PERF_COUNT_HW_CPU_CYCLES = 0,
# PERF_COUNT_HW_INSTRUCTIONS = 1,
# PERF_COUNT_HW_CACHE_REFERENCES = 2,
# PERF_COUNT_HW_CACHE_MISSES = 3,
# PERF_COUNT_HW_BRANCH_INSTRUCTIONS = 4,
# PERF_COUNT_HW_BRANCH_MISSES = 5,
# PERF_COUNT_HW_BUS_CYCLES = 6,
#counter = 0x1 # PERF_COUNT_HW_INSTRUCTIONS
counter = 0x04C4 # Branch counter (intel)
#counter = 0x01C4 # Conditional branches counter (intel)
# PERF_TYPE_HARDWARE = 0,
# PERF_TYPE_SOFTWARE = 1,
# PERF_TYPE_TRACEPOINT = 2,
# PERF_TYPE_HW_CACHE = 3,
# PERF_TYPE_RAW = 4,
# PERF_TYPE_BREAKPOINT = 5,
type_id = 0 # PERF_TYPE_HARDWARE
#type_id = 4 # PERF_TYPE_RAW
# 0 - SAMPLE_IP can have arbitrary skid
# 1 - SAMPLE_IP must have constant skid
# 2 - SAMPLE_IP requested to have 0 skid
# 3 - SAMPLE_IP must have 0 skid
#precise_ip = 0 # Disable Intel PEBS
precise_ip = 1 # Enable Intel PEBS
Created
October 13, 2013 09:45
-
-
Save cztchoice/6960338 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment