On Wed, 2021-06-16 at 04:43 -0400, sakib.sa...@windriver.com wrote:
> summarize_top_output.py is used to summarize the top
> output that is captured during autobuilder intermittent
> failures.
> 
> Use the script to summarize the host top output and
> publish the summary that is created instead of
> the raw logfile.
> 
> 
> 
[...]
>  if jcfg:
> diff --git a/scripts/summarize_top_output.py b/scripts/summarize_top_output.py
> new file mode 100755
> index 0000000..0606a34
> --- /dev/null
> +++ b/scripts/summarize_top_output.py
> @@ -0,0 +1,132 @@
> +#!/usr/bin/env python3
> +
> +import os, sys, glob
> +
> +# constants
> +top_header = 7
> +top_summary = 5
> +max_cols = 11
> +
> +# string substitution to make things easier to read
> +subs = {
> +    "/home/pokybuild/yocto-worker/" : "~/",
> +    "/build/build/tmp/work/core2-32-poky-linux/" : "/.../POKY_32/.../",
> +    "/build/build/tmp/work/core2-64-poky-linux/" : "/.../POKY_64/.../",
> +    
> "/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/"
>  : "/...GCC.../"
> +}

One quick question - the above assumes an x86 target machine using those two 
tunes. 
Should that be wildcarded?

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53893): https://lists.yoctoproject.org/g/yocto/message/53893
Mute This Topic: https://lists.yoctoproject.org/mt/83576331/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to