Exemple #1
0
 def parse(self, data):
     message = 'rpm_transition_queued (master: %s) ' % get_master_name(data[0])
     if data[1] == 0:
         message += '(scheduled: "no")'
     elif data[1]:
         message += '(scheduled: "yes") (deadline: 0x%0.8x%0.8x)' % (data[3], (data[2]))
     return message
Exemple #2
0
 def parse(self, data):
     message = 'rpm_transition_queued (master: %s) ' % get_master_name(
         data[0])
     if data[1] == 0:
         message += '(scheduled: "no")'
     elif data[1]:
         message += '(scheduled: "yes") (deadline: 0x%0.8x%0.8x)' % (
             data[3], (data[2]))
     return message
Exemple #3
0
 def parse(self, data):
     name = get_resource_name(data[1])
     if get_name_from_resource_id(name, data[2]) != 'Unknown':
         full = ' (full name: %s)' % get_name_from_resource_id(
             name, data[2])
     else:
         full = ''
     message = 'rpm_resource_settling_complete (master: %s) (resource type: %s) (resource id: %s)' % (
         get_master_name(data[0]), get_resource_name(data[1]), data[2])
     message += '%s' % (full)
     if data[3] != 0:
         message += ' (msg id: %s)' % (data[3])
     return message
Exemple #4
0
 def parse(self, data):
     return 'rpm_transition_bypass (master: %s) (wake time: 0x%0.8x)' % (
         get_master_name(data[0]), data[1])
Exemple #5
0
 def parse(self, data):
     message = 'rpm_bringup_req (master: %s)' % (get_master_name(data[0]))
     if len(data) > 1:
         message += ' (core: %i)' % data[1]
     return message
Exemple #6
0
 def parse(self, data):
     return 'rpm_process_request (master: %s) (resource type: %s) (id: %s)' % (
         get_master_name(data[0]), get_resource_name(data[1]), data[2])
Exemple #7
0
 def parse(self, data):
     return 'rpm_send_message_response (master: %s)' % (get_master_name(
         data[0]))
Exemple #8
0
 def parse(self, data):
     return 'rpm_master_set_transition (master: %s) (leaving: %s) (entering: %s)' % (
         get_master_name(data[0]), get_set_name(
             data[1]), get_set_name(data[2]))
Exemple #9
0
 def parse(self, data):
     return 'rpm_process_request (master: %s) (resource type: %s) (id: %s)' % (get_master_name(data[0]), get_resource_name(data[1]), data[2])
Exemple #10
0
 def parse(self, data):
     return 'rpm_settling_message_requeued (master: %s) (message id: %s)' % (
         get_master_name(data[0]), data[1])
Exemple #11
0
 def parse(self, data):
     message = 'rpm_shutdown_ack (master: %s)' % (get_master_name(data[0]))
     if len(data) > 1:
         message += ' (core: %i)' % data[1]
     return message
Exemple #12
0
 def parse(self, data):
     return 'rpm_transition_postponed (master: %s) ' % get_master_name(data[0])
Exemple #13
0
 def parse(self, data):
     message = 'rpm_shutdown_ack (master: %s)' % (get_master_name(data[0]))
     if len(data) > 1:
         message += ' (core: %i)' % data[1]
     return message
Exemple #14
0
 def parse(self, data):
     return 'rpm_settling_message_requeued (master: %s) (message id: %s)' % (get_master_name(data[0]), data[1])
Exemple #15
0
 def parse(self, data):
     name = get_resource_name(data[1])
     if get_name_from_resource_id(name, data[2]) != 'Unknown':
         full = ' (full name: %s)' % get_name_from_resource_id(name, data[2])
     else:
         full = ''
     message = 'rpm_resource_settling_complete (master: %s) (resource type: %s) (resource id: %s)' % (get_master_name(data[0]), 
                            get_resource_name(data[1]), data[2])
     message += '%s' % (full)
     if data[3] != 0:
         message += ' (msg id: %s)' % (data[3])
     return message
Exemple #16
0
 def parse(self, data):
     message = 'rpm_bringup_req (master: %s)' % (get_master_name(data[0]))
     if len(data) > 1:
         message += ' (core: %i)' % data[1]
     return message
Exemple #17
0
 def parse(self, data):
     return 'rpm_transition_bypass (master: %s) (wake time: 0x%0.8x)' % (get_master_name(data[0]), data[1])
Exemple #18
0
 def parse(self, data):
     return 'rpm_send_message_response (master: %s)' % (get_master_name(data[0]))
Exemple #19
0
 def parse(self, data):
     return 'rpm_transition_postponed (master: %s) ' % get_master_name(
         data[0])
Exemple #20
0
 def parse(self, data):
     return 'rpm_master_set_transition (master: %s) (leaving: %s) (entering: %s)' % (get_master_name(data[0]),
             get_set_name(data[1]), get_set_name(data[2]))
Exemple #21
0
 def parse(self, data):
     return 'rpm_master_set_transition_complete (master: %s)' % get_master_name(data[0])
Exemple #22
0
 def parse(self, data):
     return 'rpm_message_received (master: %s) (message id: %s)' % (
         get_master_name(data[0]), data[1])
Exemple #23
0
 def parse(self, data):
     return 'rpm_master_set_transition_complete (master: %s)' % get_master_name(
         data[0])
Exemple #24
0
 def parse(self, data):
     return 'rpm_message_received (master: %s) (message id: %s)' % (get_master_name(data[0]), data[1])