Re: [DTrace-devel] [PATCH 8/8] Turn some leading spaces into tabs

Kris Van Hees
2024-08-19T23:34:38Z

On Tue, Jun 04, 2024 at 02:00:08PM -0400, eugene.loh--- via DTrace-devel 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_bpf.c | 2 +-
> libdtrace/dt_pid.c | 8 ++++----
> 2 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/libdtrace/dt_bpf.c b/libdtrace/dt_bpf.c
> index e1a09215..71c6a446 100644
> --- a/libdtrace/dt_bpf.c
> +++ b/libdtrace/dt_bpf.c
> @@ -1140,7 +1140,7 @@ dt_bpf_load_prog(dtrace_hdl_t *dtp, const dt_probe_t *prp,
>
> snprintf(msg, sizeof(msg),
> "BPF program load for '%s:%s:%s:%s' failed",
> - pdp->prv, pdp->mod, pdp->fun, pdp->prb);
> + pdp->prv, pdp->mod, pdp->fun, pdp->prb);
> if (err == EPERM)
> return dt_bpf_lockmem_error(dtp, msg);
> dt_bpf_error(dtp, "%s: %s\n", msg,
> diff --git a/libdtrace/dt_pid.c b/libdtrace/dt_pid.c
> index 02ed7511..7c7d7e30 100644
> --- a/libdtrace/dt_pid.c
> +++ b/libdtrace/dt_pid.c
> @@ -905,7 +905,7 @@ dt_pid_create_usdt_probes(dtrace_hdl_t *dtp, dt_proc_t *dpr, dtrace_probedesc_t
> provider = (dof_parsed_t *) p;
> if (!validate_dof_record(path, provider, DIT_PROVIDER, dof_buf_size,
> seen_size))
> - goto parse_err;
> + goto parse_err;
>
> prv = provider->provider.name;
>
> @@ -915,16 +915,16 @@ dt_pid_create_usdt_probes(dtrace_hdl_t *dtp, dt_proc_t *dpr, dtrace_probedesc_t
> probe = (dof_parsed_t *) p;
> if (!validate_dof_record(path, probe, DIT_PROBE, dof_buf_size,
> seen_size))
> - goto parse_err;
> + goto parse_err;
>
> - mod = probe->probe.name;
> + mod = probe->probe.name;
> fun = mod + strlen(mod) + 1;
> prb = fun + strlen(fun) + 1;
>
> p += probe->size;
> seen_size += probe->size;
>
> - /*
> + /*
> * Now the parsed DOF for this probe's tracepoints.
> */
> for (size_t j = 0; j < probe->probe.ntp; j++) {
> --
> 2.18.4
>
>
> _______________________________________________
> DTrace-devel mailing list
> DTrace-devel@oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/dtrace-devel