Lines Matching defs:pfm_context

286 typedef struct pfm_context {  struct
289 pfm_context_flags_t ctx_flags; /* bitmask of flags (block reason incl.) */ argument
290 unsigned int ctx_state; /* state: active/inactive (no bitfield) */
292 struct task_struct *ctx_task; /* task to which context is attached */
294 unsigned long ctx_ovfl_regs[4]; /* which registers overflowed (notification) */
296 struct completion ctx_restart_done; /* use for blocking notification mode */
298 unsigned long ctx_used_pmds[4]; /* bitmask of PMD used */
299 unsigned long ctx_all_pmds[4]; /* bitmask of all accessible PMDs */
300 unsigned long ctx_reload_pmds[4]; /* bitmask of force reload PMD on ctxsw in */
302 unsigned long ctx_all_pmcs[4]; /* bitmask of all accessible PMCs */
303 unsigned long ctx_reload_pmcs[4]; /* bitmask of force reload PMC on ctxsw in */
304 unsigned long ctx_used_monitors[4]; /* bitmask of monitor PMC being used */
306 unsigned long ctx_pmcs[PFM_NUM_PMC_REGS]; /* saved copies of PMC values */
308 unsigned int ctx_used_ibrs[1]; /* bitmask of used IBR (speedup ctxsw in) */
309 unsigned int ctx_used_dbrs[1]; /* bitmask of used DBR (speedup ctxsw in) */
310 unsigned long ctx_dbrs[IA64_NUM_DBG_REGS]; /* DBR values (cache) when not loaded */
311 unsigned long ctx_ibrs[IA64_NUM_DBG_REGS]; /* IBR values (cache) when not loaded */
313 pfm_counter_t ctx_pmds[PFM_NUM_PMD_REGS]; /* software state for PMDS */
315 unsigned long th_pmcs[PFM_NUM_PMC_REGS]; /* PMC thread save state */
339 } pfm_context_t; argument
347 #define PFM_GET_CTX(t) ((pfm_context_t *)(t)->thread.pfm_context) argument