projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: format string mismatch
[lttng-tools.git]
/
src
/
common
/
kernel-consumer
/
kernel-consumer.c
diff --git
a/src/common/kernel-consumer/kernel-consumer.c
b/src/common/kernel-consumer/kernel-consumer.c
index a94749635246a04f195cf7c0ff577ec9abae3dd1..3086abefa2b88cb2abfc5632fafd54cd58946e21 100644
(file)
--- a/
src/common/kernel-consumer/kernel-consumer.c
+++ b/
src/common/kernel-consumer/kernel-consumer.c
@@
-118,13
+118,13
@@
int lttng_kconsumer_snapshot_channel(uint64_t key, char *path,
struct lttng_consumer_channel *channel;
struct lttng_consumer_stream *stream;
struct lttng_consumer_channel *channel;
struct lttng_consumer_stream *stream;
- DBG("Kernel consumer snapshot channel %
lu"
, key);
+ DBG("Kernel consumer snapshot channel %
" PRIu64
, key);
rcu_read_lock();
channel = consumer_find_channel(key);
if (!channel) {
rcu_read_lock();
channel = consumer_find_channel(key);
if (!channel) {
- ERR("No channel found for key %
lu"
, key);
+ ERR("No channel found for key %
" PRIu64
, key);
ret = -1;
goto end;
}
ret = -1;
goto end;
}
@@
-167,8
+167,8
@@
int lttng_kconsumer_snapshot_channel(uint64_t key, char *path,
stream->out_fd = ret;
stream->tracefile_size_current = 0;
stream->out_fd = ret;
stream->tracefile_size_current = 0;
- DBG("Kernel consumer snapshot stream %s/%s (%
lu)", path
,
- stream->name, stream->key);
+ DBG("Kernel consumer snapshot stream %s/%s (%
" PRIu64 ")"
,
+
path,
stream->name, stream->key);
}
ret = kernctl_buffer_flush(stream->wait_fd);
}
ret = kernctl_buffer_flush(stream->wait_fd);
@@
-356,7
+356,7
@@
int lttng_kconsumer_snapshot_metadata(uint64_t key, char *path,
ret_read = lttng_kconsumer_read_subbuffer(metadata_stream, ctx);
if (ret_read < 0) {
if (ret_read != -EPERM) {
ret_read = lttng_kconsumer_read_subbuffer(metadata_stream, ctx);
if (ret_read < 0) {
if (ret_read != -EPERM) {
- ERR("Kernel snapshot reading metadata subbuffer (ret: %
l
d)",
+ ERR("Kernel snapshot reading metadata subbuffer (ret: %
z
d)",
ret_read);
goto error;
}
ret_read);
goto error;
}
This page took
0.023731 seconds
and
4
git commands to generate.