aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorStephane Eranian <[email protected]>2013-11-12 17:58:48 +0100
committerIngo Molnar <[email protected]>2013-11-27 11:16:38 +0100
commit71ad88efebbcde374bddf904b96f3a7fc82d45d4 (patch)
treed6bb2d225ad6dfc1e70fe1c1f5686d8c4228b09f /lib/string_helpers.c
parent09897d78dbc3a544426f2272b5601c62922ccab9 (diff)
perf: Add active_entry list head to struct perf_event
This patch adds a new field to the struct perf_event. It is intended to be used to chain events which are active (enabled). It helps in the hardware layer for PMUs which do not have actual counter restrictions, i.e., free running read-only counters. Active events are chained as opposed to being tracked via the counter they use. To save space we use a union with hlist_entry as both are mutually exclusive (suggested by Jiri Olsa). Signed-off-by: Stephane Eranian <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions