summaryrefslogtreecommitdiffstats
path: root/hash.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 2006-12-21 David Smith <dsmith@redhat.com>dsmith2006-12-211-1/+3
| | | | | | * hash.cxx (find_hash): Added two more options into the hash that change the generated C file - '-M' (merge) and '-t' (benchmark timing).
* 2006-12-11 David Smith <dsmith@redhat.com>dsmith2006-12-111-0/+1
| | | | | | * hash.cxx (find_hash): Fixed a caching bug. Bulk mode (relayfs) status should be figured into the hash since it changes the generated C code.
* 2006-10-23 David Smith <dsmith@redhat.com>dsmith2006-10-231-0/+168
* main.cxx (printscript): New function containing code moved from main(). (main): Added code to create cache directory, call function to generate hash, and see if we can use cached source/module. If pass 4 is actually run to produce a new module, we call add_to_cache() to cache the result. * session.h (struct systemtap_session): Added hash/cache session data. * cache.cxx: New file handling adding/getting files from the cache. * cache.h: New header file for cache.cxx. * hash.cxx: New file containing C++ wrapper for routines in mdfour.c and the find_hash function which computes the hash file name for an input script. * hash.h: New header file for hash.cxx. * mdfour.c: New file containing MD4 hash code. * mdfour.h: New header file for mdfour.c. * util.cxx: New file containing several utility functions used by the caching code. * util.h: New header file for util.cxx. * Makefile.am: Added new C/C++ files. * Makefile.in: Regenerated.