Guest User

superpac

a guest
Jun 19th, 2015
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.06 KB | None | 0 0
  1. struct State {
  2. enum HttpTransactMagic_t m_magic; /* 0 4 */
  3.  
  4. /* XXX 4 bytes hole, try to pack */
  5.  
  6. class HttpSM * state_machine; /* 8 8 */
  7. class Arena arena; /* 16 8 */
  8. class HttpConfigParams * http_config_param; /* 24 8 */
  9. typedef struct _CacheLookupInfo CacheLookupInfo;
  10.  
  11. CacheLookupInfo cache_info; /* 32 168 */
  12. typedef struct _DNSLookupInfo DNSLookupInfo;
  13.  
  14. /* --- cacheline 3 boundary (192 bytes) was 8 bytes ago --- */
  15. DNSLookupInfo dns_info; /* 200 1072 */
  16. /* --- cacheline 19 boundary (1216 bytes) was 56 bytes ago --- */
  17. bool force_dns; /* 1272 1 */
  18.  
  19. /* XXX 7 bytes hole, try to pack */
  20. typedef struct _RedirectInfo RedirectInfo;
  21.  
  22.  
  23. /* --- cacheline 20 boundary (1280 bytes) --- */
  24. RedirectInfo redirect_info; /* 1280 40 */
  25. unsigned int updated_server_version; /* 1320 4 */
  26. unsigned int cache_open_write_fail_action; /* 1324 4 */
  27. bool is_revalidation_necessary; /* 1328 1 */
  28. bool request_will_not_selfloop; /* 1329 1 */
  29.  
  30. /* XXX 6 bytes hole, try to pack */
  31.  
  32. struct ConnectionAttributes client_info; /* 1336 80 */
  33. /* --- cacheline 22 boundary (1408 bytes) was 8 bytes ago --- */
  34. struct ConnectionAttributes icp_info; /* 1416 80 */
  35. /* --- cacheline 23 boundary (1472 bytes) was 24 bytes ago --- */
  36. struct ConnectionAttributes parent_info; /* 1496 80 */
  37. /* --- cacheline 24 boundary (1536 bytes) was 40 bytes ago --- */
  38. struct ConnectionAttributes server_info; /* 1576 80 */
  39. /* --- cacheline 25 boundary (1600 bytes) was 56 bytes ago --- */
  40. enum Source_t source; /* 1656 4 */
  41. enum Source_t pre_transform_source; /* 1660 4 */
  42. /* --- cacheline 26 boundary (1664 bytes) --- */
  43. enum HttpRequestFlavor_t req_flavor; /* 1664 4 */
  44.  
  45. /* XXX 4 bytes hole, try to pack */
  46. typedef struct _CurrentInfo CurrentInfo;
  47.  
  48.  
  49. CurrentInfo current; /* 1672 32 */
  50. typedef struct _HeaderInfo HeaderInfo;
  51.  
  52. HeaderInfo hdr_info; /* 1704 432 */
  53. typedef struct _SquidLogInfo SquidLogInfo;
  54.  
  55. /* --- cacheline 33 boundary (2112 bytes) was 24 bytes ago --- */
  56. SquidLogInfo squid_codes; /* 2136 12 */
  57.  
  58. /* XXX 4 bytes hole, try to pack */
  59.  
  60. struct HttpApiInfo api_info; /* 2152 16 */
  61. typedef void (*TransactFunc_t)(class State *);
  62.  
  63. TransactFunc_t pending_work; /* 2168 8 */
  64. /* --- cacheline 34 boundary (2176 bytes) --- */
  65. enum StateMachineAction_t cdn_saved_next_action; /* 2176 4 */
  66.  
  67. /* XXX 4 bytes hole, try to pack */
  68.  
  69. void (*cdn_saved_transact_return_point)(class State *); /* 2184 8 */
  70. bool cdn_remap_complete; /* 2192 1 */
  71. bool first_dns_lookup; /* 2193 1 */
  72. bool backdoor_request; /* 2194 1 */
  73. bool cop_test_page; /* 2195 1 */
  74.  
  75. /* XXX 4 bytes hole, try to pack */
  76.  
  77. struct HttpRequestData request_data; /* 2200 0 */
  78.  
  79. /* XXX 120 bytes hole, try to pack */
  80.  
  81. /* --- cacheline 36 boundary (2304 bytes) was 16 bytes ago --- */
  82. class ParentConfigParams * parent_params; /* 2320 8 */
  83. struct ParentResult parent_result; /* 2328 128 */
  84. /* --- cacheline 38 boundary (2432 bytes) was 24 bytes ago --- */
  85. class CacheControlResult cache_control; /* 2456 52 */
  86. /* --- cacheline 39 boundary (2496 bytes) was 12 bytes ago --- */
  87. enum CacheLookupResult_t cache_lookup_result; /* 2508 4 */
  88. enum StateMachineAction_t next_action; /* 2512 4 */
  89. enum StateMachineAction_t api_next_action; /* 2516 4 */
  90. void (*transact_return_point)(class State *); /* 2520 8 */
  91. void (*post_remap_upgrade_return_point)(class State *); /* 2528 8 */
  92. const char * upgrade_token_wks; /* 2536 8 */
  93. bool is_upgrade_request; /* 2544 1 */
  94. bool is_websocket; /* 2545 1 */
  95. bool did_upgrade_succeed; /* 2546 1 */
  96.  
  97. /* XXX 5 bytes hole, try to pack */
  98.  
  99. char * internal_msg_buffer; /* 2552 8 */
  100. /* --- cacheline 40 boundary (2560 bytes) --- */
  101. char * internal_msg_buffer_type; /* 2560 8 */
  102. int64_t internal_msg_buffer_size; /* 2568 8 */
  103. int64_t internal_msg_buffer_fast_allocator_size; /* 2576 8 */
  104. struct sockaddr_in icp_ip_result; /* 2584 16 */
  105. bool icp_lookup_success; /* 2600 1 */
  106.  
  107. /* XXX 3 bytes hole, try to pack */
  108.  
  109. int scheme; /* 2604 4 */
  110. int next_hop_scheme; /* 2608 4 */
  111. int orig_scheme; /* 2612 4 */
  112. int method; /* 2616 4 */
  113. int cause_of_death_errno; /* 2620 4 */
  114. /* --- cacheline 41 boundary (2624 bytes) --- */
  115. struct HostDBInfo host_db_info; /* 2624 64 */
  116. /* --- cacheline 42 boundary (2688 bytes) --- */
  117. ink_time_t client_request_time; /* 2688 8 */
  118. ink_time_t request_sent_time; /* 2696 8 */
  119. ink_time_t response_received_time; /* 2704 8 */
  120. ink_time_t plugin_set_expire_time; /* 2712 8 */
  121. char via_string[25]; /* 2720 25 */
  122.  
  123. /* XXX 7 bytes hole, try to pack */
  124.  
  125. /* --- cacheline 43 boundary (2752 bytes) --- */
  126. int64_t state_machine_id; /* 2752 8 */
  127. struct StatBlock first_stats; /* 2760 464 */
  128. /* --- cacheline 50 boundary (3200 bytes) was 24 bytes ago --- */
  129. class StatBlock * current_stats; /* 3224 8 */
  130. bool client_connection_enabled; /* 3232 1 */
  131. bool acl_filtering_performed; /* 3233 1 */
  132. bool negative_caching; /* 3234 1 */
  133. bool srv_lookup; /* 3235 1 */
  134. enum CacheAuth_t www_auth_content; /* 3236 4 */
  135. void * remap_plugin_instance; /* 3240 8 */
  136. void * user_args[16]; /* 3248 128 */
  137. /* --- cacheline 52 boundary (3328 bytes) was 48 bytes ago --- */
  138. _tsremap_os_response * fp_tsremap_os_response; /* 3376 8 */
  139. enum HTTPStatus http_return_code; /* 3384 4 */
  140. int api_txn_active_timeout_value; /* 3388 4 */
  141. /* --- cacheline 53 boundary (3392 bytes) --- */
  142. int api_txn_connect_timeout_value; /* 3392 4 */
  143. int api_txn_dns_timeout_value; /* 3396 4 */
  144. int api_txn_no_activity_timeout_value; /* 3400 4 */
  145.  
  146. /* XXX 4 bytes hole, try to pack */
  147.  
  148. class HdrHeapSDKHandle * cache_req_hdr_heap_handle; /* 3408 8 */
  149. class HdrHeapSDKHandle * cache_resp_hdr_heap_handle; /* 3416 8 */
  150. bool api_cleanup_cache_read; /* 3424 1 */
  151. bool api_server_response_no_store; /* 3425 1 */
  152. bool api_server_response_ignore; /* 3426 1 */
  153. bool api_http_sm_shutdown; /* 3427 1 */
  154. bool api_modifiable_cached_resp; /* 3428 1 */
  155. bool api_server_request_body_set; /* 3429 1 */
  156. bool api_req_cacheable; /* 3430 1 */
  157. bool api_resp_cacheable; /* 3431 1 */
  158. bool api_server_addr_set; /* 3432 1 */
  159. bool stale_icp_lookup; /* 3433 1 */
  160.  
  161. /* XXX 2 bytes hole, try to pack */
  162.  
  163. enum UpdateCachedObject_t api_update_cached_object; /* 3436 4 */
  164. enum LockUrl_t api_lock_url; /* 3440 4 */
  165. enum StateMachineAction_t saved_update_next_action; /* 3444 4 */
  166. enum CacheAction_t saved_update_cache_action; /* 3448 4 */
  167.  
  168. /* XXX 4 bytes hole, try to pack */
  169.  
  170. /* --- cacheline 54 boundary (3456 bytes) --- */
  171. class UrlMappingContainer url_map; /* 3456 40 */
  172. struct host_hdr_info hh_info; /* 3496 16 */
  173. class CongestionEntry * pCongestionEntry; /* 3512 8 */
  174. /* --- cacheline 55 boundary (3520 bytes) --- */
  175. enum StateMachineAction_t congest_saved_next_action; /* 3520 4 */
  176. int congestion_control_crat; /* 3524 4 */
  177. int congestion_congested_or_failed; /* 3528 4 */
  178. int congestion_connection_opened; /* 3532 4 */
  179. unsigned int filter_mask; /* 3536 4 */
  180.  
  181. /* XXX 4 bytes hole, try to pack */
  182.  
  183. char * remap_redirect; /* 3544 8 */
  184. bool reverse_proxy; /* 3552 1 */
  185. bool url_remap_success; /* 3553 1 */
  186. bool api_skip_all_remapping; /* 3554 1 */
  187. bool already_downgraded; /* 3555 1 */
  188.  
  189. /* XXX 4 bytes hole, try to pack */
  190.  
  191. class URL pristine_url; /* 3560 16 */
  192. enum RangeSetup_t range_setup; /* 3576 4 */
  193.  
  194. /* XXX 4 bytes hole, try to pack */
  195.  
  196. /* --- cacheline 56 boundary (3584 bytes) --- */
  197. int64_t num_range_fields; /* 3584 8 */
  198. int64_t range_output_cl; /* 3592 8 */
  199. RangeRecord * ranges; /* 3600 8 */
  200. class OverridableHttpConfigParams * txn_conf; /* 3608 8 */
  201. struct OverridableHttpConfigParams my_txn_conf; /* 3616 432 */
  202. /* --- cacheline 63 boundary (4032 bytes) was 16 bytes ago --- */
  203. bool transparent_passthrough; /* 4048 1 */
  204. bool range_in_cache; /* 4049 1 */
  205. void init(class State *); /* linkage=_ZN12HttpTransact5State4initEv */
  206.  
  207. void State(class State *);
  208.  
  209. void record_transaction_stats(class State *); /* linkage=_ZN12HttpTransact5State24record_transaction_statsEv */
  210.  
  211. void destroy(class State *); /* linkage=_ZN12HttpTransact5State7destroyEv */
  212.  
  213. void setup_per_txn_configs(class State *); /* linkage=_ZN12HttpTransact5State21setup_per_txn_configsEv */
  214.  
  215. void free_internal_msg_buffer(class State *); /* linkage=_ZN12HttpTransact5State24free_internal_msg_bufferEv */
  216.  
  217.  
  218. /* size: 4056, cachelines: 64, members: 114 */
  219. /* sum members: 3860, holes: 17, sum holes: 190 */
  220. /* padding: 6 */
  221. /* last cacheline: 24 bytes */
  222. };
Advertisement
Add Comment
Please, Sign In to add comment