* [PATCH] Convert some indenting spaces into tabs
@ 2025-01-14 23:38 eugene.loh
2025-02-26 16:55 ` Kris Van Hees
0 siblings, 1 reply; 2+ messages in thread
From: eugene.loh @ 2025-01-14 23:38 UTC (permalink / raw)
To: dtrace, dtrace-devel
From: Eugene Loh <eugene.loh@oracle.com>
Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
---
libdtrace/dt_prov_uprobe.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/libdtrace/dt_prov_uprobe.c b/libdtrace/dt_prov_uprobe.c
index e96479963..5d9f74244 100644
--- a/libdtrace/dt_prov_uprobe.c
+++ b/libdtrace/dt_prov_uprobe.c
@@ -593,7 +593,7 @@ static int populate_args(dtrace_hdl_t *dtp, const pid_probespec_t *psp,
upp->args[i].mapping = map_arg;
upp->args[i].flags = 0;
- if (i != map_arg)
+ if (i != map_arg)
upp->flags |= PP_IS_MAPPED;
}
@@ -716,21 +716,21 @@ static dt_probe_t *create_underlying(dtrace_hdl_t *dtp,
switch (psp->pps_type) {
case DTPPT_RETURN:
- upp->flags |= PP_IS_RETURN;
- break;
+ upp->flags |= PP_IS_RETURN;
+ break;
case DTPPT_IS_ENABLED:
- upp->flags |= PP_IS_ENABLED;
- break;
+ upp->flags |= PP_IS_ENABLED;
+ break;
case DTPPT_USDT:
- upp->flags |= PP_IS_USDT;
- break;
+ upp->flags |= PP_IS_USDT;
+ break;
default: ;
- /*
- * No flags needed for other types.
- */
+ /*
+ * No flags needed for other types.
+ */
}
- return uprp;
+ return uprp;
fail:
dt_dprintf("Failed to instantiate %s:%s:%s:%s\n", psp->pps_prv,
--
2.43.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Convert some indenting spaces into tabs
2025-01-14 23:38 [PATCH] Convert some indenting spaces into tabs eugene.loh
@ 2025-02-26 16:55 ` Kris Van Hees
0 siblings, 0 replies; 2+ messages in thread
From: Kris Van Hees @ 2025-02-26 16:55 UTC (permalink / raw)
To: eugene.loh; +Cc: dtrace, dtrace-devel
On Tue, Jan 14, 2025 at 06:38:20PM -0500, eugene.loh@oracle.com wrote:
> From: Eugene Loh <eugene.loh@oracle.com>
>
> Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
> ---
> libdtrace/dt_prov_uprobe.c | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/libdtrace/dt_prov_uprobe.c b/libdtrace/dt_prov_uprobe.c
> index e96479963..5d9f74244 100644
> --- a/libdtrace/dt_prov_uprobe.c
> +++ b/libdtrace/dt_prov_uprobe.c
> @@ -593,7 +593,7 @@ static int populate_args(dtrace_hdl_t *dtp, const pid_probespec_t *psp,
> upp->args[i].mapping = map_arg;
> upp->args[i].flags = 0;
>
> - if (i != map_arg)
> + if (i != map_arg)
> upp->flags |= PP_IS_MAPPED;
> }
>
> @@ -716,21 +716,21 @@ static dt_probe_t *create_underlying(dtrace_hdl_t *dtp,
>
> switch (psp->pps_type) {
> case DTPPT_RETURN:
> - upp->flags |= PP_IS_RETURN;
> - break;
> + upp->flags |= PP_IS_RETURN;
> + break;
> case DTPPT_IS_ENABLED:
> - upp->flags |= PP_IS_ENABLED;
> - break;
> + upp->flags |= PP_IS_ENABLED;
> + break;
> case DTPPT_USDT:
> - upp->flags |= PP_IS_USDT;
> - break;
> + upp->flags |= PP_IS_USDT;
> + break;
> default: ;
> - /*
> - * No flags needed for other types.
> - */
> + /*
> + * No flags needed for other types.
> + */
> }
>
> - return uprp;
> + return uprp;
>
> fail:
> dt_dprintf("Failed to instantiate %s:%s:%s:%s\n", psp->pps_prv,
> --
> 2.43.5
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-26 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 23:38 [PATCH] Convert some indenting spaces into tabs eugene.loh
2025-02-26 16:55 ` Kris Van Hees
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox