[sysprof] capture: use plural naming for request_counters()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] capture: use plural naming for request_counters()
- Date: Wed, 19 Aug 2020 22:14:58 +0000 (UTC)
commit 7b74c73205b843f0d9ff35db33f344332037fee3
Author: Christian Hergert <chergert redhat com>
Date: Wed Aug 19 15:14:53 2020 -0700
capture: use plural naming for request_counters()
src/libsysprof-capture/sysprof-collector.c | 2 +-
src/libsysprof-capture/sysprof-collector.h | 76 +++++++++++++++---------------
2 files changed, 39 insertions(+), 39 deletions(-)
---
diff --git a/src/libsysprof-capture/sysprof-collector.c b/src/libsysprof-capture/sysprof-collector.c
index 27794328..3476d8bd 100644
--- a/src/libsysprof-capture/sysprof-collector.c
+++ b/src/libsysprof-capture/sysprof-collector.c
@@ -849,7 +849,7 @@ sysprof_collector_set_counters (const unsigned int *counters_ids,
}
unsigned int
-sysprof_collector_request_counter (unsigned int n_counters)
+sysprof_collector_request_counters (unsigned int n_counters)
{
unsigned int ret = 0;
diff --git a/src/libsysprof-capture/sysprof-collector.h b/src/libsysprof-capture/sysprof-collector.h
index 849ac628..6f13a805 100644
--- a/src/libsysprof-capture/sysprof-collector.h
+++ b/src/libsysprof-capture/sysprof-collector.h
@@ -64,54 +64,54 @@
SYSPROF_BEGIN_DECLS
SYSPROF_AVAILABLE_IN_3_36
-void sysprof_collector_init (void);
+void sysprof_collector_init (void);
SYSPROF_AVAILABLE_IN_3_38
-bool sysprof_collector_is_active (void);
+bool sysprof_collector_is_active (void);
SYSPROF_AVAILABLE_IN_3_36
-void sysprof_collector_allocate (SysprofCaptureAddress alloc_addr,
- int64_t alloc_size,
- SysprofBacktraceFunc backtrace_func,
- void *backtrace_data);
+void sysprof_collector_allocate (SysprofCaptureAddress alloc_addr,
+ int64_t alloc_size,
+ SysprofBacktraceFunc backtrace_func,
+ void *backtrace_data);
SYSPROF_AVAILABLE_IN_3_36
-void sysprof_collector_sample (SysprofBacktraceFunc backtrace_func,
- void *backtrace_data);
+void sysprof_collector_sample (SysprofBacktraceFunc backtrace_func,
+ void *backtrace_data);
SYSPROF_AVAILABLE_IN_3_36
-void sysprof_collector_mark (int64_t time,
- int64_t duration,
- const char *group,
- const char *mark,
- const char *message);
+void sysprof_collector_mark (int64_t time,
+ int64_t duration,
+ const char *group,
+ const char *mark,
+ const char *message);
SYSPROF_AVAILABLE_IN_3_38
-void sysprof_collector_mark_printf (int64_t time,
- int64_t duration,
- const char *group,
- const char *mark,
- const char *message_format,
- ...) SYSPROF_PRINTF(5, 6);
+void sysprof_collector_mark_printf (int64_t time,
+ int64_t duration,
+ const char *group,
+ const char *mark,
+ const char *message_format,
+ ...) SYSPROF_PRINTF(5, 6);
SYSPROF_AVAILABLE_IN_3_38
-void sysprof_collector_mark_vprintf (int64_t time,
- int64_t duration,
- const char *group,
- const char *mark,
- const char *message_format,
- va_list args) SYSPROF_PRINTF(5, 0);
+void sysprof_collector_mark_vprintf (int64_t time,
+ int64_t duration,
+ const char *group,
+ const char *mark,
+ const char *message_format,
+ va_list args) SYSPROF_PRINTF(5,
0);
SYSPROF_AVAILABLE_IN_3_36
-void sysprof_collector_log (int severity,
- const char *domain,
- const char *message);
+void sysprof_collector_log (int severity,
+ const char *domain,
+ const char *message);
SYSPROF_AVAILABLE_IN_3_38
-void sysprof_collector_log_printf (int severity,
- const char *domain,
- const char *format,
- ...) SYSPROF_PRINTF (3, 4);
+void sysprof_collector_log_printf (int severity,
+ const char *domain,
+ const char *format,
+ ...) SYSPROF_PRINTF (3, 4);
SYSPROF_AVAILABLE_IN_3_38
-unsigned int sysprof_collector_request_counter (unsigned int n_counters);
+unsigned int sysprof_collector_request_counters (unsigned int n_counters);
SYSPROF_AVAILABLE_IN_3_38
-void sysprof_collector_define_counters (const SysprofCaptureCounter *counters,
- unsigned int n_counters);
+void sysprof_collector_define_counters (const SysprofCaptureCounter *counters,
+ unsigned int n_counters);
SYSPROF_AVAILABLE_IN_3_38
-void sysprof_collector_set_counters (const unsigned int *counters_ids,
- const SysprofCaptureCounterValue *values,
- unsigned int n_counters);
+void sysprof_collector_set_counters (const unsigned int *counters_ids,
+ const SysprofCaptureCounterValue *values,
+ unsigned int n_counters);
SYSPROF_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]