Collecting information from sysfs about cpu events

$sudo cat /sys/devices/cpu/events/cache-misses 
event=0x81
$sudo cat /sys/devices/cpu/type 
4
$sudo cat /sys/devices/cpu/events/branch-instructions 
event=0xc2
$sudo cat /sys/devices/cpu/events/branch-instructions 
event=0xc2
$sudo cat /sys/devices/cpu/events/branch-instructions 
event=0xc2
$sudo cat /sys/devices/cpu/events/branch-instructions 
event=0xc2
$sudo cat /sys/devices/cpu/events/branch-misses 
event=0xc3
$sudo cat /sys/devices/cpu/events/branch-misses 
event=0xc3
$sudo cat /sys/devices/cpu/events/cache-references 
event=0x80
$sudo cat /sys/devices/cpu/events/cpu-cycles 
event=0x76
$sudo cat /sys/devices/cpu/events/instructions 
event=0xc0
$