/**
* collectd - src/utils_config_cores.h
*
- * Copyright(c) 2017 Intel Corporation. All rights reserved.
+ * Copyright(c) 2018 Intel Corporation. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
#ifndef UTILS_CONFIG_CORES_H
#define UTILS_CONFIG_CORES_H 1
+#include "configfile.h"
+
+#ifndef PRIsz
+#define PRIsz "zu"
+#endif /* PRIsz */
+
struct core_group_s {
char *desc;
- unsigned *cores;
+ unsigned int *cores;
size_t num_cores;
};
typedef struct core_group_s core_group_t;
const core_group_t *cg_b);
#endif /* UTILS_CONFIG_CORES_H */
-