Advertisement
agentzh

Untitled

Aug 30th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. diff --git a/elaborate.cxx b/elaborate.cxx
  2. index 2c08568ac..46850d90c 100644
  3. --- a/elaborate.cxx
  4. +++ b/elaborate.cxx
  5. @@ -1746,6 +1746,10 @@ void embeddedcode_info_pass (systemtap_session& s)
  6. embeddedcode_info eci (s);
  7. for (unsigned i=0; i<s.probes.size(); i++)
  8. s.probes[i]->body->visit (& eci);
  9. +
  10. + for (map<string,functiondecl*>::iterator it = s.functions.begin();
  11. + it != s.functions.end(); it++)
  12. + it->second->body->visit (& eci);
  13. }
  14.  
  15. // ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement