Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prov/efa: Add tracepoints for efa_msg and efa_rma #10633

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

shijin-aws
Copy link
Contributor

This patch adjust various tp providers and events:

  1. efa_tracepoint_wr_id_post_* should be renamed as efa_rdm_* because it interpretes the wr id as efa_rdm_ope which is rdm specific.

  2. Removed the "ope" field in post_wr_id event class, because it is not used by any analysis today and prevent it from being used by the efa_msg/rma interface which doesn't have ope.

  3. Add send/recv/read/write_begin_msg_context events for efa tp provider. Renamed the MSG_ARGS and MSG_FIELDS macros in efa_rdm_tracepoint.h to have RDM prefix.

  4. Make efa_rdm_pke.c use efa_rdm_tracepoint_wr_id to generate doorbell ringing events. For efa_msg.c and efa_rma.c, use efa_tracepoint directly.

This patch adjust various tp providers and events:

1. efa_tracepoint_wr_id_post_* should be renamed as
efa_rdm_* because it interpretes the wr id as efa_rdm_ope
which is rdm specific.

2. Removed the "ope" field in post_wr_id event class, because
it is not used by any analysis today and prevent it from being
used by the efa_msg/rma interface which doesn't have ope.

2. Add send/recv/read/write_begin_msg_context events
for efa tp provider. Renamed the MSG_ARGS and MSG_FIELDS
macros in efa_rdm_tracepoint.h to have RDM prefix.

3. Make efa_rdm_pke.c use efa_rdm_tracepoint_wr_id to
generate doorbell ringing events. For efa_msg.c and
efa_rma.c, use efa_tracepoint directly.

Signed-off-by: Shi Jin <[email protected]>
@shijin-aws shijin-aws requested review from jiaxiyan and a team December 12, 2024 23:38
@shijin-aws shijin-aws merged commit f17ff49 into ofiwg:main Dec 13, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants