Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
xenomai
Commits
18933674
Commit
18933674
authored
Jul 01, 2017
by
Philippe Gerum
Browse files
cobalt: fix deprecated vsprintf format specifier
parent
992dbdfc
Changes
3
Hide whitespace changes
Inline
Side-by-side
kernel/cobalt/heap.c
View file @
18933674
...
...
@@ -114,7 +114,7 @@ static int vfile_show(struct xnvfile_snapshot_iterator *it, void *data)
xnvfile_printf
(
it
,
"%9s %9s %s
\n
"
,
"TOTAL"
,
"FREE"
,
"NAME"
);
else
xnvfile_printf
(
it
,
"%9
Z
u %9
Z
u %s
\n
"
,
xnvfile_printf
(
it
,
"%9
z
u %9
z
u %s
\n
"
,
p
->
all_mem
,
p
->
free_mem
,
p
->
name
);
...
...
kernel/cobalt/trace/cobalt-posix.h
View file @
18933674
...
...
@@ -370,7 +370,7 @@ TRACE_EVENT(cobalt_sched_setconfig,
__entry
->
policy
=
policy
;
__entry
->
len
=
len
;
),
TP_printk
(
"cpu=%d policy=%d(%s) len=%
Z
u"
,
TP_printk
(
"cpu=%d policy=%d(%s) len=%
z
u"
,
__entry
->
cpu
,
__entry
->
policy
,
cobalt_print_sched_policy
(
__entry
->
policy
),
__entry
->
len
)
...
...
@@ -882,7 +882,7 @@ TRACE_EVENT(cobalt_mq_send,
__entry
->
len
=
len
;
__entry
->
prio
=
prio
;
),
TP_printk
(
"mqd=%d buf=%p len=%
Z
u prio=%u"
,
TP_printk
(
"mqd=%d buf=%p len=%
z
u prio=%u"
,
__entry
->
mqd
,
__entry
->
u_buf
,
__entry
->
len
,
__entry
->
prio
)
);
...
...
@@ -903,7 +903,7 @@ TRACE_EVENT(cobalt_mq_timedreceive,
__entry
->
len
=
len
;
__assign_timespec
(
timeout
,
timeout
);
),
TP_printk
(
"mqd=%d buf=%p len=%
Z
u timeout=(%ld.%09ld)"
,
TP_printk
(
"mqd=%d buf=%p len=%
z
u timeout=(%ld.%09ld)"
,
__entry
->
mqd
,
__entry
->
u_buf
,
__entry
->
len
,
__timespec_args
(
timeout
))
);
...
...
@@ -921,7 +921,7 @@ TRACE_EVENT(cobalt_mq_receive,
__entry
->
u_buf
=
u_buf
;
__entry
->
len
=
len
;
),
TP_printk
(
"mqd=%d buf=%p len=%
Z
u"
,
TP_printk
(
"mqd=%d buf=%p len=%
z
u"
,
__entry
->
mqd
,
__entry
->
u_buf
,
__entry
->
len
)
);
...
...
kernel/cobalt/trace/cobalt-rtdm.h
View file @
18933674
...
...
@@ -320,7 +320,7 @@ TRACE_EVENT(cobalt_fd_mmap,
__entry
->
flags
=
rma
->
flags
;
),
TP_printk
(
"device=%p fd=%d area={ len:%
Z
u, off:%Lu }"
TP_printk
(
"device=%p fd=%d area={ len:%
z
u, off:%Lu }"
" prot=%#x(%s) flags=%#x(%s) pid=%d comm=%s"
,
__entry
->
dev
,
__entry
->
ufd
,
__entry
->
length
,
(
unsigned
long
long
)
__entry
->
offset
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment