def softirq_entry(payload): """Parser for `softirq_entry` tracepoint""" try: match = re.match(softirq_entry_pattern, payload) if match: match_group_dict = match.groupdict() return SoftIRQEntry(**match_group_dict) except Exception, e: raise ParserError(e.message)
def f2fs_write_begin(payload): """Parser for `f2fs_write_begin` tracepoint""" try: match = re.match(f2fs_write_begin_pattern, payload) if match: match_group_dict = match.groupdict() return F2FSWriteBegin(**match_group_dict) except Exception, e: raise ParserError(e.message)
def workqueue_queue_work(payload): """Parser for `workqueue_queue_work` tracepoint""" try: match = re.match(workqueue_queue_work_pattern, payload) if match: match_group_dict = match.groupdict() return WorkqueueQueueWork(**match_group_dict) except Exception, e: raise ParserError(e.message)
def sched_task_load_contrib(payload): """Parser for `sched_task_load_contrib` tracepoint""" try: match = re.match(sched_task_load_contrib_pattern, payload) if match: match_group_dict = match.groupdict() return SchedTaskLoadContrib(**match_group_dict) except Exception, e: raise ParserError(e.message)
def kgsl_bus(payload): """Parser for `kgsl_bus` tracepoint""" try: match = re.match(kgsl_bus_pattern, payload) if match: match_group_dict = match.groupdict() return KgslBus(**match_group_dict) except Exception, e: raise ParserError(e.message)
def cpu_idle_enter(payload): """Parser for `cpu_idle_enter` tracepoint""" try: match = re.match(cpu_idle_enter_pattern, payload) if match: match_group_dict = match.groupdict() return CpuIdleEnter(**match_group_dict) except Exception, e: raise ParserError(e.message)
def sched_wakeup(payload): """Parser for `sched_wakeup` tracepoint""" try: match = re.match(sched_wakeup_pattern, payload) if match: match_group_dict = match.groupdict() return SchedWakeup(**match_group_dict) except Exception, e: raise ParserError(e.message)
def cpu_capacity(payload): """Parser for `cpu_capacity` tracepoint""" try: match = re.match(cpu_capacity_pattern, payload) if match: match_group_dict = match.groupdict() return CpuCapacity(**match_group_dict) except Exception, e: raise ParserError(e.message)
def mali_pm_status(payload): """Parser for `mali_pm_status` tracepoint""" try: match = re.match(mali_pm_status_pattern, payload) if match: match_group_dict = match.groupdict() return MaliPMStatus(**match_group_dict) except Exception, e: raise ParserError(e.message)
def clock_disable(payload): """Parser for `clock_disable` tracepoint""" try: match = re.match(clock_disable_pattern, payload) if match: match_group_dict = match.groupdict() return ClockDisable(**match_group_dict) except Exception, e: raise ParserError(e.message)
def sched_rq_nr_running(payratio): """Parser for `sched_rq_nr_running` tracepoint""" try: match = re.match(sched_rq_nr_running_pattern, payratio) if match: match_group_dict = match.groupdict() return SchedRqNrRunning(**match_group_dict) except Exception, e: raise ParserError(e.message)
def sched_migrate_task(payload): """Parser for `sched_migrate_task` tracepoint""" try: match = re.match(sched_migrate_pattern, payload) if match: match_group_dict = match.groupdict() return SchedMigrateTask(**match_group_dict) except Exception, e: raise ParserError(e.message)
def mali_job_slots_event(payload): """Parser for `mali_job_slots_event` tracepoint""" try: match = re.match(mali_job_slots_event_pattern, payload) if match: match_group_dict = match.groupdict() return MaliJobSlotsEvent(**match_group_dict) except Exception, e: raise ParserError(e.message)
def cpufreq_sched_request_opp(payload): """Parser for `cpufreq_sched_request_opp` tracepoint""" try: match = re.match(cpufreq_sched_request_opp_pattern, payload) if match: match_group_dict = match.groupdict() return CpufreqSchedRequestOpp(**match_group_dict) except Exception, e: raise ParserError(e.message)
def cpufreq_interactive_target(payload): """Parser for `cpufreq_interactive_target` tracepoint""" try: match = re.match(cpufreq_interactive_target_pattern, payload) if match: match_group_dict = match.groupdict() return CPUFreqInteractiveTarget(**match_group_dict) except Exception, e: raise ParserError(e.message)
def binder_transaction_received(payload): """Parser for `binder_transaction_received`""" try: match = re.match(binder_transaction_received_pattern, payload) if match: match_group_dict = match.groupdict() return BinderTransactionReceived(int(match.group(1))) except Exception as e: raise ParserError(e.message)
def sync_pt(payload): """Parser for `sync_pt` tracepoint""" try: match = re.match(sync_pt_pattern, payload) if match: match_group_dict = match.groupdict() return SyncPT(**match_group_dict) except Exception, e: raise ParserError(e.message)
def cpu_frequency_switch_end(payload): """Parser for `cpu_frequency_switch_end` tracepoint""" try: match = re.match(cpu_frequency_switch_end_pattern, payload) if match: match_group_dict = match.groupdict() return CpuFrequencySwitchEnd(**match_group_dict) except Exception, e: raise ParserError(e.message)
def binder_read_done(payload): """Parser for `binder_read_done`""" try: match = re.match(binder_read_done_pattern, payload) if match: match_group_dict = match.groupdict() return BinderReadDone(int(match.group(1))) except Exception as e: raise ParserError(e.message)
def tsens_read(payload): """Parser for `tsens_read` tracepoint""" try: match = re.match(tsens_read_pattern, payload) if match: match_group_dict = match.groupdict() return TsensRead(**match_group_dict) except Exception, e: raise ParserError(e.message)
def sched_rq_runnable_load(payload): """Parser for `sched_rq_runnable_load` tracepoint""" try: match = re.match(sched_rq_runnable_load_pattern, payload) if match: match_group_dict = match.groupdict() return SchedRQRunnableLoad(**match_group_dict) except Exception, e: raise ParserError(e.message)
def mali_pm_power_on(payload): """Parser for `mali_pm_power_on` tracepoint""" try: match = re.match(mali_pm_power_on_pattern, payload) if match: match_group_dict = match.groupdict() return MaliPMPowerOn(**match_group_dict) except Exception, e: raise ParserError(e.message)
def tsens_threshold_hit(payload): """Parser for `tsens_threshold_hit` tracepoint""" try: match = re.match(tsens_threshold_hit_pattern, payload) if match: match_group_dict = match.groupdict() return TsensThresholdHit(**match_group_dict) except Exception, e: raise ParserError(e.message)
def ext4_sync_file_enter(payload): """Parser for `ext4_sync_file_enter` tracepoint""" try: match = re.match(ext4_sync_file_enter_pattern, payload) if match: match_group_dict = match.groupdict() return Ext4SyncFileEnter(**match_group_dict) except Exception, e: raise ParserError(e.message)
def cluster_exit(payload): """Parser for `cluster_exit` tracepoint""" try: match = re.match(cluster_exit_pattern, payload) if match: match_group_dict = match.groupdict() return ClusterExit(**match_group_dict) except Exception, e: raise ParserError(e.message)
def bus_update_request(payload): """Parser for `bus_update_request` tracepoint""" try: match = re.match(bus_update_request_pattern, payload) if match: match_group_dict = match.groupdict() return BusUpdateRequest(**match_group_dict) except Exception, e: raise ParserError(e.message)
def binder_unlock(payload): """Parser for `binder_unlock`""" try: match = re.match(binder_unlock_pattern, payload) if match: match_group_dict = match.groupdict() return BinderUnlock(match.group(1)) except Exception as e: raise ParserError(e.message)
def sched_task_runnable_ratio(payload): """Parser for `sched_task_runnable_ratio` tracepoint""" try: match = re.match(sched_task_runnable_ratio_pattern, payload) if match: match_group_dict = match.groupdict() return SchedTaskRunnableRatio(**match_group_dict) except Exception, e: raise ParserError(e.message)
def sched_load_avg_cpu(payload): """Parser for `sched_load_avg_cpu` tracepoint""" try: match = re.match(sched_load_avg_cpu_pattern, payload) if match: match_group_dict = match.groupdict() return SchedLoadAvgCpu(**match_group_dict) except Exception, e: raise ParserError(e.message)
def binder_transaction_buffer_release(payload): """Parser for `binder_transaction_buffer_release`""" try: match = re.match(binder_transaction_buffer_release_pattern, payload) if match: match_group_dict = match.groupdict() return BinderTransactionBufferRelease(int(match.group(1)), int(match.group(2)), int(match.group(3))) except Exception as e: raise ParserError(e.message)