SDT's struct sdt_argtype can be marked static everywhere.
It is only passed to SYSINIT/SYSUNINIT.
This commit is contained in:
parent
e97eae1577
commit
1b8d577138
@ -190,7 +190,7 @@ struct sdt_provider {
|
||||
(uintptr_t) arg3, (uintptr_t) arg4)
|
||||
|
||||
#define SDT_PROBE_ARGTYPE(prov, mod, func, name, num, type) \
|
||||
struct sdt_argtype sdt_##prov##_##mod##_##func##_##name##num[1] \
|
||||
static struct sdt_argtype sdt_##prov##_##mod##_##func##_##name##num[1] \
|
||||
= { { num, type, { NULL, NULL }, \
|
||||
sdt_##prov##_##mod##_##func##_##name } \
|
||||
}; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user