Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f61390da authored by Tej Singh's avatar Tej Singh Committed by android-build-merger
Browse files

Merge "stats_event_list changes for statsd mainline api" am: f95468d3

am: 930d0405

Change-Id: I57b8bb3a2281c635a495cfd5d34afb5cb9f7596b
parents 6d9d4119 930d0405
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
#define ANDROID_STATS_LOG_STATS_EVENT_LIST_H

#include <log/log_event_list.h>
#include <sys/uio.h>

#ifdef __cplusplus
extern "C" {
@@ -27,6 +28,8 @@ int write_to_logger(android_log_context context, log_id_t id);
void note_log_drop(int error);
void stats_log_close();
int android_log_write_char_array(android_log_context ctx, const char* value, size_t len);
extern int (*write_to_statsd)(struct iovec* vec, size_t nr);

#ifdef __cplusplus
}
#endif
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ typedef struct {
extern struct android_log_transport_write statsdLoggerWrite;

static int __write_to_statsd_init(struct iovec* vec, size_t nr);
static int (*write_to_statsd)(struct iovec* vec, size_t nr) = __write_to_statsd_init;
int (*write_to_statsd)(struct iovec* vec, size_t nr) = __write_to_statsd_init;

// Similar to create_android_logger(), but instead of allocation a new buffer,
// this function resets the buffer for resuse.