filter_exes.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Use the filter_exes filter to generate a set of files listing the executables
  2. created in a build. A separate file will be created for each layer name and
  3. each configuration containing executable files. The filter can be run on an
  4. existing log file as follows:
  5. sbs_filter --filter=filter_exes < logfile
  6. where 'logfile' is the name of the logfile you want to analyse.
  7. By default it will create the files in the current directory, named
  8. '<layer>_<config>.txt' e.g. 'layerone_armv5_urel.txt'. If layers are not in
  9. use (e.g. the build was not based on a system definition) the layer name used
  10. will be 'nolayer' - e.g. 'nolayer_armv5_udeb.txt'.
  11. The location for output files can be overridden using the 'output' argument.
  12. To limit its operation to specified layers or configs, the 'layer' and 'config'
  13. arguments can be supplied, multiple times if necessary:
  14. sbs_filter --filter=filter_exes[output=mydir,layer=layerone,layer=layertwo,config=armv5_urel] < logfile
  15. This will search for executables generated from either 'layerone' or 'layertwo'
  16. components which were also build for armv5_urel. The filter will record an
  17. executable if it matches any of the layers specified and also was built for any
  18. of the configs specified.
  19. The files contain a list of filenames with no paths and no other information,
  20. for example:
  21. HelloWorld.exe
  22. Dummy.exe
  23. epoc.exe
  24. [...]
  25. A file will only be produced if there are any filenames to go into it. The
  26. filter will report on any files that have been created e.g:
  27. Wrote 242 file(s) into layerone_armv5_urel.txt
  28. Write 45 file(s) into layertwo_armv5_urel.txt
  29. Note that argument names may be abbreviated e.g.
  30. sbs_filter --filter=filter_exes[o=mydir,l=layerone,c=armv5_urel] < logfile