projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: statedump: invalid read during iter_end
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-cpu-id.c
diff --git
a/src/lib/lttng-ust/lttng-context-cpu-id.c
b/src/lib/lttng-ust/lttng-context-cpu-id.c
index 0b87bd3c2455632c3a9b86c6134a8a38addf730f..554e2c9b26fb5e5d18bd05602db50c3a884ad29d 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-cpu-id.c
+++ b/
src/lib/lttng-ust/lttng-context-cpu-id.c
@@
-19,13
+19,15
@@
#include <limits.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
#include <limits.h>
#include <lttng/ust-events.h>
#include <lttng/ust-tracer.h>
-#include "lib/lttng-ust/getcpu.h"
#include <lttng/ust-ringbuffer-context.h>
#include <lttng/ust-ringbuffer-context.h>
+#include "common/getcpu.h"
+
#include "context-internal.h"
static
size_t cpu_id_get_size(void *priv __attribute__((unused)),
#include "context-internal.h"
static
size_t cpu_id_get_size(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
size_t offset)
{
size_t size = 0;
size_t offset)
{
size_t size = 0;
@@
-37,8
+39,9
@@
size_t cpu_id_get_size(void *priv __attribute__((unused)),
static
void cpu_id_record(void *priv __attribute__((unused)),
static
void cpu_id_record(void *priv __attribute__((unused)),
- struct lttng_ust_ring_buffer_ctx *ctx,
- struct lttng_ust_channel_buffer *chan)
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
+ struct lttng_ust_ring_buffer_ctx *ctx,
+ struct lttng_ust_channel_buffer *chan)
{
int cpu;
{
int cpu;
@@
-48,6
+51,7
@@
void cpu_id_record(void *priv __attribute__((unused)),
static
void cpu_id_get_value(void *priv __attribute__((unused)),
static
void cpu_id_get_value(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
struct lttng_ust_ctx_value *value)
{
value->u.s64 = lttng_ust_get_cpu();
struct lttng_ust_ctx_value *value)
{
value->u.s64 = lttng_ust_get_cpu();
This page took
0.023902 seconds
and
4
git commands to generate.