Skip to content

Commits

Permalink
181122-xiao_gu…
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Dec 4, 2018

  1. Allocator performance comparison test

    This is a test comparing various alloocator strategies
    for a thread dispatch package
    c3d committed Dec 4, 2018
    Copy the full SHA
    c74fa93 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2018

  1. Call regfree even if regcomp fails

    regcomp set regular expression even if it fails.
    
    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Frediano Ziglio authored and c3d committed Nov 20, 2018
    Copy the full SHA
    967741e View commit details
    Browse the repository at this point in the history
  2. Abstract pattern matching to reduce conditional compilation

    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Frediano Ziglio authored and c3d committed Nov 20, 2018
    Copy the full SHA
    43f906e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    862b929 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2018

  1. Update make-it-quick

    c3d committed Nov 19, 2018
    Copy the full SHA
    8a710be View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6fb6283 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2018

  1. Copy the full SHA
    7b1c2f3 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2018

  1. Add comment in the _activate functions

    Make it clear that the recorder_ring_compare_exchange macro updates
    the head in place with the new value, because it uses
    the __atomic_compare_exchange_n primitive, which does, as documented in
    https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
    
    This compares the contents of *ptr with the contents of *expected.
    If equal, the operation is a read-modify-write operation that writes
    desired into *ptr.
    If they are not equal, the operation is a read and the current contents
    of *ptr are written into *expected.
    
    Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
    Suggested-by: Frediano Ziglio <fziglio@redhat.com>
    c3d committed Nov 14, 2018
    Copy the full SHA
    8f450dc View commit details
    Browse the repository at this point in the history
  2. Remove duplicate declaration

    Just declared some lines above
    
    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Acked-by: Christophe de Dinechin <christophe@dinechin.org>
    Frediano Ziglio authored and c3d committed Nov 14, 2018
    Copy the full SHA
    48867f1 View commit details
    Browse the repository at this point in the history
  3. Avoid use after free

    The temporary string is destroyed after the statement so cname
    will be a dandling pointer.
    
    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Acked-by: Christophe de Dinechin <christophe@dinechin.org>
    Frediano Ziglio authored and c3d committed Nov 14, 2018
    Copy the full SHA
    53d7dd5 View commit details
    Browse the repository at this point in the history
  4. Make usage function static

    No reason to export it.
    
    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Acked-by: Christophe de Dinechin <christophe@dinechin.org>
    Frediano Ziglio authored and c3d committed Nov 14, 2018
    Copy the full SHA
    1e7f403 View commit details
    Browse the repository at this point in the history
  5. Use different option for basename

    -s option is already used so currently cannot be used to specify the
    base name.
    
    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Acked-by: Christophe de Dinechin <christophe@dinechin.org>
    Frediano Ziglio authored and c3d committed Nov 14, 2018
    Copy the full SHA
    dbb6604 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2018

  1. Release 1.0.3

    Changes in this release:
    - License clarification (LGPLv3 for the library components)
    - Improved portability on Windows platforms (MinGW, MSYS and Cygwin)
    - Record scope has the ability to toggle display modes using keys
    - Various minor fixes and improvements
    - Welcoming a new contributor to the code (Frediano Ziglio)
    c3d committed Nov 9, 2018
    Copy the full SHA
    f4f5947 View commit details
    Browse the repository at this point in the history
  2. Add NEWS file

    c3d committed Nov 9, 2018
    Copy the full SHA
    4ac1f52 View commit details
    Browse the repository at this point in the history
  3. Document keyboard shortcuts

    c3d committed Nov 9, 2018
    Copy the full SHA
    84d37db View commit details
    Browse the repository at this point in the history
  4. Style change: lowercase record and record_fast

    This makes these two look more like function calls.
    The existing macros still work for obvious compatibility reasons.
    c3d committed Nov 9, 2018
    Copy the full SHA
    9deb227 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    bb9410b View commit details
    Browse the repository at this point in the history
  6. Documentation clarification

    Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
    Suggested-by: Frediano Ziglio <fziglio@redhat.com>
    c3d committed Nov 9, 2018
    Copy the full SHA
    30152e8 View commit details
    Browse the repository at this point in the history
  7. Provides better drand48 replacement

    Pretty easy to implement standard one using 64 bit integers.
    Modified to share MinGW implementation of drand48() between tests
    
    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
    Frediano Ziglio authored and c3d committed Nov 9, 2018
    Copy the full SHA
    bcc817d View commit details
    Browse the repository at this point in the history
  8. Add missing config.h include

    Source is using HAVE_DRAND48 so we need to include config.h
    
    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Frediano Ziglio authored and c3d committed Nov 9, 2018
    Copy the full SHA
    db91e8c View commit details
    Browse the repository at this point in the history
  9. Use array_size macro for recorder_info static allocated arrays

    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Frediano Ziglio authored and c3d committed Nov 9, 2018
    Copy the full SHA
    c598132 View commit details
    Browse the repository at this point in the history
  10. Reuse array_size macro

    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Frediano Ziglio authored and c3d committed Nov 9, 2018
    Copy the full SHA
    a688d75 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    ed05ba2 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2018

  1. Clarify the license

    The old carried-over headers still had remnants of GPL in them.
    Convert to LGPLv3 for what goes in the library, GPLv3 for the rest.
    
    Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
    Suggested-by: Frediano Ziglio <fziglio@redhat.com>
    
    NOTE: This may not be the final change. If this is to be used
    in LGPLv2.1 projects like SPICE, the current setup may not be
    correct, as indicated the license compatibility matrix at
    https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility.
    
    The intent of the authors is to make the code license-compatible,
    and further licensing changes may be required to that effect.
    c3d committed Nov 8, 2018
    Copy the full SHA
    1543b31 View commit details
    Browse the repository at this point in the history
  2. Build a versioned shared library

    Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
    Suggested-by: Frediano Ziglio <fziglio@redhat.com>
    c3d committed Nov 8, 2018
    Copy the full SHA
    7c9228b View commit details
    Browse the repository at this point in the history
  3. Rename old project variable to new name

    INCPATH was renamed to INCLUDEPATH in QT4.
    Avoid a warning in newer qmake.
    
    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Frediano Ziglio authored and c3d committed Nov 8, 2018
    Copy the full SHA
    ed732e7 View commit details
    Browse the repository at this point in the history
  4. Avoid warning compiling recorder_trace_set if regex.h is not present

    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Frediano Ziglio committed Nov 8, 2018
    Copy the full SHA
    999d28d View commit details
    Browse the repository at this point in the history
  5. Fix typo in usage help

    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Frediano Ziglio committed Nov 8, 2018
    Copy the full SHA
    79110bf View commit details
    Browse the repository at this point in the history
  6. Remove duplicate declaration

    Just declared some lines above
    
    Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
    Frediano Ziglio committed Nov 8, 2018
    Copy the full SHA
    6964a97 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2018

  1. Switch libregex to configuration

    Some MinGW variants have it, some don't (MSYS2 MinGW64 environmnent)
    c3d committed Nov 4, 2018
    Copy the full SHA
    a355e25 View commit details
    Browse the repository at this point in the history
  2. Fix one remaining case of direct reference to regexec

    This breaks on some MinGW variants with:
    recorder.c: In function "recorder_trace_set":
    recorder.c:2320:29: warning: implicit declaration of function "regexec" [-Wimplicit-function-declaration]
                             if (regexec(&re, rec->name, 1, &rm, 0) == 0 &&
                                 ^~~~~~~
    recorder.c:2320:38: error: "re" undeclared (first use in this function)
                             if (regexec(&re, rec->name, 1, &rm, 0) == 0 &&
                                          ^~
    recorder.c:2320:38: note: each undeclared identifier is reported only once for each function it appears in
    recorder.c:2320:57: error: "rm" undeclared (first use in this function)
                             if (regexec(&re, rec->name, 1, &rm, 0) == 0 &&
                                                             ^~
    recorder.c:2150:21: warning: unused variable "error" [-Wunused-variable]
         static char     error[128];
                         ^~~~~
    At top level:
    recorder.c:2150:21: warning: "error" defined but not used [-Wunused-variable]
    recorder.c:952:13: warning: "recorder_shans_file_extend" defined but not used [-Wunused-function]
     static bool recorder_shans_file_extend(int fd, off_t new_size)
    c3d committed Nov 4, 2018
    Copy the full SHA
    a30c77f View commit details
    Browse the repository at this point in the history
  3. Add -lregex for versions of MinGW that require it

    On MinGW, regex will be  in /mingw32/lib/libregex.a.
    Apparently, it's also possible to use pcre2
    c3d committed Nov 4, 2018
    Copy the full SHA
    278103e View commit details
    Browse the repository at this point in the history
  4. Use drand48 autoconfiguration instead of CONFIG_MINGW

    This is in case MinGW someday fixes their drand48 situation.
    Also, it happens that I was using drand48, which was not adjusted for.
    c3d committed Nov 4, 2018
    Copy the full SHA
    4f4a59c View commit details
    Browse the repository at this point in the history
  5. Adjust to versions of MinGW that don't have <sys/mman.h>

    I see this appear on an old Win7 machine
    c3d committed Nov 4, 2018
    Copy the full SHA
    d836033 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2018

  1. Avoid warning when toggling timing

    Without precisely tracking if axis is already attached, you get:
    
    "Can not add axis. Axis already on the chart."
    c3d committed Oct 29, 2018
    Copy the full SHA
    997847b View commit details
    Browse the repository at this point in the history
Older