]> sourceware.org Git - systemtap.git/commit
Cache failed tracepoint headers too
authorJosh Stone <jistone@redhat.com>
Sat, 15 Aug 2009 00:56:46 +0000 (17:56 -0700)
committerJosh Stone <jistone@redhat.com>
Sat, 15 Aug 2009 01:05:47 +0000 (18:05 -0700)
commitc95eddf7e5ef5b2c8f9f804eeb34a7663ccdb0a3
tree930beb098d58264f21b1268b65dec981f7094ab7
parent671ceda847955e31bc3ab310eb180fdc687a2ca8
Cache failed tracepoint headers too

Rather than re-attempting a tracepoint header that fails to compile, we
now save an empty file into the cache to indicate "nothing to see here."
See also PR10424.

* tapsets.cxx (tracepoint_builder::get_tracequery_module): Use /dev/null
  as the empty result file if make_tracequery fails.
  (tracepoint_builder::init_dw): Ignore empty tracequery modules.
tapsets.cxx
This page took 0.026741 seconds and 5 git commands to generate.