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 type 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..8416bc5a3716fb5400cbeb49ae373858a2137144 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;
}
@@
-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.024393 seconds
and
4
git commands to generate.