diff options
author | Josh Stone <jistone@redhat.com> | 2009-01-28 17:01:20 -0800 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-01-28 17:16:50 -0800 |
commit | 73267b89ea6ede28b1a0a10667774bca6eb2b37e (patch) | |
tree | 8004f6fc06820356033767d574dd228cc3ca78e7 | |
parent | 4c2732a1dad1de295c9219ee3afac007b2d7ba05 (diff) | |
download | systemtap-steved-73267b89ea6ede28b1a0a10667774bca6eb2b37e.tar.gz systemtap-steved-73267b89ea6ede28b1a0a10667774bca6eb2b37e.tar.xz systemtap-steved-73267b89ea6ede28b1a0a10667774bca6eb2b37e.zip |
Add Vim modelines for GNU style in stap
-rw-r--r-- | auto_free.h | 2 | ||||
-rw-r--r-- | buildrun.cxx | 2 | ||||
-rw-r--r-- | buildrun.h | 2 | ||||
-rw-r--r-- | cache.cxx | 2 | ||||
-rw-r--r-- | cache.h | 2 | ||||
-rw-r--r-- | coveragedb.cxx | 2 | ||||
-rw-r--r-- | coveragedb.h | 1 | ||||
-rw-r--r-- | dwarf_wrappers.cxx | 2 | ||||
-rw-r--r-- | dwarf_wrappers.h | 2 | ||||
-rw-r--r-- | elaborate.cxx | 1 | ||||
-rw-r--r-- | elaborate.h | 2 | ||||
-rw-r--r-- | hash.cxx | 2 | ||||
-rw-r--r-- | hash.h | 2 | ||||
-rw-r--r-- | loc2c.h | 2 | ||||
-rw-r--r-- | main.cxx | 2 | ||||
-rw-r--r-- | parse.cxx | 1 | ||||
-rw-r--r-- | parse.h | 2 | ||||
-rw-r--r-- | session.h | 2 | ||||
-rw-r--r-- | staptree.cxx | 1 | ||||
-rw-r--r-- | staptree.h | 2 | ||||
-rw-r--r-- | tapsets.cxx | 2 | ||||
-rw-r--r-- | tapsets.h | 2 | ||||
-rw-r--r-- | translate.cxx | 2 | ||||
-rw-r--r-- | translate.h | 2 | ||||
-rw-r--r-- | util.cxx | 1 | ||||
-rw-r--r-- | util.h | 2 |
26 files changed, 47 insertions, 0 deletions
diff --git a/auto_free.h b/auto_free.h index 58290821..53b13d47 100644 --- a/auto_free.h +++ b/auto_free.h @@ -56,3 +56,5 @@ private: pointer_type& _ptr; }; #endif + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/buildrun.cxx b/buildrun.cxx index c626cf2a..6ce56a09 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -306,3 +306,5 @@ run_pass (systemtap_session& s) rc = system (staprun_cmd.c_str ()); return rc; } + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -16,3 +16,5 @@ int run_pass (systemtap_session& s); #endif // BUILDRUN_H + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -295,3 +295,5 @@ unlink_cache_entry(const string &cache_ent_path) unlink(mod_path.c_str()); //it must exist, globbed for it earlier unlink(source_path.c_str()); //if its not there, no matter } + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -18,3 +18,5 @@ void clean_cache(systemtap_session& s); long get_cache_file_size(const std::string &cache_ent_path); long get_cache_file_weight(const std::string &cache_ent_path); void unlink_cache_entry(const std::string &cache_ent_path); + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/coveragedb.cxx b/coveragedb.cxx index aafcd545..452041fc 100644 --- a/coveragedb.cxx +++ b/coveragedb.cxx @@ -369,3 +369,5 @@ void update_coverage_db(systemtap_session &s) } #endif /* HAVE_LIBSQLITE3 */ + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/coveragedb.h b/coveragedb.h index df5782ca..3675e3b4 100644 --- a/coveragedb.h +++ b/coveragedb.h @@ -77,3 +77,4 @@ void update_coverage_db(systemtap_session &s); #endif +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/dwarf_wrappers.cxx b/dwarf_wrappers.cxx index f83c4665..3627b989 100644 --- a/dwarf_wrappers.cxx +++ b/dwarf_wrappers.cxx @@ -44,3 +44,5 @@ void dwfl_assert(const std::string& desc, bool condition) if (!condition) dwfl_assert(desc, -1); } + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/dwarf_wrappers.h b/dwarf_wrappers.h index abf2c1e5..959ece92 100644 --- a/dwarf_wrappers.h +++ b/dwarf_wrappers.h @@ -91,3 +91,5 @@ public: #endif + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/elaborate.cxx b/elaborate.cxx index db1a4d78..3b4c944c 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -4105,3 +4105,4 @@ typeresolution_info::resolved (const token*, exp_type) num_newly_resolved ++; } +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/elaborate.h b/elaborate.h index df888360..c8697595 100644 --- a/elaborate.h +++ b/elaborate.h @@ -260,3 +260,5 @@ struct unparser; #endif // ELABORATE_H + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -191,3 +191,5 @@ find_hash (systemtap_session& s, const string& script) // Update C source name with new module_name. s.translated_source = string(s.tmpdir) + "/" + s.module_name + ".c"; } + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -35,3 +35,5 @@ public: }; void find_hash (systemtap_session& s, const std::string& script); + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -93,3 +93,5 @@ c_translate_pointer_store (struct obstack *pool, int indent, Writes complete lines of C99, code forming a complete C block, to STREAM. Return value is true iff that code uses the `deref' runtime macros. */ bool c_emit_location (FILE *stream, struct location *loc, int indent); + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -1175,3 +1175,5 @@ pass_5: return (rc||pending_interrupts) ? EXIT_FAILURE : EXIT_SUCCESS; } + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -2558,3 +2558,4 @@ parser::parse_symbol () return sym; } +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -209,3 +209,5 @@ private: // nonterminals #endif // PARSE_H + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -192,3 +192,5 @@ struct systemtap_session extern int pending_interrupts; #endif // SESSION_H + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/staptree.cxx b/staptree.cxx index fafefc4e..cc618111 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -2508,3 +2508,4 @@ require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src) } } +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -882,3 +882,5 @@ provide (deep_copy_visitor* v, T src) } #endif // STAPTREE_H + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/tapsets.cxx b/tapsets.cxx index 9246d22c..45c7b0e4 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -9703,3 +9703,5 @@ all_session_groups(systemtap_session& s) #undef DOONE return g; } + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -20,3 +20,5 @@ std::vector<derived_probe_group*> all_session_groups(systemtap_session& s); #endif // TAPSETS_H + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/translate.cxx b/translate.cxx index 2f6898ae..7361edbe 100644 --- a/translate.cxx +++ b/translate.cxx @@ -5019,3 +5019,5 @@ translate_pass (systemtap_session& s) return rc + s.num_errors(); } + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ diff --git a/translate.h b/translate.h index 9921acd5..fdff9521 100644 --- a/translate.h +++ b/translate.h @@ -101,3 +101,5 @@ int translate_pass (systemtap_session& s); #endif // TRANSLATE_H + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -248,3 +248,4 @@ const string cmdstr_quoted(const string& cmd) return quoted_cmd; } +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ @@ -86,3 +86,5 @@ lex_cast_qstring(IN const & in) out2 += '"'; return out2; } + +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ |