Lines Matching refs:pkgs
1805 struct __event_package *pkgs;
1807 pkgs = zalloc(sizeof(struct __event_package) * npevs);
1808 if (pkgs == NULL)
1814 free(pkgs);
1820 pkgs[i].pev = &pevs[i];
1822 ret = convert_to_probe_trace_events(pkgs[i].pev,
1823 &pkgs[i].tevs,
1828 pkgs[i].ntevs = ret;
1833 ret = __add_probe_trace_events(pkgs[i].pev, pkgs[i].tevs,
1834 pkgs[i].ntevs, force_add);
1841 for (j = 0; j < pkgs[i].ntevs; j++)
1842 clear_probe_trace_event(&pkgs[i].tevs[j]);
1843 free(pkgs[i].tevs);
1845 free(pkgs);