Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/hwpmc/hwpmc_mod.c
| Show First 20 Lines • Show All 722 Lines • ▼ Show 20 Lines | |||||
| */ | */ | ||||
| static void | static void | ||||
| pmc_getfilename(struct vnode *v, char **fullpath, char **freepath) | pmc_getfilename(struct vnode *v, char **fullpath, char **freepath) | ||||
| { | { | ||||
| *fullpath = "unknown"; | *fullpath = "unknown"; | ||||
| *freepath = NULL; | *freepath = NULL; | ||||
| vn_fullpath(curthread, v, fullpath, freepath); | vn_fullpath(curthread, v, 0, fullpath, freepath); | ||||
| } | } | ||||
| /* | /* | ||||
| * remove an process owning PMCs | * remove an process owning PMCs | ||||
| */ | */ | ||||
| void | void | ||||
| pmc_remove_owner(struct pmc_owner *po) | pmc_remove_owner(struct pmc_owner *po) | ||||
| ▲ Show 20 Lines • Show All 4,386 Lines • Show Last 20 Lines | |||||