[ros-bugs] [Bug 4342] log2lines: Enhanced raddr2line replacement

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Mon Dec 7 20:18:39 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4342





--- Comment #30 from jansssens <jroeloffzen at hotmail.com>  2009-12-07 20:18:38 CET ---
Created an attachment (id=4469)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=4469)
Version 1.6

More log analyzing features.
The idea behind -S and -R is to reduce the number of needed svn updates and 
live debug sessions.
- Updated -S option
- Added -R option
- Use a macro for tracing (cleans up quite a bit)
- Attempt to do a coding standard rewrite.

Options:
  -R <cmd>
       Revision commands interfacing with SVN. <cmd> is one of:
       - check:
         To be combined with -S. Check each source file in the log and issue
         a warning if its revision is higher than that of the tested build.
         Also when the revison of the source tree is lower than that of the
         tested build (for every source file).
         In both cases the source file's -S output would be unreliable.
       Can be combined with -tTS.

  -S <context>[+<add>][,<sources>]
       Source line options:
       <context>: Source lines. Display up to <context> lines until linenumber.
       <add>    : Optional. Display additional <add> lines after linenumber.
       <sources>: Optional. Specify alternate source tree.
       The environment variable _ROSBE_ROSSOURCEDIR should be correctly set
       or specify <sources>. Use double quotes if the path contains spaces.
       For a reliable result, these sources should be up to date with
       the tested revision (or try '-R check').
       Can be combined with -tTR.
       Implies -U (For retrieving source info).

Examples:
  Generate source lines. Show 2 lines of context plus 1 additional line and
  specify an alternate source tree:
       log2lines -S 2+1,"c:\ros trees\r44000" -d bootcd-44000-dbg < dbg.log
  Output:
       <msi.dll:2e35d (dll/win32/msi/msiquery.c:189 (MSI_IterateRecords))>
       | 0188      {
       | 0189          r = MSI_ViewFetch( view, &rec );
       | ----
       | 0190          if( r != ERROR_SUCCESS )

  Use '-R check' to show that action.c has been changed after the build:
       log2lines -s -d bootcd-43850-dbg.iso -R check -S 2  < dbg.log
  Output:
       <msi.dll:35821 (dll/win32/msi/registry.c:781 (MSIREG_OpenUserDataKey))>
       | 0780      if (create)
       | 0781          rc = RegCreateKeyW(HKEY_LOCAL_MACHINE, keypath, key);
       <msi.dll:5262 (dll/win32/msi/action.c:2665 (ACTION_ProcessComponents))>
       | R--- Conflict : source(44191) > build(43850)
       | 2664              else
       | 2665                  rc = MSIREG_OpenUserDataKey(comp->ComponentId,


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the Ros-bugs mailing list