Commit 7e9a5694 authored by Jonathan Jenkins's avatar Jonathan Jenkins

rename default dumpi event callback to be more accurate

handleDUMPIGeneric->handleDUMPIIgnore
parent 700f9260
......@@ -211,7 +211,7 @@ static int handleDUMPIInit(
return 0;
}
int handleDUMPIGeneric(const void* prm, uint16_t thread, const dumpi_time *cpu, const dumpi_time *wall, const dumpi_perfinfo *perf, void *uarg)
int handleDUMPIIgnore(const void* prm, uint16_t thread, const dumpi_time *cpu, const dumpi_time *wall, const dumpi_perfinfo *perf, void *uarg)
{
rank_mpi_context* myctx = (rank_mpi_context*)uarg;
......@@ -566,57 +566,57 @@ int dumpi_trace_nw_workload_load(const char* params, int app_id, int rank)
callbacks.on_irecv = (dumpi_irecv_call)handleDUMPIIRecv;
callbacks.on_allreduce = (dumpi_allreduce_call)handleDUMPIAllreduce;
callbacks.on_bcast = (dumpi_bcast_call)handleDUMPIBcast;
callbacks.on_get_count = (dumpi_get_count_call)handleDUMPIGeneric;
callbacks.on_bsend = (dumpi_bsend_call)handleDUMPIGeneric;
callbacks.on_ssend = (dumpi_ssend_call)handleDUMPIGeneric;
callbacks.on_rsend = (dumpi_rsend_call)handleDUMPIGeneric;
callbacks.on_buffer_attach = (dumpi_buffer_attach_call)handleDUMPIGeneric;
callbacks.on_buffer_detach = (dumpi_buffer_detach_call)handleDUMPIGeneric;
callbacks.on_ibsend = (dumpi_ibsend_call)handleDUMPIGeneric;
callbacks.on_issend = (dumpi_issend_call)handleDUMPIGeneric;
callbacks.on_irsend = (dumpi_irsend_call)handleDUMPIGeneric;
callbacks.on_get_count = (dumpi_get_count_call)handleDUMPIIgnore;
callbacks.on_bsend = (dumpi_bsend_call)handleDUMPIIgnore;
callbacks.on_ssend = (dumpi_ssend_call)handleDUMPIIgnore;
callbacks.on_rsend = (dumpi_rsend_call)handleDUMPIIgnore;
callbacks.on_buffer_attach = (dumpi_buffer_attach_call)handleDUMPIIgnore;
callbacks.on_buffer_detach = (dumpi_buffer_detach_call)handleDUMPIIgnore;
callbacks.on_ibsend = (dumpi_ibsend_call)handleDUMPIIgnore;
callbacks.on_issend = (dumpi_issend_call)handleDUMPIIgnore;
callbacks.on_irsend = (dumpi_irsend_call)handleDUMPIIgnore;
callbacks.on_wait = (dumpi_wait_call)handleDUMPIWait;
callbacks.on_test = (dumpi_test_call)handleDUMPIGeneric;
callbacks.on_request_free = (dumpi_request_free_call)handleDUMPIGeneric;
callbacks.on_test = (dumpi_test_call)handleDUMPIIgnore;
callbacks.on_request_free = (dumpi_request_free_call)handleDUMPIIgnore;
callbacks.on_waitany = (dumpi_waitany_call)handleDUMPIWaitany;
callbacks.on_testany = (dumpi_testany_call)handleDUMPIGeneric;
callbacks.on_testany = (dumpi_testany_call)handleDUMPIIgnore;
callbacks.on_waitall = (dumpi_waitall_call)handleDUMPIWaitall;
callbacks.on_testall = (dumpi_testall_call)handleDUMPIGeneric;
callbacks.on_testall = (dumpi_testall_call)handleDUMPIIgnore;
callbacks.on_waitsome = (dumpi_waitsome_call)handleDUMPIWaitsome;
callbacks.on_testsome = (dumpi_testsome_call)handleDUMPIGeneric;
callbacks.on_iprobe = (dumpi_iprobe_call)handleDUMPIGeneric;
callbacks.on_probe = (dumpi_probe_call)handleDUMPIGeneric;
callbacks.on_cancel = (dumpi_cancel_call)handleDUMPIGeneric;
callbacks.on_test_cancelled = (dumpi_test_cancelled_call)handleDUMPIGeneric;
callbacks.on_send_init = (dumpi_send_init_call)handleDUMPIGeneric;
callbacks.on_bsend_init = (dumpi_bsend_init_call)handleDUMPIGeneric;
callbacks.on_ssend_init = (dumpi_ssend_init_call)handleDUMPIGeneric;
callbacks.on_rsend_init = (dumpi_rsend_init_call)handleDUMPIGeneric;
callbacks.on_recv_init = (dumpi_recv_init_call)handleDUMPIGeneric;
callbacks.on_start = (dumpi_start_call)handleDUMPIGeneric;
callbacks.on_startall = (dumpi_startall_call)handleDUMPIGeneric;
callbacks.on_sendrecv = (dumpi_sendrecv_call)handleDUMPIGeneric;
callbacks.on_sendrecv_replace = (dumpi_sendrecv_replace_call)handleDUMPIGeneric;
callbacks.on_type_contiguous = (dumpi_type_contiguous_call)handleDUMPIGeneric;
callbacks.on_barrier = (dumpi_barrier_call)handleDUMPIGeneric;
callbacks.on_gather = (dumpi_gather_call)handleDUMPIGeneric;
callbacks.on_gatherv = (dumpi_gatherv_call)handleDUMPIGeneric;
callbacks.on_scatter = (dumpi_scatter_call)handleDUMPIGeneric;
callbacks.on_scatterv = (dumpi_scatterv_call)handleDUMPIGeneric;
callbacks.on_allgather = (dumpi_allgather_call)handleDUMPIGeneric;
callbacks.on_allgatherv = (dumpi_allgatherv_call)handleDUMPIGeneric;
callbacks.on_alltoall = (dumpi_alltoall_call)handleDUMPIGeneric;
callbacks.on_alltoallv = (dumpi_alltoallv_call)handleDUMPIGeneric;
callbacks.on_alltoallw = (dumpi_alltoallw_call)handleDUMPIGeneric;
callbacks.on_reduce = (dumpi_reduce_call)handleDUMPIGeneric;
callbacks.on_reduce_scatter = (dumpi_reduce_scatter_call)handleDUMPIGeneric;
callbacks.on_group_size = (dumpi_group_size_call)handleDUMPIGeneric;
callbacks.on_group_rank = (dumpi_group_rank_call)handleDUMPIGeneric;
callbacks.on_comm_size = (dumpi_comm_size_call)handleDUMPIGeneric;
callbacks.on_comm_rank = (dumpi_comm_rank_call)handleDUMPIGeneric;
callbacks.on_comm_get_attr = (dumpi_comm_get_attr_call)handleDUMPIGeneric;
callbacks.on_comm_create = (dumpi_comm_create_call)handleDUMPIGeneric;
callbacks.on_wtime = (dumpi_wtime_call)handleDUMPIGeneric;
callbacks.on_testsome = (dumpi_testsome_call)handleDUMPIIgnore;
callbacks.on_iprobe = (dumpi_iprobe_call)handleDUMPIIgnore;
callbacks.on_probe = (dumpi_probe_call)handleDUMPIIgnore;
callbacks.on_cancel = (dumpi_cancel_call)handleDUMPIIgnore;
callbacks.on_test_cancelled = (dumpi_test_cancelled_call)handleDUMPIIgnore;
callbacks.on_send_init = (dumpi_send_init_call)handleDUMPIIgnore;
callbacks.on_bsend_init = (dumpi_bsend_init_call)handleDUMPIIgnore;
callbacks.on_ssend_init = (dumpi_ssend_init_call)handleDUMPIIgnore;
callbacks.on_rsend_init = (dumpi_rsend_init_call)handleDUMPIIgnore;
callbacks.on_recv_init = (dumpi_recv_init_call)handleDUMPIIgnore;
callbacks.on_start = (dumpi_start_call)handleDUMPIIgnore;
callbacks.on_startall = (dumpi_startall_call)handleDUMPIIgnore;
callbacks.on_sendrecv = (dumpi_sendrecv_call)handleDUMPIIgnore;
callbacks.on_sendrecv_replace = (dumpi_sendrecv_replace_call)handleDUMPIIgnore;
callbacks.on_type_contiguous = (dumpi_type_contiguous_call)handleDUMPIIgnore;
callbacks.on_barrier = (dumpi_barrier_call)handleDUMPIIgnore;
callbacks.on_gather = (dumpi_gather_call)handleDUMPIIgnore;
callbacks.on_gatherv = (dumpi_gatherv_call)handleDUMPIIgnore;
callbacks.on_scatter = (dumpi_scatter_call)handleDUMPIIgnore;
callbacks.on_scatterv = (dumpi_scatterv_call)handleDUMPIIgnore;
callbacks.on_allgather = (dumpi_allgather_call)handleDUMPIIgnore;
callbacks.on_allgatherv = (dumpi_allgatherv_call)handleDUMPIIgnore;
callbacks.on_alltoall = (dumpi_alltoall_call)handleDUMPIIgnore;
callbacks.on_alltoallv = (dumpi_alltoallv_call)handleDUMPIIgnore;
callbacks.on_alltoallw = (dumpi_alltoallw_call)handleDUMPIIgnore;
callbacks.on_reduce = (dumpi_reduce_call)handleDUMPIIgnore;
callbacks.on_reduce_scatter = (dumpi_reduce_scatter_call)handleDUMPIIgnore;
callbacks.on_group_size = (dumpi_group_size_call)handleDUMPIIgnore;
callbacks.on_group_rank = (dumpi_group_rank_call)handleDUMPIIgnore;
callbacks.on_comm_size = (dumpi_comm_size_call)handleDUMPIIgnore;
callbacks.on_comm_rank = (dumpi_comm_rank_call)handleDUMPIIgnore;
callbacks.on_comm_get_attr = (dumpi_comm_get_attr_call)handleDUMPIIgnore;
callbacks.on_comm_create = (dumpi_comm_create_call)handleDUMPIIgnore;
callbacks.on_wtime = (dumpi_wtime_call)handleDUMPIIgnore;
callbacks.on_finalize = (dumpi_finalize_call)handleDUMPIFinalize;
libundumpi_populate_callbacks(&callbacks, callarr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment