lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4bd0779b41a1e635d6bca738ba2d15ea708a03f9.camel@redhat.com>
Date: Mon, 20 Oct 2025 12:51:53 -0500
From: Crystal Wood <crwood@...hat.com>
To: Tomas Glozar <tglozar@...hat.com>, Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Linux Trace Kernel	
 <linux-trace-kernel@...r.kernel.org>, John Kacur <jkacur@...hat.com>, Luis
 Goncalves <lgoncalv@...hat.com>, Costa Shulyupin <costa.shul@...hat.com>,
 Wander Lairson Costa	 <wander@...hat.com>, Arnaldo Carvalho de Melo
 <acme@...nel.org>
Subject: Re: [PATCH 2/4] rtla/timerlat: Add --bpf-action option

On Fri, 2025-10-17 at 16:46 +0200, Tomas Glozar wrote:

> diff --git a/tools/tracing/rtla/src/timerlat_bpf.c b/tools/tracing/rtla/src/timerlat_bpf.c
> index 1d619e502c65..3c63bf7aa607 100644
> --- a/tools/tracing/rtla/src/timerlat_bpf.c
> +++ b/tools/tracing/rtla/src/timerlat_bpf.c
> @@ -7,6 +7,10 @@
>  
>  static struct timerlat_bpf *bpf;
>  
> +/* BPF object and program for action program */
> +static struct bpf_object *obj;
> +static struct bpf_program *prog;
> +
>  /*
>   * timerlat_bpf_init - load and initialize BPF program to collect timerlat data
>   */
> @@ -56,6 +60,10 @@ int timerlat_bpf_init(struct timerlat_params *params)
>  		return err;
>  	}
>  
> +	/* Set BPF action program to NULL */
> +	prog = NULL;
> +	obj = NULL;

They should already be NULL...

-Crystal


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ