[igt-dev] [PATCH 3/6] scripts/code_cov_parse_info: fix brf record handling
Kamil Konieczny
kamil.konieczny at linux.intel.com
Wed Oct 5 20:03:59 UTC 2022
On 2022-09-22 at 10:46:15 +0200, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
>
> Don't override $record{source} due to BRF, or the script will crash.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
>
> To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
> See [PATCH 0/6] at: https://lore.kernel.org/all/cover.1663836123.git.mchehab@kernel.org/
>
> scripts/code_cov_parse_info | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/code_cov_parse_info b/scripts/code_cov_parse_info
> index 037a07e26b1d..ef26192f2456 100755
> --- a/scripts/code_cov_parse_info
> +++ b/scripts/code_cov_parse_info
> @@ -228,7 +228,7 @@ sub parse_info_data($)
>
> # BRF:<number of branches found>
> if (m/^BRF:(-?\d+)/) {
> - $record{$source}{brf} = $1;
> + $record{$source}{$func}{brf} = $1;
> next;
> }
> # BRH:<number of branches hit>
> --
> 2.37.2
>
More information about the igt-dev
mailing list