This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src testsuite/semko/thirtyone.stp testsuite/se ...


CVSROOT:	/cvs/systemtap
Module name:	src
Changes by:	graydon@sourceware.org	2005-11-24 05:55:52

Modified files:
	testsuite/semko: thirtyone.stp thirty.stp twentyeight.stp 
	                 twentyfive.stp twentyfour.stp twentynine.stp 
	                 twentyseven.stp twentysix.stp 
	.              : translate.cxx parse.h parse.cxx staptree.h 
	                 staptree.cxx elaborate.h elaborate.cxx 
	                 session.h ChangeLog 
Added files:
	testsuite/buildok: stat_extract.stp stat_insert.stp 

Log message:
	2005-11-23  Graydon Hoare  <graydon@redhat.com>
	
	* elaborate.h (get_symbol_within_expression): Make visible.
	* elaborate.cxx (get_symbol_within_expression): Make non-static.
	(stat_decl_collector): New struct.
	(semantic_pass_stats): New semantic pass.
	(semantic_pass): Call it.
	(semantic_pass_symbols): Remove collection of statistic_decls from files.
	(visit_stat_op): Only fail if inferred type is not pe_long.
	
	* parse.cxx (parser::parse): Don't pass per-file statistic_decl
	into parse_global.
	(parser::parse_global): Don't parse global statistic_decls,
	they're obsolete.
	* parse.hh (parser::parse_global): Adjust signature to match.
	
	* session.h (statistic_decl::operator==): New method.
	
	* staptree.h (print_format::is_empty): New method.
	(stapfile::stat_decls): Remove field.
	* staptree.cxx (string_to_components): Fix bugs in format-string
	parser.
	
	* translate.cxx (var): Make private fields protected.
	(var::init): Support HIST_NONE stats.
	(aggvar): New struct.
	(mapvar::is_parallel): New method.
	(mapvar::call_prefix): Use it.
	(mapvar::calculate_aggregate): New method.
	(mapvar::fetch_existing_aggregate): New method.
	(mapvar::get): Support pe_stats.
	(mapvar::init): Use is_parallel(), and support HIST_NONE.
	(itervar::itervar): Only fault on pe_unknown.
	(itervar::start): Use mapvar::is_parallel and
	mapvar::fetch_existing_aggregate.
	(emit_map_type_instantiations): Include alloc.c before pmap-gen.c.
	Include pmap-gen.c for pe_stats maps.
	(c_unparser::gensym_aggregate): New method.
	(c_unparser::visit_foreach_loop): Handle mapvar::is_parallel case.
	(arrayindex_downcaster): New struct.
	(expression_is_arrayindex): New function.
	(c_tmpcounter::visit_stat_op): New method.
	(c_unparser::visit_stat_op): Implement.
	(c_unparser::visit_hist_op): Add commentary, still not implemented.
	
	* testsuite/buildok/stat_{insert,extract}.stp: New tests.
	* testsuite/semok/ten.stp: Correct for changes to global declarations.
	* testsuite/semko/*.stp: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/thirtyone.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/thirty.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyeight.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyfive.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyfour.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentynine.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyseven.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentysix.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/buildok/stat_extract.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/buildok/stat_insert.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.70&r2=1.71
http://sourceware.org/cgi-bin/cvsweb.cgi/src/parse.h.diff?cvsroot=systemtap&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.32&r2=1.33
http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.h.diff?cvsroot=systemtap&r1=1.29&r2=1.30
http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.34&r2=1.35
http://sourceware.org/cgi-bin/cvsweb.cgi/src/elaborate.h.diff?cvsroot=systemtap&r1=1.23&r2=1.24
http://sourceware.org/cgi-bin/cvsweb.cgi/src/elaborate.cxx.diff?cvsroot=systemtap&r1=1.39&r2=1.40
http://sourceware.org/cgi-bin/cvsweb.cgi/src/session.h.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.231&r2=1.232


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]