Retrieves the results of a hot spot comparison trace.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetHotspotCompare |
get |
*All Resource
|
None | None |
Request syntax
POST /api/v1/openapi/proxy/post/livetrace_hotspot_compare HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| beg1_end |
integer |
Yes |
The end time 1. |
1725415774000 |
| beg1_start |
integer |
Yes |
The start time 1. |
1725415474000 |
| beg2_end |
integer |
Yes |
The end time 2. |
1725415774000 |
| beg2_start |
integer |
Yes |
The start time 2. |
1725415474000 |
| hot_type |
string |
No |
The hot spot type. |
alloc |
| instance1 |
string |
Yes |
The instance 1. |
i-2zei55fwj8nnu31h3z46" |
| instance2 |
string |
Yes |
The instance 2. |
0 |
| pid1 |
integer |
No |
The process of instance 1. |
0 |
| pid2 |
integer |
No |
The process of instance 2. |
i-2zei55fwj8nnu31h3z46 |
| table |
string |
Yes |
The name of the table to query. |
prof_on |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The error code. |
SysomOpenAPI.ServerError |
| data |
object |
The returned data. |
|
| flame |
object |
The differential flame graph data. |
|
| columns |
array |
The list of field names. |
|
|
string |
The field name. |
"sample", "time" |
|
| values |
array |
The list of flame graph data. |
|
|
array |
The flame graph data. |
||
|
string |
The timestamp or sample data. |
"{\"metadata\":{\"spyName\":\"cprof\",\"leftTicks\":38,\"name\":\"liveTrace\",\"rightTicks\":38,\"format\":\"double\",\"units\":\"samples\",\"appName\":\"liveTrace.profiling\",\"sampleRate\":100},\"version\":1,\"other\":{\"Table\":\"prof_on\",\"leftInstance\":\"i-2zei55fwj8nnu31h3z46\",\"rightInstance\":\"i-2zei55fwj8nnu31h3z46\",\"leftPid\":0,\"rightPid\":0},\"flamebearer\":{\"maxSelf\":7,\"names\":[\"total\",\"host\",\"idle:0\",\"default_enter_idle\",\"default_idle\",\"asm_common_interrupt\",\"common_interrupt\",\"irq_exit_rcu\",\"do_softirq_own_stack\",\"asm_call_irq_on_stack\",\"__do_softirq\",\"net_rx_action\",\"napi_poll\",\"nsh_cleanup_module\",\"napi_complete_done\",\"netif_receive_skb_list_internal\",\"__netif_receive_skb_list\",\"__netif_receive_skb_list_core\",\"__netif_receive_skb_core\",\"ip_local_deliver_finish\",\"ip_protocol_deliver_rcu\",\"tcp_v4_rcv\",\"__xfrm_policy_check2.constprop.0\",\"ip_local_deliver\",\"nf_hook_slow\",\"secondary_startup_64_no_verify\",\"cpu_startup_entry\",\"do_idle\",\"cpuidle_idle_call\",\"haltpoll_reflect\",\"cpuidle_enter\",\"cpuidle_enter_state\",\"sched_clock_cpu\",\"sched_clock\",\"kvm_sched_clock_read\",\"pvclock_clocksource_read\",\"asm_sysvec_call_function_single\",\"sysvec_call_function_single\",\"_nohz_idle_balance\",\"rebalance_domains\",\"load_balance\",\"cpumask_next_and\",\"_find_next_bit.constprop.0\",\"update_blocked_averages\",\"asm_sysvec_apic_timer_interrupt\",\"sysvec_apic_timer_interrupt\",\"rcu_core\",\"rcu_report_qs_rdp\",\"_raw_spin_unlock_irqrestore\",\"rcu_do_batch\",\"__put_task_struct\",\"rcu_cblist_dequeue\",\"run_timer_softirq\",\"__run_timers.part.0\",\"run_rebalance_domains\",\"start_kernel\",\"call_timer_fn\",\"process_timeout\",\"note_gp_changes\",\"schedule_idle\",\"__schedule\"],\"numTicks\":76,\"levels\":[[0,38,0,0,38,0,0],[0,38,0,0,38,0,1],[0,38,0,0,38,0,2],[0,2,0,0,2,0,3,0,1,0,0,1,0,4,0,35,0,0,35,0,25],[0,2,0,0,2,0,4,0,1,0,0,1,0,5,0,27,3,0,27,3,26,0,8,0,0,8,0,55],[0,2,0,0,2,0,5,0,1,0,0,1,0,6,3,24,0,3,24,0,27,0,8,0,0,8,0,26],[0,2,0,0,2,0,6,0,1,0,0,1,0,7,3,24,0,3,24,0,28,0,8,0,0,8,0,27],[0,2,0,0,2,0,7,0,1,0,0,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,0,1,0,0,1,0,23,8,1,0,8,1,0,39,0,1,1,0,1,1,43,0,2,0,0,2,0,47,0,2,0,0,2,0,49,0,3,2,0,3,2,40,0,2,2,0,2,2,53,1,7,7,1,7,7,43,1,1,0,1,1,0,38,1,1,0,1,1,0,52,0,1,0,0,1,0,54,0,1,0,0,1,0,46],[0,1,0,0,1,0,19,0,1,0,0,1,0,23,0,1,0,0,1,0,24,8,1,0,8,1,0,40,1,2,2,1,2,2,48,0,1,1,0,1,1,50,0,1,1,0,1,1,51,2,1,0,2,1,0,41,11,1,1,11,1,1,43,1,1,0,1,1,0,53,0,1,1,0,1,1,43,0,1,0,0,1,0,58],[0,1,0,0,1,0,20,0,1,0,0,1,0,24,0,1,0,0,1,0,13,8,1,0,8,1,0,41,7,1,1,7,1,1,42,13,1,0,13,1,0,56,1,1,1,1,1,1,48],[0,1,0,0,1,0,21,0,1,0,0,1,0,13,0,1,0,0,1,0,13,8,1,1,8,1,1,42,21,1,1,21,1,1,57],[0,1,1,0,1,1,22,0,1,1,0,1,1,13,0,1,1,0,1,1,13]]},\"timeLine\":{\"left\":{\"durationDelta\":10,\"startTime\":1725415480,\"samples\":[3,2,5,5,7,8,7,1]},\"right\":{\"durationDelta\":10,\"startTime\":1725415480,\"samples\":[3,2,5,5,7,8,7,1]}}}" |
|
| series_instance1 |
object |
The hot spot time series 1. |
|
| columns |
array |
The list of field names. |
|
|
string |
The field name. |
"time", "EXPR$1" |
|
| values |
array |
The list of hot spot time series data. |
|
|
array |
The hot spot time series data. |
||
|
string |
The timestamp or hot spot sampling value. |
"2024-09-04T02:04:40Z", "3" |
|
| series_instance2 |
object |
The hot spot time series 2. |
|
| columns |
array |
The list of field names. |
|
|
string |
The field name. |
"time", "EXPR$1" |
|
| values |
array |
The list of hot spot time series data. |
|
|
array |
The hot spot time series data. |
||
|
string |
The timestamp or hot spot sampling value. |
"2024-09-04T02:04:40Z", "3" |
|
| message |
string |
The returned message. |
success |
| requestId |
string |
Id of the request |
2D693121-C925-5154-8DF6-C09A8B369822 |
| success |
boolean |
Indicates whether the API call was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"code": "SysomOpenAPI.ServerError\n",
"data": {
"flame": {
"columns": [
"\"sample\", \"time\""
],
"values": [
[
"\"{\\\"metadata\\\":{\\\"spyName\\\":\\\"cprof\\\",\\\"leftTicks\\\":38,\\\"name\\\":\\\"liveTrace\\\",\\\"rightTicks\\\":38,\\\"format\\\":\\\"double\\\",\\\"units\\\":\\\"samples\\\",\\\"appName\\\":\\\"liveTrace.profiling\\\",\\\"sampleRate\\\":100},\\\"version\\\":1,\\\"other\\\":{\\\"Table\\\":\\\"prof_on\\\",\\\"leftInstance\\\":\\\"i-2zei55fwj8nnu31h3z46\\\",\\\"rightInstance\\\":\\\"i-2zei55fwj8nnu31h3z46\\\",\\\"leftPid\\\":0,\\\"rightPid\\\":0},\\\"flamebearer\\\":{\\\"maxSelf\\\":7,\\\"names\\\":[\\\"total\\\",\\\"host\\\",\\\"idle:0\\\",\\\"default_enter_idle\\\",\\\"default_idle\\\",\\\"asm_common_interrupt\\\",\\\"common_interrupt\\\",\\\"irq_exit_rcu\\\",\\\"do_softirq_own_stack\\\",\\\"asm_call_irq_on_stack\\\",\\\"__do_softirq\\\",\\\"net_rx_action\\\",\\\"napi_poll\\\",\\\"nsh_cleanup_module\\\",\\\"napi_complete_done\\\",\\\"netif_receive_skb_list_internal\\\",\\\"__netif_receive_skb_list\\\",\\\"__netif_receive_skb_list_core\\\",\\\"__netif_receive_skb_core\\\",\\\"ip_local_deliver_finish\\\",\\\"ip_protocol_deliver_rcu\\\",\\\"tcp_v4_rcv\\\",\\\"__xfrm_policy_check2.constprop.0\\\",\\\"ip_local_deliver\\\",\\\"nf_hook_slow\\\",\\\"secondary_startup_64_no_verify\\\",\\\"cpu_startup_entry\\\",\\\"do_idle\\\",\\\"cpuidle_idle_call\\\",\\\"haltpoll_reflect\\\",\\\"cpuidle_enter\\\",\\\"cpuidle_enter_state\\\",\\\"sched_clock_cpu\\\",\\\"sched_clock\\\",\\\"kvm_sched_clock_read\\\",\\\"pvclock_clocksource_read\\\",\\\"asm_sysvec_call_function_single\\\",\\\"sysvec_call_function_single\\\",\\\"_nohz_idle_balance\\\",\\\"rebalance_domains\\\",\\\"load_balance\\\",\\\"cpumask_next_and\\\",\\\"_find_next_bit.constprop.0\\\",\\\"update_blocked_averages\\\",\\\"asm_sysvec_apic_timer_interrupt\\\",\\\"sysvec_apic_timer_interrupt\\\",\\\"rcu_core\\\",\\\"rcu_report_qs_rdp\\\",\\\"_raw_spin_unlock_irqrestore\\\",\\\"rcu_do_batch\\\",\\\"__put_task_struct\\\",\\\"rcu_cblist_dequeue\\\",\\\"run_timer_softirq\\\",\\\"__run_timers.part.0\\\",\\\"run_rebalance_domains\\\",\\\"start_kernel\\\",\\\"call_timer_fn\\\",\\\"process_timeout\\\",\\\"note_gp_changes\\\",\\\"schedule_idle\\\",\\\"__schedule\\\"],\\\"numTicks\\\":76,\\\"levels\\\":[[0,38,0,0,38,0,0],[0,38,0,0,38,0,1],[0,38,0,0,38,0,2],[0,2,0,0,2,0,3,0,1,0,0,1,0,4,0,35,0,0,35,0,25],[0,2,0,0,2,0,4,0,1,0,0,1,0,5,0,27,3,0,27,3,26,0,8,0,0,8,0,55],[0,2,0,0,2,0,5,0,1,0,0,1,0,6,3,24,0,3,24,0,27,0,8,0,0,8,0,26],[0,2,0,0,2,0,6,0,1,0,0,1,0,7,3,24,0,3,24,0,28,0,8,0,0,8,0,27],[0,2,0,0,2,0,7,0,1,0,0,1,0,8,3,1,1,3,1,1,29,0,23,0,0,23,0,30,0,7,0,0,7,0,28,0,1,0,0,1,0,59],[0,2,0,0,2,0,8,0,1,0,0,1,0,9,4,23,0,4,23,0,31,0,6,0,0,6,0,30,0,1,1,0,1,1,29,0,1,1,0,1,1,60],[0,2,0,0,2,0,9,0,1,0,0,1,0,10,4,4,1,4,4,1,32,0,19,0,0,19,0,3,0,6,0,0,6,0,31],[0,2,0,0,2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2,2,1,2,2,48,0,1,1,0,1,1,50,0,1,1,0,1,1,51,2,1,0,2,1,0,41,11,1,1,11,1,1,43,1,1,0,1,1,0,53,0,1,1,0,1,1,43,0,1,0,0,1,0,58],[0,1,0,0,1,0,20,0,1,0,0,1,0,24,0,1,0,0,1,0,13,8,1,0,8,1,0,41,7,1,1,7,1,1,42,13,1,0,13,1,0,56,1,1,1,1,1,1,48],[0,1,0,0,1,0,21,0,1,0,0,1,0,13,0,1,0,0,1,0,13,8,1,1,8,1,1,42,21,1,1,21,1,1,57],[0,1,1,0,1,1,22,0,1,1,0,1,1,13,0,1,1,0,1,1,13]]},\\\"timeLine\\\":{\\\"left\\\":{\\\"durationDelta\\\":10,\\\"startTime\\\":1725415480,\\\"samples\\\":[3,2,5,5,7,8,7,1]},\\\"right\\\":{\\\"durationDelta\\\":10,\\\"startTime\\\":1725415480,\\\"samples\\\":[3,2,5,5,7,8,7,1]}}}\"\n"
]
]
},
"series_instance1": {
"columns": [
"\"time\", \"EXPR$1\""
],
"values": [
[
"\"2024-09-04T02:04:40Z\", \"3\""
]
]
},
"series_instance2": {
"columns": [
"\"time\", \"EXPR$1\""
],
"values": [
[
"\"2024-09-04T02:04:40Z\", \"3\""
]
]
}
},
"message": "success",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822",
"success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.