tprof_info
tprof_getinfo(struct tprof_info *info)
#define TPROF_IOC_GETINFO _IOR('T', 1, struct tprof_info)
switch (tprof_info.ti_ident) {
ret = ioctl(devfd, TPROF_IOC_GETINFO, &tprof_info);
if (tprof_info.ti_version != TPROF_VERSION) {
tprof_info.ti_version, TPROF_VERSION);
if (tprof_event_init(tprof_info.ti_ident) == -1) {
struct tprof_info tprof_info;
extern struct tprof_info tprof_info;