pcp
[Top] [All Lists]

pcp updates: hash iterator, kenj merge

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: hash iterator, kenj merge
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sat, 9 Mar 2013 02:58:55 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <327944825.17534126.1362815901852.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 .dir-locals.el                  |    7 ++
 qa/705                          |  116 +++++++++++++++++++++++++---------------
 qa/705.out                      |   59 ++++++++++++++++----
 qa/group                        |    1 
 qa/src/.gitignore               |    1 
 qa/src/GNUlocaldefs             |    7 ++
 qa/src/hashwalk.c               |   69 +++++++++++++++++++++++
 src/include/pcp/impl.h          |   31 +++++++---
 src/libpcp/src/hash.c           |  112 +++++++++++++++++++++++++++++++-------
 src/libpcp/src/nss_connect.c    |    2 
 src/pmlogrewrite/gram.y         |   27 +++++----
 src/pmlogrewrite/logger.h       |    6 --
 src/pmlogrewrite/pmlogrewrite.c |   21 ++++---
 src/pmlogrewrite/util.c         |   36 ------------
 14 files changed, 354 insertions(+), 141 deletions(-)

commit 72dc1034c703720f788a5295fc03e0da43f52a4d
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Fri Mar 8 22:02:50 2013 -0500

    add emacs indentation settings for pcp sources

commit 61e336161db146986ed2a3747cb913397064a723
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Sat Mar 9 16:02:14 2013 +1100

    Move hash walker from pmlogreduce into libpcp too
    
    Discovered symbol clash on __pmHashWalk being added into
    libpcp with another implementation in pmlogreduce.  After
    some discussion, decided both approaches have a place and
    both should be generally available.
    
    Slight tweaks to the __pmHashWalk variant from pmlogreduce
    so that it doesn't use static data - instead, add to the end
    of the __pmHashCtl struct (in a backwards compatible way,
    just in case) these couple of extra bits of state.
    
    Extended QA test to cover both mechanisms and also compare
    results from walking a hash table both ways.
    
    Moved inline-on-the-fly C code generation from the QA test
    into qa/src for debuggability; added a check to the QA test
    to ensure its notrun on earlier libpcp variants.

commit b997f59457df73baa080f2e11c7b35afd858ff68
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Fri Mar 8 16:22:49 2013 -0500

    libpcp: add new function __pmHashWalkCB
    
    This API provides a callback-style iteration for __pmHashCtl hash
    tables, permitting deletions as it goes.  (pmlogrewriter has a
    static-variable-based private __pmHashWalk function, so that name
    is taken).
    
    * src/libpcp/src/hash.c (__pmHashWalkCB): New function
    * src/include/pcp/impl.h: Declare it and its helper macros/types.
    * qa/705, qa/705.out: New test.
    * qa/group: List it.

commit d96629edf88eb4ddc545f2b843ce6a2faa8f5433
Merge: 074e353 b0ffe59
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Mar 8 15:30:15 2013 +1100

    Merge branch 'kenj' into dev

commit 074e35344b60972d5b7fa2890647dc5cd1ed4250
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Thu Mar 7 11:52:42 2013 -0500

    Typo: AF_UNSPEC -> PR_AF_UNSPEC.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: hash iterator, kenj merge, Nathan Scott <=