]> sourceware.org Git - systemtap.git/log
systemtap.git
18 years ago2005-10-28 Martin Hunt <hunt@redhat.com>
hunt [Fri, 28 Oct 2005 19:20:28 +0000 (19:20 +0000)]
2005-10-28  Martin Hunt  <hunt@redhat.com>
* maps/keys.c: New file. Tests specific to _stp_key_get_*().

* maps/iiss2.c (main): Add some comments to make clear expected
results.
* maps/is2.c (main): _stp_map_get_*s() now returns "" instead
of NULL when lookup fails. _stp_map_set_*s() now deletes a node
when setting to "" (as well as NULL).
* maps/setadd.c (main): Ditto.
* maps/map.test: update results.

18 years ago.
roland [Wed, 26 Oct 2005 20:19:15 +0000 (20:19 +0000)]
.

18 years ago2005-10-26 Roland McGrath <roland@redhat.com>
roland [Wed, 26 Oct 2005 20:18:13 +0000 (20:18 +0000)]
2005-10-26  Roland McGrath  <roland@redhat.com>

* loc2c.c (max_fetch_size): Default to host pointer size,
while still waiting for new libdw entrypoint.

18 years ago2005-10-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 26 Oct 2005 18:05:59 +0000 (18:05 +0000)]
2005-10-26  Martin Hunt  <hunt@redhat.com>

* maps/map.test: Add results for iiiiii and ssssss.
* maps/iiiiii.c: New file.
* maps/ssssss.c: New file.

18 years ago2005-10-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 26 Oct 2005 17:39:37 +0000 (17:39 +0000)]
2005-10-26  Martin Hunt  <hunt@redhat.com>

* map-gen.c (KEY4CPY): Fix typo.
(KEYCPY): Add missing semicolon.

18 years ago2005-10-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 26 Oct 2005 17:39:08 +0000 (17:39 +0000)]
2005-10-26  Martin Hunt  <hunt@redhat.com>

* maps/map.test: Add results for issii2.

18 years ago2005-10-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 26 Oct 2005 08:29:38 +0000 (08:29 +0000)]
2005-10-26  Martin Hunt  <hunt@redhat.com>

* map.c (_new_map_create, _new_map_del_node, _new_map_del_node,
_new_map_set_int64, _new_map_set_str,_new_map_get_int64,
_new_map_get_str, _new_map_get_stat, _new_map_set_stat):
New internal functions for the new API.

* map-int.c (__stp_map_set_int64): Modify to return an
error code.
* map-stat.c (_stp_map_add_stat): Ditto.
* map-str (_stp_map_set_str): Ditto.

* Doxyfile: Remove predefines NEED_STRING_VALS,
NEED_STATS, NEED_INT64.
* map-keys.c: Ditto.
* list.c (_stp_list_new): Ditto. Also set map->list.
* map-values.c: Ditto.

18 years ago2005-10-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 26 Oct 2005 08:09:46 +0000 (08:09 +0000)]
2005-10-26  Martin Hunt  <hunt@redhat.com>

* recreate_links: Add link to map-gen.c.

18 years ago2005-10-26 Martin Hunt <hunt@redhat.com>
hunt [Wed, 26 Oct 2005 08:08:53 +0000 (08:08 +0000)]
2005-10-26  Martin Hunt  <hunt@redhat.com>

* maps/map.test: Update with results for new tests.
* maps/*2.c: Tests for the new API.
* maps/ist.c: Renamed isx.c.
* maps/setadd.c: New test of adding and setting.

18 years ago.
roland [Wed, 26 Oct 2005 00:00:54 +0000 (00:00 +0000)]
.

18 years ago2005-10-25 Roland McGrath <roland@redhat.com>
roland [Wed, 26 Oct 2005 00:00:46 +0000 (00:00 +0000)]
2005-10-25  Roland McGrath  <roland@redhat.com>

PR 1271 cont'd.
* testsuite/buildok/twentytwo.stp: New file.
* testsuite/buildok/twentythree.stp: New file.
* loc2c.c (discontiguify): Add missing ; in output.

18 years ago2005-10-20 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 20 Oct 2005 22:11:33 +0000 (22:11 +0000)]
2005-10-20  Graydon Hoare  <graydon@redhat.com>

PR 917 (incomplete)
* staptree.h (struct statistic_decl): New struct.
(stapfile::stat_decls): New member.

* parse.h, parse.cxx
(parser::expect_known): Fix typo.
(parser::expect_number): New method.
(parser::parse_global): Parse global statistic_decls.

* elaborate.h (systemtap_session::stat_decls): New member.
* elaborate.cxx (semantic_pass_symbols): Copy per-file stat_decls
to session-wide.
(typeresolution_info::visit_assignment): Detect some semantic stats
errors in type resolution pass.

* translate.cxx (var::sd): New private member.
(var::var): Initialize it.
(var::sdecl): New accessor.
(var::init): Handle stats values.
(mapvar::mapvar): Pass through statistic_decl to var ctor.
(mapvar::get): Test for long explicitly.
(mapvar::set): Likewise.
(mapvar::init): Handle stats values.
(c_unparser::emit_common_header): Remove typedef of stats_t,
include stat.c when necessary.
(mapvar::key_typename): Typo.
(c_unparser::emit_map_type_instantiations): Thinko: value_typename not key_typename.
(c_unparser::c_typename): Implementation typename is "Stat", not "stats_t".
(c_unparser::c_assign): Fix bad error message.
(c_unparser_assignment::c_assignop): Handle operator <<<.
(c_unparser::getvar): Feed session statistic_decl into var.
(c_unparser::getmap): Likewise.
(c_unparser::visit_assignment): Handle operator <<<.
(c_tmpcounter_assignment::visit_symbol): Derive type from rvalue when present.
(c_unparser_assignment::visit_symbol)
(c_tmpcounter_assignment::visit_arrayindex)
(c_unparser_assignment::load_map_indices): Likewise.
(c_unparser::visit_arrayindex): Likewise, and Prohibit statistic rvalues.
(c_unparser_assignment::visit_arrayindex): Handle operator <<<.

* testsuite/semko/twentyfour.stp:
* testsuite/semko/twentyfive.stp:
* testsuite/semko/twentysix.stp:
* testsuite/semko/twentyseven.stp:
* testsuite/semko/twentyeight.stp:
* testsuite/semko/twentynine.stp:
* testsuite/semko/thirty.stp:
* testsuite/semko/thirtyone.stp: New tests for prohibited statistic contexts.
* testsuite/buildok/twentytwo.stp: New test for legal statistic contexts.

18 years ago2005-10-19 Martin Hunt <hunt@redhat.com>
hunt [Wed, 19 Oct 2005 21:04:34 +0000 (21:04 +0000)]
2005-10-19  Martin Hunt  <hunt@redhat.com>

* runtime.h (_stp_kallsyms_lookup_tabled): Only
compile this for systemtap. Runtime-only examples
don't need it.

18 years agofixes part of PR1194 (passing -o option to stpd)
trz [Wed, 19 Oct 2005 19:35:35 +0000 (19:35 +0000)]
fixes part of PR1194 (passing -o option to stpd)

18 years agoswitch to binary TIMESTAMP
trz [Wed, 19 Oct 2005 14:32:25 +0000 (14:32 +0000)]
switch to binary TIMESTAMP

18 years agobugfix patch applied
trz [Wed, 19 Oct 2005 14:20:38 +0000 (14:20 +0000)]
bugfix patch applied

18 years ago2005-10-18 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 18 Oct 2005 17:59:17 +0000 (17:59 +0000)]
2005-10-18  Frank Ch. Eigler  <fche@redhat.com>

PR 1477.
* main.cxx (main): Set PATH and LC_ALL, so
* buildrun.cxx (compile_pass, run_pass): ... and ...
* translate.cxx (emit_symbol_data): ... don't have to.

18 years ago2005-10-18 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 18 Oct 2005 12:40:59 +0000 (12:40 +0000)]
2005-10-18  Frank Ch. Eigler  <fche@elastic.org>

PR 1482 cont'd.
* translator.cxx (emit_module_init): Set aside a variable for
detailed probe point id.
* tapsets.cxx (emit_registrations): Use it.
(add_probe_point): Correct synthesized probe-point typo.

18 years ago2005-10-17 Martin Hunt <hunt@redhat.com>
hunt [Tue, 18 Oct 2005 04:34:05 +0000 (04:34 +0000)]
2005-10-17  Martin Hunt  <hunt@redhat.com>

* transport.c (_stp_handle_start): Grab semaphore before
calling probe_start() and release after it is done.
(_stp_handle_exit): Ditto for exiting. This prevents
exiting before probe_start() is finished.

18 years ago2005-10-17 Martin Hunt <hunt@redhat.com>
hunt [Tue, 18 Oct 2005 04:30:46 +0000 (04:30 +0000)]
2005-10-17  Martin Hunt  <hunt@redhat.com>
PR 1482
* tapsets.cxx (emit_registrations): On failure, don't
forget to unregister probe 0;

18 years ago* verbosify wildcard/alias nested error messages
fche [Tue, 18 Oct 2005 02:34:41 +0000 (02:34 +0000)]
* verbosify wildcard/alias nested error messages

18 years ago2005-10-17 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 18 Oct 2005 02:28:00 +0000 (02:28 +0000)]
2005-10-17  Frank Ch. Eigler  <fche@elastic.org>

PR 1338.
* parse.cx (parse_probe): Unconditionally visit parse_probe_point.
(parse_probe_point): Accept "*" as component name.
* stapprobes.5.in: Document this.
* elaborate.cxx (derive_probes): Rewrite.  Make top-level function.
(match_node::find_and_build): New function to replace
(find_builder): Removed.
(match_key operator <): Correct one nasty typo.
(match_node::bind): Refuse to bind "*" component names.
(derived_probe_builder::build): Remove recursion output param.
(alias_expandion_builder::build): Recurse to derive_probes instead.
* elaborate.h: Corresponding changes.
* tapsets.cxx: Ditto.
(query_cu): Elide prologue finding for uninteresting CUs.
* testsuite/semok/nineteen.stp: New test.
* testsuite/semko/twentythree.stp: New test.
* testsuite/semko/twentyone/two.stp: Fix -p2.

18 years ago2005-10-17 Graydon Hoare <graydon@redhat.com>
graydon [Mon, 17 Oct 2005 23:52:34 +0000 (23:52 +0000)]
2005-10-17  Graydon Hoare  <graydon@redhat.com>

* testsuite/semko/twentyone.stp: Check function doesn't match inline.

* testsuite/semko/twentytwo.stp: Check inline doesn't match function.

* testsuite/buildok/six.stp: Change "function" to "inline".

* stapprobes.5.in: Describe "inline" probes.

* tapsets.cxx (TOK_INLINE): New token "inline".
(dwarf_query::has_inline_str)
(dwarf_query::has_inline_num)
(dwarf_query::inline_str_val)
(dwarf_query::inline_num_val): New members.
(dwarf_query::dwarf_query): Load new members.
(query_dwarf_inline_instance)
(query_dwarf_func)
(query_cu)
(query_module)
(dwarf_derived_probe::add_probe_point)
(dwarf_builder::build):
Use inline-related members where appropriate.
(dwarf_derived_probe::register_inline_variants): New method.
(dwarf_derived_probe::register_function_and_statement_variants):
Call it.

18 years agoApplied bugfix patch
trz [Fri, 14 Oct 2005 22:13:13 +0000 (22:13 +0000)]
Applied bugfix patch

18 years agoAdded #ifdef'ed support for kernels containing the recent relayfs API changes
trz [Fri, 14 Oct 2005 21:53:51 +0000 (21:53 +0000)]
Added #ifdef'ed support for kernels containing the recent relayfs API changes

18 years agoFix for PR 1476
trz [Fri, 14 Oct 2005 18:35:30 +0000 (18:35 +0000)]
Fix for PR 1476

18 years agoFix for PR 1455
trz [Fri, 14 Oct 2005 15:59:05 +0000 (15:59 +0000)]
Fix for PR 1455

18 years ago.
roland [Fri, 14 Oct 2005 11:30:53 +0000 (11:30 +0000)]
.

18 years ago2005-10-14 Roland McGrath <roland@redhat.com>
roland [Fri, 14 Oct 2005 11:30:45 +0000 (11:30 +0000)]
2005-10-14  Roland McGrath  <roland@redhat.com>

PR 1271.
* loc2c.c (translate): Set LOC->byte_size in loc_noncontiguous result.
(struct location.address): New member `declare'.
(new_synthetic_loc, translate): Initialize it.
(struct location.type): Add loc_fragment, loc_decl to enum.
(c_emit_location): Emit unadorned code for loc_fragment.
(discontiguify): New function.
(c_translate_fetch, c_translate_store): Call it.
(get_bitfield): New function, broken out of ....
(emit_bitfield): ... here.  Function removed.
(declare_noncontig_union): New function.
(max_fetch_size): New function.
(translate_base_fetch): New function, broken out of ...
(c_translate_fetch): ... here.  Call it.
Use get_bitfield here, not emit_bitfield.
(c_translate_store): Likewise.
(c_emit_location): Emit declarations first.
* loc2c.c (dwarf_diename_integrate): Function removed.
Change all callers to use dwarf_diename.
2005-10-13  Roland McGrath  <roland@redhat.com>

* loc2c.c (c_emit_location): Use final location's used_deref flag too.
* loc2c.c (translate): Pass LOC to alloc_location, not INPUT.

18 years ago2005-10-14 Roland McGrath <roland@redhat.com>
roland [Fri, 14 Oct 2005 11:30:40 +0000 (11:30 +0000)]
2005-10-14  Roland McGrath  <roland@redhat.com>

* loc2c-test.c (handle_variable): Check for "=" before fetching DIE
from ATTR_MEM.

18 years ago.
roland [Fri, 14 Oct 2005 00:21:42 +0000 (00:21 +0000)]
.

18 years ago2005-10-13 Roland McGrath <roland@redhat.com>
roland [Fri, 14 Oct 2005 00:21:34 +0000 (00:21 +0000)]
2005-10-13  Roland McGrath  <roland@redhat.com>

* loc2c-test.c (fail): Print a newline after the error message.

18 years agotypo fix
fche [Thu, 13 Oct 2005 17:57:05 +0000 (17:57 +0000)]
typo fix

18 years agotapset/systemcall.stp:
kevinrs [Wed, 12 Oct 2005 23:47:26 +0000 (23:47 +0000)]
tapset/systemcall.stp:
* Tested the first 15 aliases on fc4. Cleaned up
  some code.
tapset/aux_syscalls.stp:
* Added file to contain aux helper functions that
  are used by the system call tapset. Added embed-
  ded C functions to extract values from user-
  space pointers.

18 years ago* typo fix
fche [Wed, 12 Oct 2005 19:51:39 +0000 (19:51 +0000)]
* typo fix

18 years ago* new file
fche [Wed, 12 Oct 2005 19:07:08 +0000 (19:07 +0000)]
* new file

18 years agoCorrected substr documentation.
kevinrs [Wed, 12 Oct 2005 14:42:47 +0000 (14:42 +0000)]
Corrected substr documentation.

18 years agoformat typo
roland [Mon, 10 Oct 2005 21:11:06 +0000 (21:11 +0000)]
format typo

18 years ago2005-10-10 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 10 Oct 2005 21:01:26 +0000 (21:01 +0000)]
2005-10-10  Frank Ch. Eigler  <fche@elastic.org>

* elaborate.cxx (match_node::bind): Improve error message.
(register_library_aliases): Catch and verbosify error message.
(semantic_pass): Provide a back-up exception catcher.

18 years ago2005-10-10 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 10 Oct 2005 17:06:57 +0000 (17:06 +0000)]
2005-10-10  Frank Ch. Eigler  <fche@elastic.org>

PR 1456.
* translate.cxx (c_unparser_assignment): Rename "pre" field to "post",
add blurb to clarify polarity.
(visit_pre/post_crement): Flip passed flag value.

2005-10-10  Frank Ch. Eigler  <fche@elastic.org>

PR 1456.
* systemtap.samples/arith.stp: Add pre/post-crement tests.

18 years ago2005-10-07 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 7 Oct 2005 19:09:02 +0000 (19:09 +0000)]
2005-10-07  Frank Ch. Eigler  <fche@elastic.org>

PR 1366.
* staptree.h (foreach_loop): Add sort_column, sort_direction fields.
* parse.cxx (parse_foreach_loop): Parse "+"/"-" suffix operators.
* stap.1.in, stapex.5.in: Document them.
* staptree.cxx (foreach_loop print, copy): Propagate them.
* translate.cxx (visit_foreach_loop): Support them.
* testsuite/parseok/fifteen.stp, parseko/thirteen.stp,
buildok/twentyone.stp: Test them.

2005-10-07  Frank Ch. Eigler  <fche@elastic.org>

PR 1366.
* systemtap.samples/primes.*: Sort foreach gratuitiously.

18 years ago * tapset/system_calls.stp: All 281 syscalls *prototyped*. They
kevinrs [Fri, 7 Oct 2005 17:54:26 +0000 (17:54 +0000)]
* tapset/system_calls.stp: All 281 syscalls *prototyped*. They
        are still untested. Many of the aliases useability are contin-
        gent upon resolution of namely: bz #1295 & bz #1382.

18 years ago2005-10-06 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 6 Oct 2005 18:59:50 +0000 (18:59 +0000)]
2005-10-06  Frank Ch. Eigler  <fche@elastic.org>

* stap.1.in: Document -b/-s options.
* main.cxx (usage): Clarify -b/-s blurbs.
* translator.cxx (translate_pass): Handle bulk_mode here instead.

18 years ago2005-10-06 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 6 Oct 2005 16:33:48 +0000 (16:33 +0000)]
2005-10-06  Frank Ch. Eigler  <fche@elastic.org>

PR 1332.
* translate.cxx (emit_symbol_data): New function to transcribe
a processed address->symbol lookup table, based upon /proc/kallsyms.

2005-10-06  Frank Ch. Eigler  <fche@elastic.org>

PR 1332.
* sym.h: New file to declare explicit symbol table struct.
* runtime.h (_stp_kallsyms_lookup_tabled): Use it if available.
* sym.c (_stp_symbol_sprint): HAS_LOOKUP mooted.

2005-10-06  Frank Ch. Eigler  <fche@elastic.org>

PR 1132.
* systemtap.samples/symbols.*: New test.

18 years ago240 syscalls prototyped
kevinrs [Wed, 5 Oct 2005 23:53:07 +0000 (23:53 +0000)]
240 syscalls prototyped

18 years agostap command-line option additions: -b (bulk mode), -s (buffer size)
trz [Wed, 5 Oct 2005 20:19:50 +0000 (20:19 +0000)]
stap command-line option additions: -b (bulk mode), -s (buffer size)

18 years ago2005-10-04 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 5 Oct 2005 00:43:14 +0000 (00:43 +0000)]
2005-10-04  Graydon Hoare  <graydon@redhat.com>

PR 1131.
* tapsets.cxx
(target_variable_flavour_calculating_visitor::visit_target_symbol)
(var_expanding_copy_visitor::visit_target_symbol):
Require guru mode for writing to target vars.
* testsuite/buildok/twenty.stp: Test writing to target vars.

18 years ago200+ syscalls prototyped
kevinrs [Wed, 5 Oct 2005 00:01:46 +0000 (00:01 +0000)]
200+ syscalls prototyped

18 years ago150 syscalls prototyped.
kevinrs [Mon, 3 Oct 2005 23:53:47 +0000 (23:53 +0000)]
150 syscalls prototyped.

18 years agonone
fche [Mon, 3 Oct 2005 17:57:53 +0000 (17:57 +0000)]
none

18 years ago2005-10-01 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 1 Oct 2005 17:25:24 +0000 (17:25 +0000)]
2005-10-01  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (get_module_dwarf): Add "required" parameter, which
throws an exception if debuginfo is not found.
(focus_on_module_containing_global_address): Tolerate miss.
(query_kernel_exists): New function to test for "kernel" module in
dwfl_getmodules() result set.
(dwarf_builder::build): Call it if appropriate.

18 years ago[ChangeLog]
graydon [Sat, 1 Oct 2005 00:10:52 +0000 (00:10 +0000)]
[ChangeLog]

2005-09-30  Graydon Hoare  <graydon@redhat.com>

PR 1131.
* tapsets.cxx (dwflpp::find_variable_and_frame_base)
(dwflpp::translate_components)
(dwflpp::resolve_unqualified_inner_typedie)
(dwflpp::translate_final_fetch_or_store): New functions.
(dwflpp::literal_stmt_for_local): Factor a bit.
(variable_flavour_calculating_visitor::visit_target_symbol):
Don't fault on lvalue, just collect an extra char.
(var_expanding_copy_visitor::target_symbol_setter_functioncalls):
New member.
(var_expanding_copy_visitor::visit_assignment): New method.
(var_expanding_copy_visitor::visit_target_symbol): Permit lvalues.

[runtime/ChangeLog]

2005-09-30  Graydon Hoare  <graydon@redhat.com>

* loc2c-runtime.h (_put_user_asm): Fix bracket-matching.

18 years ago2005-09-30 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 30 Sep 2005 17:01:33 +0000 (17:01 +0000)]
2005-09-30  Frank Ch. Eigler  <fche@elastic.org>

* tapset/system_calls.stp (*_str): Simplified boolean test logic
throughout, fixed some typos.

18 years agoAdded installation steps and tips.
hien [Fri, 30 Sep 2005 05:25:55 +0000 (05:25 +0000)]
Added installation steps and tips.

18 years agoMore syscalls profiled
kevinrs [Fri, 30 Sep 2005 00:02:20 +0000 (00:02 +0000)]
More syscalls profiled

18 years agoRemoved mask_string.stp, integrated into system_calls.stp
kevinrs [Thu, 29 Sep 2005 22:25:14 +0000 (22:25 +0000)]
Removed mask_string.stp, integrated into system_calls.stp

18 years agoTest -- please ignore.
kevinrs [Thu, 29 Sep 2005 21:10:07 +0000 (21:10 +0000)]
Test -- please ignore.

18 years agoTest -- please ignore.
kevinrs [Thu, 29 Sep 2005 21:08:31 +0000 (21:08 +0000)]
Test -- please ignore.

18 years agostapfuncs.5.in
kevinrs [Thu, 29 Sep 2005 00:11:39 +0000 (00:11 +0000)]
stapfuncs.5.in
added documentation for new string function 'isinstr()'

18 years agomask_string.stp
kevinrs [Thu, 29 Sep 2005 00:10:45 +0000 (00:10 +0000)]
mask_string.stp
function uses different algorithm to build symbolic
flag string from int. Now uses locals to do so. SMP
safe.
string.stp
add isinstr(s1,s2) - return 1 if s1 contains s2 else
return 0

18 years ago2005-09-28 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 28 Sep 2005 21:23:12 +0000 (21:23 +0000)]
2005-09-28  Frank Ch. Eigler  <fche@elastic.org>

PR 1182.
* main.cxx (main): Support -D macro-setting option.
* stap.1.in: Document it and related macros.
* buildrun.cxx (compile_pass): Emit macro definitions.
* translate.cxx (translate_pass): Guard limit macros with #ifdef.
Eliminate MAXCONCURRENCY macro.
* elaborate.h (systemtap_session): Add "macros" field.
* parse.cxx (parse_if_statement): Clear "elseblock" if needed.

2005-09-28  Frank Ch. Eigler  <fche@elastic.org>

PR 1182.
* systemtap.samples/control_limits.*: New test.

18 years agogpl headers
fche [Wed, 28 Sep 2005 17:51:23 +0000 (17:51 +0000)]
gpl headers

18 years ago2005-09-27 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 28 Sep 2005 03:20:10 +0000 (03:20 +0000)]
2005-09-27  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (query_cu_containing_global_address): Tolerate
way out of range addresses that result in null cudie pointers.

18 years agotapset/mask_string.stp:
kevinrs [Wed, 28 Sep 2005 00:29:47 +0000 (00:29 +0000)]
tapset/mask_string.stp:
wrote a few aux functions that can be used by tapsets to derive
a bitmask symbolic string from a given number
tapset/string.stp:
strlen: Returns the length of the string argument
substr: Returns a substring starting at start/ending at stop
stapfuncs.5.in:
Added a STRING category with aforementioned functions
tapset/system_calls.stp
Exported more variable for more system calls

18 years agonone
fche [Tue, 27 Sep 2005 16:39:05 +0000 (16:39 +0000)]
none

18 years ago2005-09-27 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Sep 2005 16:37:36 +0000 (16:37 +0000)]
2005-09-27  Frank Ch. Eigler  <fche@elastic.org>

PR 1368.
* translate.cxx (emit_common_header): Move some MAX* definitions out ...
(translate_pass): ... to here.  Fix probe_start API impedance mismatch.
(emit_module_init, exit): Tolerate registration errors, such as absence
of kretprobes support.

18 years ago2005-09-27 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Sep 2005 14:55:31 +0000 (14:55 +0000)]
2005-09-27  Frank Ch. Eigler  <fche@elastic.org>

PR 1311.
* tapsets.cxx (target_variable_flavour_calculating_visitor::
visit_target_symbol): Print verbose error.
(var_expanding_copy_visitor::visit_target_symbol): Throw
simple error.

18 years ago2005-09-26 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Sep 2005 01:47:05 +0000 (01:47 +0000)]
2005-09-26  Frank Ch. Eigler  <fche@elastic.org>

* stapfuncs.5.in: Extend errno_str verbiage.
* tapset/errno.stp: Canonicalize script code slightly.

18 years ago* quiet down re alias registration
fche [Tue, 27 Sep 2005 01:07:56 +0000 (01:07 +0000)]
* quiet down re alias registration

18 years ago2005-09-26 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Sep 2005 01:06:13 +0000 (01:06 +0000)]
2005-09-26  Frank Ch. Eigler  <fche@elastic.org>

PR 1295.
* tapsets.cxx (resolve_prologue_endings2): Try another heuristic
for end-of-prologue.

2005-09-26  Frank Ch. Eigler  <fche@elastic.org>

PR 1295.
* systemtap.samples/sysopen.*: New test.

18 years agoCV: ----------------------------------------------------------------------
kevinrs [Mon, 26 Sep 2005 22:21:21 +0000 (22:21 +0000)]
CV: ----------------------------------------------------------------------

18 years agoall script equivalent of errno.stp
kevinrs [Mon, 26 Sep 2005 21:44:26 +0000 (21:44 +0000)]
all script equivalent of errno.stp

18 years agoThis function returns the errno string associated with the error code.
kevinrs [Mon, 26 Sep 2005 20:16:45 +0000 (20:16 +0000)]
This function returns the errno string associated with the error code.

18 years agosystem call tapset.
kevinrs [Mon, 26 Sep 2005 17:56:36 +0000 (17:56 +0000)]
system call tapset.

18 years agoremoving unnecessary test
fche [Sat, 24 Sep 2005 12:18:38 +0000 (12:18 +0000)]
removing unnecessary test

18 years agoArch agnostic function to get at return vals until $retval built-in is working.
kevinrs [Sat, 24 Sep 2005 00:01:01 +0000 (00:01 +0000)]
Arch agnostic function to get at return vals until $retval built-in is working.

18 years ago2005-09-23 Martin Hunt <hunt@redhat.com>
hunt [Fri, 23 Sep 2005 08:14:22 +0000 (08:14 +0000)]
2005-09-23  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_map_sortn):  Call _stp_map_sort()
when n is 0.

18 years ago2005-09-23 Martin Hunt <hunt@redhat.com>
hunt [Fri, 23 Sep 2005 07:48:18 +0000 (07:48 +0000)]
2005-09-23  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_cmp): New comparison function for sorts.
(_stp_swap): New swap function for bubble sort.
(_stp_map_sortn): New function.
(_stp_map_sort): New function.
(_stp_map_printn): New function.
(_stp_map_print): Convert to a macro.

18 years ago\18005-09-23 Martin Hunt <hunt@redhat.com>
hunt [Fri, 23 Sep 2005 07:43:28 +0000 (07:43 +0000)]
\18005-09-23  Martin Hunt  <hunt@redhat.com>

* maps/map.test: Add sort results.
* maps/sort.c: New test.

18 years ago* reduce emitted comment noise
fche [Thu, 22 Sep 2005 23:05:03 +0000 (23:05 +0000)]
* reduce emitted comment noise

18 years ago2005-09-22 Graydon Hoare <graydon@redhat.com>,
fche [Thu, 22 Sep 2005 22:51:30 +0000 (22:51 +0000)]
2005-09-22  Graydon Hoare  <graydon@redhat.com>,
Frank Ch. Eigler  <fche@elastic.org>

PR 1330.
* tapsets.cxx (dwarf_derived_probe): Allow multiple probe_point
locations per derived_probe.
(dwarf_query): Add probe "flavour" concept, to reuse probe bodies for
identical flavours across wildcards.
(dwarf::emit_registrations, emit_deregistrations, emit_probe_entries):
Reorganize.
* staptree (probe::printsig): Put multiple locations on separate lines.

18 years ago2005-09-22 Martin Hunt <hunt@redhat.com>
hunt [Thu, 22 Sep 2005 20:14:27 +0000 (20:14 +0000)]
2005-09-22  Martin Hunt  <hunt@redhat.com>

* regs.h: PPC64 version from
Ananth N Mavinakayanahalli <ananth@in.ibm.com>

18 years ago2005-09-22 Martin Hunt <hunt@redhat.com>
hunt [Thu, 22 Sep 2005 20:10:38 +0000 (20:10 +0000)]
2005-09-22  Martin Hunt  <hunt@redhat.com>

* runtime.h (init_module): Only initialize _stp_kta and
_stp_kallsyms_lookup on i386 and x86_64. Define HAS_LOOKUP.

* sym.c (_stp_symbol_sprint): If HAS_LOOKUP is not
defined, just print address in hex.

* current.c (_stp_ret_addr): Add ppc64 version.
(_stp_sprint_regs): PPC64 version from
Ananth N Mavinakayanahalli <ananth@in.ibm.com>

18 years agoMake documentation reflect reality.
wcohen [Thu, 22 Sep 2005 18:53:25 +0000 (18:53 +0000)]
Make documentation reflect reality.

18 years ago2005-09-19 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 19 Sep 2005 20:15:33 +0000 (20:15 +0000)]
2005-09-19  Frank Ch. Eigler  <fche@redhat.com>

* tapsets.cxx (*::emit_probe_entries): Handle busy-count correctly
upon contention.

18 years ago2005-09-14 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 15 Sep 2005 00:43:43 +0000 (00:43 +0000)]
2005-09-14  Graydon Hoare  <graydon@redhat.com>

PR 1260
* tapsets.cxx (dwflpp::resolve_prologue_endings): Correct logic
error triggered by consecutive function-beginning line records.

18 years ago2005-09-14 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 14 Sep 2005 21:31:47 +0000 (21:31 +0000)]
2005-09-14  Frank Ch. Eigler  <fche@elastic.org>

PR 1344
* translate.cxx: Call _stp_map_clear for "delete ARRAY" statement.

2005-09-14  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.samples/pfaults.stp: Complicate to test PR 1344.

18 years ago.
roland [Wed, 14 Sep 2005 21:21:09 +0000 (21:21 +0000)]
.

18 years ago2005-09-14 Roland McGrath <roland@redhat.com>
roland [Wed, 14 Sep 2005 21:21:00 +0000 (21:21 +0000)]
2005-09-14  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in: Version 0.4.1 cooked.
* systemtap.spec.in: Build runpath into elfutils libs too.

18 years ago2005-09-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Sep 2005 21:13:55 +0000 (21:13 +0000)]
2005-09-14  Martin Hunt  <hunt@redhat.com>

* map.c (_stp_map_clear): New function. CLears a map but
does not free it.

18 years ago2005-09-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Sep 2005 21:12:37 +0000 (21:12 +0000)]
2005-09-14  Martin Hunt  <hunt@redhat.com>

* maps/ii.c (main): Add test for _stp_map_clear().
* maps/map.test: Update results.

18 years agoVersion 0.4.1 cooked.
roland [Wed, 14 Sep 2005 20:58:33 +0000 (20:58 +0000)]
Version 0.4.1 cooked.

18 years agomissed old log commit
roland [Wed, 14 Sep 2005 20:38:21 +0000 (20:38 +0000)]
missed old log commit

18 years ago2005-09-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Sep 2005 18:57:01 +0000 (18:57 +0000)]
2005-09-14  Martin Hunt  <hunt@redhat.com>

* copy.c (__stp_strncpy_from_user): Add ppc64 support.
(_stp_strncpy_from_user): Call access_ok().
(_stp_string_from_user): Ditto.
(_stp_copy_from_user): Ditto.

18 years ago2005-09-14 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 14 Sep 2005 18:14:07 +0000 (18:14 +0000)]
2005-09-14  Frank Ch. Eigler  <fche@elastic.org>

PR 1257
* Makefile.am (AM_CFLAGS): Add -fexceptions.
* loc2c.c (c_translate_location): Invoke *fail properly.
* Makefile.in: Regenerated.

18 years ago2005-09-13 Graydon Hoare <graydon@redhat.com>
graydon [Wed, 14 Sep 2005 00:27:37 +0000 (00:27 +0000)]
2005-09-13  Graydon Hoare  <graydon@redhat.com>

PR 1260
* tapsets.cxx (func_info::func_info): Initialize fields.
(inline_instance_info::inline_instance_info): Likewise.
(query_inline_instance_info): Add try-catch block.
(query_func_info): Likewise, and fault when missing prologue-end.
(query_dwarf_func): Fault when missing entrypc.

18 years ago2005-09-12 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 13 Sep 2005 21:25:25 +0000 (21:25 +0000)]
2005-09-12  Graydon Hoare  <graydon@redhat.com>

PR 1306
* tapsets.cxx (dwflpp::iterate_over_srcfile_lines): Fix two
off-by-one errors in previous change.

18 years ago* removed information about former automagic string conversion
fche [Tue, 13 Sep 2005 15:41:30 +0000 (15:41 +0000)]
* removed information about former automagic string conversion

18 years ago2005-09-12 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 13 Sep 2005 00:45:24 +0000 (00:45 +0000)]
2005-09-12  Frank Ch. Eigler  <fche@elastic.org>

PR 1335
* translate.cxx (c_tmpcounter::visit_functioncall): Correct
recursion sequence.
* testsuite/buildok/nineteen.stp: New test case.

18 years ago2005-09-12 Graydon Hoare <graydon@redhat.com>
graydon [Tue, 13 Sep 2005 00:33:19 +0000 (00:33 +0000)]
2005-09-12  Graydon Hoare  <graydon@redhat.com>

PR 1306
* tapsets.cxx (dwflpp::has_single_line_record): New function.
(dwflpp::iterate_over_srcfile_lines): Throw when user requests
single statement line with multiple records (and provide advice).
(query_cu): Adjust call to match.
(query_srcfile_line): Fix indentation.

This page took 0.06376 seconds and 5 git commands to generate.