]> sourceware.org Git - systemtap.git/commit
tracepoints: Cache an empty file for failures
authorJosh Stone <jistone@redhat.com>
Tue, 11 Oct 2011 20:13:40 +0000 (13:13 -0700)
committerJosh Stone <jistone@redhat.com>
Tue, 11 Oct 2011 21:23:42 +0000 (14:23 -0700)
commitc252fca28cedf267799abdb2698abbb3e4f051ca
tree6544a071dca29351c9bb92f9b62e4a23c488ed09
parent3c5dc9341005e128957e5ea5d6aa199d4011c30c
tracepoints: Cache an empty file for failures

When a tracepoint header doesn't compile for any reason, we'd like not
to keep trying on subsequent runs.  This patch restores previous
behavior that would save an empty file in the cache, signaling that
we've tried this header before and can't get anything from it.

* tapsets.cxx (tracepoint_builder::get_tracequery_modules): When reading
  from the cache, note and skip empty files.  When saving to the cache,
  copy /dev/null for those that failed to compile.
tapsets.cxx
This page took 0.028732 seconds and 5 git commands to generate.