Fix some typos that were causing probe argument types to show up as unknown.

Reviewed by:	rwatson (mac provider)
Approved by:	re (glebius)
MFC after:	1 week
This commit is contained in:
Mark Johnston 2013-10-01 15:40:27 +00:00
parent ef7a7bb8ab
commit 92c6196caa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255971
6 changed files with 6 additions and 6 deletions

View File

@ -119,7 +119,7 @@ LIN_SDT_PROBE_DEFINE1(futex, futex_sleep, return, "int");
LIN_SDT_PROBE_DEFINE3(futex, futex_wake, entry, "struct futex *", "int",
"uint32_t");
LIN_SDT_PROBE_DEFINE3(futex, futex_wake, iterate, "uint32_t",
"struct waiting_proc *", "uin32_t");
"struct waiting_proc *", "uint32_t");
LIN_SDT_PROBE_DEFINE1(futex, futex_wake, wakeup, "struct waiting_proc *");
LIN_SDT_PROBE_DEFINE1(futex, futex_wake, return, "int");
LIN_SDT_PROBE_DEFINE4(futex, futex_requeue, entry, "struct futex *", "int",

View File

@ -87,7 +87,7 @@ LIN_SDT_PROBE_DEFINE1(uid16, linux_setgid16, entry, "l_gid16_t");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setgid16, return, "int");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setuid16, entry, "l_uid16_t");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setuid16, return, "int");
LIN_SDT_PROBE_DEFINE2(uid16, linux_setregid16, entry, "l_git16_t", "l_git16_t");
LIN_SDT_PROBE_DEFINE2(uid16, linux_setregid16, entry, "l_gid16_t", "l_gid16_t");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setregid16, return, "int");
LIN_SDT_PROBE_DEFINE2(uid16, linux_setreuid16, entry, "l_uid16_t", "l_uid16_t");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setreuid16, return, "int");

View File

@ -95,7 +95,7 @@ SDT_PROVIDER_DEFINE(mac);
SDT_PROVIDER_DEFINE(mac_framework);
SDT_PROBE_DEFINE2(mac, kernel, policy, modevent, modevent, "int",
"struct mac_policy_conf *mpc");
"struct mac_policy_conf *");
SDT_PROBE_DEFINE1(mac, kernel, policy, register, register,
"struct mac_policy_conf *");
SDT_PROBE_DEFINE1(mac, kernel, policy, unregister, unregister,

View File

@ -119,7 +119,7 @@ SDT_PROVIDER_DECLARE(mac_framework); /* Entry points to MAC. */
SDT_PROBE_DEFINE3(mac_framework, kernel, name, mac_grant_err, \
mac-grant-err, "int", arg0, arg1); \
SDT_PROBE_DEFINE3(mac_framework, kernel, name, mac_grant_ok, \
mac-grant-ok, "INT", arg0, arg1);
mac-grant-ok, "int", arg0, arg1);
#define MAC_GRANT_PROBE2(name, error, arg0, arg1) do { \
if (error) { \

View File

@ -133,7 +133,7 @@ mac_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, int prot,
}
MAC_CHECK_PROBE_DEFINE3(posixshm_check_open, "struct ucred *",
"struct shmfd *", "accmode_t accmode");
"struct shmfd *", "accmode_t");
int
mac_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd,

View File

@ -783,7 +783,7 @@ mac_vnode_check_revoke(struct ucred *cred, struct vnode *vp)
}
MAC_CHECK_PROBE_DEFINE4(vnode_check_setacl, "struct ucred *",
"struct vnode *", "acl_tpe_t", "struct acl *");
"struct vnode *", "acl_type_t", "struct acl *");
int
mac_vnode_check_setacl(struct ucred *cred, struct vnode *vp, acl_type_t type,