DPDK patches and discussions
 help / color / mirror / Atom feed
From: Maxime Coquelin <mcoqueli@redhat.com>
To: Nicolas Chautru <nicolas.chautru@intel.com>
Cc: dev@dpdk.org, maxime.coquelin@redhat.com, hemant.agrawal@nxp.com,
	 hernan.vargas@intel.com
Subject: Re: [PATCH v1 2/2] baseband/acc: add trace points per operation
Date: Thu, 16 Oct 2025 18:01:25 +0200	[thread overview]
Message-ID: <CAO55cszNS=L0J_7=TDJukDd0EapR9aOnTtdL1AgRU1DdNUuesQ@mail.gmail.com> (raw)
In-Reply-To: <CAO55csz8z6FX3QWFxeLj6wxn38FD_ax9TsAJ_BSopLsbAiVgiA@mail.gmail.com>

On Thu, Oct 16, 2025 at 5:44 PM Maxime Coquelin <mcoqueli@redhat.com> wrote:
>
> Hi Nicolas,
>
> On Wed, May 28, 2025 at 12:36 AM Nicolas Chautru
> <nicolas.chautru@intel.com> wrote:
> >
> > Add the details of the operation parameters into
> > trace when that operation is rejected by the PMD.
> >
> > Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
> > ---
> >  drivers/baseband/acc/acc_common.h | 1 +
> >  drivers/baseband/acc/vrb_trace.h  | 4 ++--
> >  2 files changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/baseband/acc/acc_common.h b/drivers/baseband/acc/acc_common.h
> > index 4880444450..3d411cd25f 100644
> > --- a/drivers/baseband/acc/acc_common.h
> > +++ b/drivers/baseband/acc/acc_common.h
> > @@ -700,6 +700,7 @@ acc_error_log(struct acc_queue *q, void *op, uint8_t acc_error_idx, const char *
> >
> >         rte_bbdev_vrb_trace_error(0, rte_bbdev_op_type_str(q->op_type),
> >                         acc_error_string[acc_error_idx]);
> > +       rte_bbdev_ops_trace(op, q->op_type);
> >
> >         va_end(args);
> >  }
> > diff --git a/drivers/baseband/acc/vrb_trace.h b/drivers/baseband/acc/vrb_trace.h
> > index 0bbfdc47d1..c9ae239fec 100644
> > --- a/drivers/baseband/acc/vrb_trace.h
> > +++ b/drivers/baseband/acc/vrb_trace.h
> > @@ -11,7 +11,7 @@ extern "C" {
> >
> >  #include <rte_trace_point.h>
> >
> > -RTE_TRACE_POINT_FP(
> > +RTE_TRACE_POINT(
> >         rte_bbdev_vrb_trace_error,
> >         RTE_TRACE_POINT_ARGS(uint8_t dev_id, const char *op_string, const char *err_string),
> >         rte_trace_point_emit_u8(dev_id);
> > @@ -19,7 +19,7 @@ RTE_TRACE_POINT_FP(
> >         rte_trace_point_emit_string(err_string);
> >  )
> >
> > -RTE_TRACE_POINT_FP(
> > +RTE_TRACE_POINT(
> >         rte_bbdev_vrb_trace_queue_error,
> >         RTE_TRACE_POINT_ARGS(uint8_t qg_id, uint8_t aq_id, const char *str),
> >         rte_trace_point_emit_u8(qg_id);
>
> Maybe worth expanding in the commit message that from now on, the
> trace will be emitted systematically,
> i.e. without having to build with RTE_ENABLE_TRACE_FP set?
>
> It can be done while applying.

Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

> Thanks,
> Maxime
>
> > --
> > 2.34.1
> >


  reply	other threads:[~2025-10-16 16:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-27 22:36 [PATCH v1 0/2] bbdev: add trace point per operations Nicolas Chautru
2025-05-27 22:36 ` [PATCH v1 1/2] bbdev: add trace points per operation Nicolas Chautru
2025-10-16 15:48   ` Maxime Coquelin
2025-05-27 22:36 ` [PATCH v1 2/2] baseband/acc: " Nicolas Chautru
2025-10-16 15:44   ` Maxime Coquelin
2025-10-16 16:01     ` Maxime Coquelin [this message]
2025-10-16 16:39 ` [PATCH v1 0/2] bbdev: add trace point per operations Maxime Coquelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAO55cszNS=L0J_7=TDJukDd0EapR9aOnTtdL1AgRU1DdNUuesQ@mail.gmail.com' \
    --to=mcoqueli@redhat.com \
    --cc=dev@dpdk.org \
    --cc=hemant.agrawal@nxp.com \
    --cc=hernan.vargas@intel.com \
    --cc=maxime.coquelin@redhat.com \
    --cc=nicolas.chautru@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).