Lines Matching defs:actionid
84 unsigned actionid )
148 if( actionid
149 && (actionid <= actionc) )
150 userdata = actionv[actionid-1].userdata;
152 userdata = actionid;
160 actionid, userdata, sample_flags );
205 /* Translate actionid into sample bits and take a sample */
209 unsigned actionid, unsigned sample_flags )
215 if( (actionid > actionc) || (actionid == 0) )
221 pid_filter = actionv[actionid-1].pid_filter;
227 sample_what = actionv[actionid-1].sample;
231 sample_flags, actionid );
443 kperf_action_set_samplers( unsigned actionid, uint32_t samplers )
445 if( (actionid > actionc) || (actionid == 0) )
448 actionv[actionid-1].sample = samplers;
454 kperf_action_get_samplers( unsigned actionid, uint32_t *samplers_out )
456 if( (actionid > actionc) )
459 if( actionid == 0 )
462 *samplers_out = actionv[actionid-1].sample;
468 kperf_action_set_userdata( unsigned actionid, uint32_t userdata )
470 if( (actionid > actionc) || (actionid == 0) )
473 actionv[actionid-1].userdata = userdata;
479 kperf_action_get_userdata( unsigned actionid, uint32_t *userdata_out )
481 if( (actionid > actionc) )
484 if( actionid == 0 )
487 *userdata_out = actionv[actionid-1].userdata;
493 kperf_action_set_filter( unsigned actionid,
496 if( (actionid > actionc) || (actionid == 0) )
499 actionv[actionid-1].pid_filter = pid;
505 kperf_action_get_filter( unsigned actionid,
508 if( (actionid > actionc) )
511 if( actionid == 0 )
514 *pid_out = actionv[actionid-1].pid_filter;