diff options
author | Da Zheng <zhengda1936@gmail.com> | 2012-07-01 01:15:16 -0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-07-01 01:15:16 -0300 |
commit | 5430151902aa7cb17458c0d71722a05fd379babf (patch) | |
tree | c37a46ebc144a72655aa2cd85a8a090c8daf36d2 /ext2fs/ext2_fs_i.h | |
parent | ccbbdf63102a21e755cd17f68f6d8c43beda21ef (diff) |
Rework rpctrace into handling multitask programs
* rpctrace.c (UNKNOWN_NAME): New variable.
(task_info): New structure.
(traced_task): Removed.
(task_ihash): New variable.
(unknown_task): Likewise.
(add_task): New function.
(remove_task): Likewise.
(traced_info): Modified.
(receiver_info): New structure.
(sender_info): Likewise.
(send_once_info): Likewise.
(TRACED_INFO): New macro.
(SEND_INFO): Likewise.
(SEND_ONCE_INFO): Likewise.
(req_info): New structure.
(req_head): New variable.
(add_request): New function.
(remove_request): Likewise.
(freelist): Different type.
(notify_pi): New variable.
(receive_right_list): Likewise.
(dummy_wrapper): Likewise.
(traced_names): Different initial value.
(other_class): New variable.
(print_request_header): Different parameter.
(print_reply_header): Likewise.
(new_receiver_info): New function.
(destroy_receiver_info): Likewise.
(new_send_wrapper): Redefined.
(new_send_once_wrapper): Modified.
(unlink_sender_info): New function.
(traced_dropweak): Removed.
(traced_clean): New function.
(seen_receive_right): Likewise.
(discover_receive_right): Likewise.
(get_send_wrapper): Likewise.
(rewrite_right): Redefined.
(print_contents): Don't treat mach_port_insert_right specially.
(wrap_all_threads): Use new structuress.
(wrap_new_thread): Likewise.
(wrap_new_task): New function.
(trace_and_forward): Redefined.
(expected_reply_port): Removed.
(print_request_header): Use new structures.
(print_reply_header): Likewise.
(unfinished_line): Removed.
(traced_spawn): Use new structures.
(main): Initialize some global variables.
Diffstat (limited to 'ext2fs/ext2_fs_i.h')
0 files changed, 0 insertions, 0 deletions