ALL_RULES	= swap_low exhausted oom_kill

LOCAL_RULES = swap_low exhausted

# Out-of-memory killer is Linux specific
#
# rule: oom_kill
#   mem.vmstat.oom_kill -12357 Unknown metric name
ifeq ($(TARGET_OS), linux)
LOCAL_RULES += oom_kill
endif

# Metrics missing from Mac OS X
#
# rule: swap_low
#   swap.free -12357 Unknown metric name
#   swap.length -12357 Unknown metric name
#
# rule: exhausted
#   swap.pagesout -12357 Unknown metric name
#
ifeq ($(TARGET_OS), darwin)
LOCAL_RULES =
endif

# Metrics missing from Solaris
#
# rule: exhausted
#   swap.pagesout -12357 Unknown metric name
#
# rule: swap_low
#   swap.free -12357 Unknown metric name
#   swap.length -12357 Unknown metric name
#
ifeq ($(TARGET_OS), solaris)
LOCAL_RULES =
endif
