projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ext4 update instrumentation to 3.15 kernel
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
sock.h
diff --git
a/instrumentation/events/lttng-module/sock.h
b/instrumentation/events/lttng-module/sock.h
index c4e689ade85eeafec214a429b3f1dd93a8f49ea4..3e3dbc72e804b3e910da8af3850e0c67a326543a 100644
(file)
--- a/
instrumentation/events/lttng-module/sock.h
+++ b/
instrumentation/events/lttng-module/sock.h
@@
-37,7
+37,7
@@
TRACE_EVENT(sock_exceed_buf_limit,
TP_STRUCT__entry(
__string(name, prot->name)
TP_STRUCT__entry(
__string(name, prot->name)
- __
field(long *, sysctl_mem
)
+ __
array(long, sysctl_mem, 3
)
__field(long, allocated)
__field(int, sysctl_rmem)
__field(int, rmem_alloc)
__field(long, allocated)
__field(int, sysctl_rmem)
__field(int, rmem_alloc)
@@
-45,10
+45,10
@@
TRACE_EVENT(sock_exceed_buf_limit,
TP_fast_assign(
tp_strcpy(name, prot->name)
TP_fast_assign(
tp_strcpy(name, prot->name)
- tp_
assign(sysctl_mem, prot->sysctl_mem
)
+ tp_
memcpy(sysctl_mem, prot->sysctl_mem, 3 * sizeof(long)
)
tp_assign(allocated, allocated)
tp_assign(sysctl_rmem, prot->sysctl_rmem[0])
tp_assign(allocated, allocated)
tp_assign(sysctl_rmem, prot->sysctl_rmem[0])
- tp_assign(rmem_alloc, atomic_read(&sk->sk_rmem_alloc))
;
+ tp_assign(rmem_alloc, atomic_read(&sk->sk_rmem_alloc))
),
TP_printk("proto:%s sysctl_mem=%ld,%ld,%ld allocated=%ld "
),
TP_printk("proto:%s sysctl_mem=%ld,%ld,%ld allocated=%ld "
This page took
0.024146 seconds
and
4
git commands to generate.