pmc_process
amd_switch_in(struct pmc_cpu *pc __pmcdbg_used, struct pmc_process *pp)
struct pmc_process *pp __pmcdbg_used)
intel_switch_in(struct pmc_cpu *pc, struct pmc_process *pp)
intel_switch_out(struct pmc_cpu *pc, struct pmc_process *pp)
pmclog_process_proccsw(struct pmc *pm, struct pmc_process *pp, pmc_value_t v, struct thread *td)
pmclog_process_procexit(struct pmc *pm, struct pmc_process *pp)
struct pmc_process *pp;
struct pmc_process *pp;
struct pmc_process *pp;
struct pmc_process *pp;
static LIST_HEAD(pmc_processhash, pmc_process) *pmc_processhash;
struct pmc_process *pp;
struct pmc_process *pmc;
struct pmc_process *pmc;
const struct pmc_process *pp;
const struct pmc_process *pp;
struct pmc_process *pp);
static void pmc_destroy_process_descriptor(struct pmc_process *pp);
static struct pmc_process *pmc_find_process_descriptor(struct proc *p,
static struct pmc_thread *pmc_find_thread_descriptor(struct pmc_process *pp,
struct pmc_process *pp);
pmc_find_thread_descriptor(struct pmc_process *pp, struct thread *td,
pmc_add_thread_descriptors_from_proc(struct proc *p, struct pmc_process *pp)
static struct pmc_process *
struct pmc_process *pp, *ppnew;
ppnew = malloc(sizeof(struct pmc_process) + md->pmd_npmc *
pmc_remove_process_descriptor(struct pmc_process *pp)
pmc_destroy_process_descriptor(struct pmc_process *pp)
static void pmc_remove_process_descriptor(struct pmc_process *pp);
struct pmc_process *pp);
static int generic_switch_in(struct pmc_cpu *pc, struct pmc_process *pp);
struct pmc_process *pp;
static int generic_switch_out(struct pmc_cpu *pc, struct pmc_process *pp);
struct pmc_process *pp;
struct pmc_process *pp;
struct pmc_process *pp;
struct pmc_process *ppnew, *ppold;
generic_switch_in(struct pmc_cpu *pc __unused, struct pmc_process *pp __unused)
generic_switch_out(struct pmc_cpu *pc __unused, struct pmc_process *pp __unused)
struct pmc_process *pp;
pmc_link_target_process(struct pmc *pm, struct pmc_process *pp)
pmc_unlink_target_process(struct pmc *pm, struct pmc_process *pp)
int (*pmd_switch_in)(struct pmc_cpu *_p, struct pmc_process *_pp);
int (*pmd_switch_out)(struct pmc_cpu *_p, struct pmc_process *_pp);
struct pmc_process *pt_process; /* target descriptor */
LIST_ENTRY(pmc_process) pp_next; /* hash chain */
void pmclog_process_proccsw(struct pmc *_pm, struct pmc_process *_pp,
void pmclog_process_procexit(struct pmc *_pm, struct pmc_process *_pp);