aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2011-07-13 20:58:18 +0000
committerIngo Molnar <[email protected]>2011-07-21 07:54:51 +0000
commit0111919da268e1ced315e009ad0d0435a2fb32ac (patch)
tree41a9f36b810820df712b6cb5e1c222891b2f972c /net/lapb/lapb_iface.c
parentMerge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadkernel-0111919da268e1ced315e009ad0d0435a2fb32ac.tar.gz
kernel-0111919da268e1ced315e009ad0d0435a2fb32ac.zip
perf tools: Add missing 'node' alias to the hw_cache[] array
Add "node" as a simple alias for NODE cache events. The addition of NODE cache events broke the parse_alias function, so any mismatched event caused the segfault, like: # ./perf stat -e krava ls The hw_cache/hw_cache_op/hw_cache_result arrays needs to follow PERF_COUNT_HW_CACHE_*MAX enums. Adding those MAXs to be size of those arrays, so possible ommision in future wil not lead to segfault. Adding read/write/prefetch as allowed operations for node cache event. Signed-off-by: Jiri Olsa <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions