Lines Matching refs:pss_evtconfig
549 static int telemetry_setup_evtconfig(struct telemetry_evtconfig pss_evtconfig, in telemetry_setup_evtconfig() argument
562 ret = telemetry_check_evtid(TELEM_PSS, pss_evtconfig.evtmap, in telemetry_setup_evtconfig()
563 pss_evtconfig.num_evts, action); in telemetry_setup_evtconfig()
578 if (pss_evtconfig.num_evts) { in telemetry_setup_evtconfig()
579 ret = telemetry_setup_pssevtconfig(pss_evtconfig, action); in telemetry_setup_evtconfig()
596 struct telemetry_evtconfig pss_evtconfig, ioss_evtconfig; in telemetry_setup() local
645 pss_evtconfig.evtmap = NULL; in telemetry_setup()
646 pss_evtconfig.num_evts = TELEM_MAX_OS_ALLOCATED_EVENTS; in telemetry_setup()
647 pss_evtconfig.period = TELEM_SAMPLING_DEFAULT_PERIOD; in telemetry_setup()
653 ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig, in telemetry_setup()
662 static int telemetry_plt_update_events(struct telemetry_evtconfig pss_evtconfig, in telemetry_plt_update_events() argument
667 if ((pss_evtconfig.num_evts > 0) && in telemetry_plt_update_events()
668 (TELEM_SAMPLE_PERIOD_INVALID(pss_evtconfig.period))) { in telemetry_plt_update_events()
679 ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig, in telemetry_plt_update_events()
805 struct telemetry_evtconfig pss_evtconfig, ioss_evtconfig; in telemetry_plt_reset_events() local
808 pss_evtconfig.evtmap = NULL; in telemetry_plt_reset_events()
809 pss_evtconfig.num_evts = TELEM_MAX_OS_ALLOCATED_EVENTS; in telemetry_plt_reset_events()
810 pss_evtconfig.period = TELEM_SAMPLING_DEFAULT_PERIOD; in telemetry_plt_reset_events()
816 ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig, in telemetry_plt_reset_events()
868 struct telemetry_evtconfig pss_evtconfig, ioss_evtconfig; in telemetry_plt_add_events() local
871 pss_evtconfig.evtmap = pss_evtmap; in telemetry_plt_add_events()
872 pss_evtconfig.num_evts = num_pss_evts; in telemetry_plt_add_events()
873 pss_evtconfig.period = telm_conf->pss_config.curr_period; in telemetry_plt_add_events()
879 ret = telemetry_setup_evtconfig(pss_evtconfig, ioss_evtconfig, in telemetry_plt_add_events()