SDT's struct sdt_argtype can be marked static everywhere.
It is only passed to SYSINIT/SYSUNINIT.
This commit is contained in:
parent
d745c852be
commit
1063f9291e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227294
@ -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…
Reference in New Issue
Block a user