]> sourceware.org Git - systemtap.git/commit
Restore the dedupe logic for tracepoint headers
authorJosh Stone <jistone@redhat.com>
Thu, 7 Jan 2016 01:12:18 +0000 (17:12 -0800)
committerJosh Stone <jistone@redhat.com>
Thu, 7 Jan 2016 01:12:18 +0000 (17:12 -0800)
commit9369d397c37db14df8c5a14c448dd47cd84683aa
tree13fb7a9fee5087f908bd292d3e785bd867b1e1eb
parent0af18f5aa4c71440ab25d6ae1adda9f84774405b
Restore the dedupe logic for tracepoint headers

With and without this dedupe logic, I see no difference in the
tracepoints found on Fedora 23, RHEL7, and RHEL6.  But it is faster
since we avoid processing headers found in both the kernel source tree
and build tree.

The way the header paths are normalized for #include, I don't see how
skipping that dedupe logic was supposed to help find more tracepoints.
I've added a comment pointing to what other functions would need to
change as well for that to have a more tangible effect, in case we
decide to compare file contents instead of just paths, for instance.

See also commit b1966849ecf that introduced the "#if 0" I'm removing.
The specific tracepoints mentioned in irq_vectors.h are still fine.
tapsets.cxx
This page took 0.028865 seconds and 5 git commands to generate.