[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200921161821.60c16a30@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 21 Sep 2020 16:18:21 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: sundeep.lkml@...il.com
Cc: davem@...emloft.net, netdev@...r.kernel.org, sgoutham@...vell.com,
Subbaraya Sundeep <sbhatta@...vell.com>,
Jiri Pirko <jiri@...nulli.us>
Subject: Re: [net-next v2 PATCH 1/2] octeontx2-af: Introduce tracepoints for
mailbox
On Mon, 21 Sep 2020 22:32:41 +0530 sundeep.lkml@...il.com wrote:
> diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c
> new file mode 100644
> index 0000000..f0b3f17
> --- /dev/null
> +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c
> @@ -0,0 +1,14 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/* Marvell OcteonTx2 RVU Admin Function driver tracepoints
> + *
> + * Copyright (C) 2020 Marvell International Ltd.
> + */
> +
> +#define CREATE_TRACE_POINTS
> +#include "rvu_trace.h"
> +
> +EXPORT_TRACEPOINT_SYMBOL(otx2_msg_alloc);
> +EXPORT_TRACEPOINT_SYMBOL(otx2_msg_send);
> +EXPORT_TRACEPOINT_SYMBOL(otx2_msg_check);
I don't think you need to export send and check.
They are only used in the mbox module where they are defined.
Otherwise looks acceptable to me.
Please make sure you CC everyone who gave you feedback.
Powered by blists - more mailing lists