From 44c781a1eb15ab73a8e02b89024e1c24cbf0e29c Mon Sep 17 00:00:00 2001 From: Steve Kay Date: Tue, 7 Apr 2015 14:12:05 -0700 Subject: [PATCH] Added new activity for FC collection. --- sa.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sa.h b/sa.h index f46ce82..e506ba8 100644 --- a/sa.h +++ b/sa.h @@ -20,10 +20,10 @@ */ /* Number of activities */ -#define NR_ACT 37 +#define NR_ACT 38 /* Number of functions used to count items */ -#define NR_F_COUNT 10 +#define NR_F_COUNT 11 /* Activities */ #define A_CPU 1 @@ -63,6 +63,7 @@ #define A_PWR_WGHFREQ 35 #define A_PWR_USB 36 #define A_FILESYSTEM 37 +#define A_FC 38 /* Macro used to flag an activity that should be collected */ @@ -762,6 +763,8 @@ extern __nr_t wrap_get_usb_nr(struct activity *); extern __nr_t wrap_get_filesystem_nr(struct activity *); +extern __nr_t + wrap_get_hba_nr(struct activity *); /* Functions used to read activities statistics */ extern __read_funct_t @@ -838,6 +841,8 @@ extern __read_funct_t wrap_read_bus_usb_dev(struct activity *); extern __read_funct_t wrap_read_filesystem(struct activity *); +extern __read_funct_t + wrap_read_hba(struct activity *); /* Other functions */ extern void -- 2.49.0