From 606fd9c839a91aa0db6c925764efcea441164f6b Mon Sep 17 00:00:00 2001 From: fche Date: Sat, 26 Jan 2008 20:22:09 +0000 Subject: PR5673: reduce total size of generated .ko's from wildly wildcarded scripts 2008-01-26 Frank Ch. Eigler PR 5673. * tapsets.cxx (dwarf_derived_probe_group): Split stap_dwarf_probes[] into bss-carried kprobes structs. Tune embedded strings for minimizing relocation-vs-fixed-buffer wastage. * tapsets.cxx (dwarf_derived_probe): Impose .maxactive() limits. 2008-01-26 Frank Ch. Eigler PR 5673. * testsuite/parseko/maxactive{04,05}.stp: New tests. --- testsuite/semko/maxactive04.stp | 5 +++++ testsuite/semko/maxactive05.stp | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 testsuite/semko/maxactive04.stp create mode 100644 testsuite/semko/maxactive05.stp (limited to 'testsuite/semko') diff --git a/testsuite/semko/maxactive04.stp b/testsuite/semko/maxactive04.stp new file mode 100644 index 00000000..9471fd21 --- /dev/null +++ b/testsuite/semko/maxactive04.stp @@ -0,0 +1,5 @@ +#! stap -p2 + +probe kernel.function("sys_open").return.maxactive(-4) +{ +} diff --git a/testsuite/semko/maxactive05.stp b/testsuite/semko/maxactive05.stp new file mode 100644 index 00000000..bdc8a101 --- /dev/null +++ b/testsuite/semko/maxactive05.stp @@ -0,0 +1,5 @@ +#! stap -p2 + +probe kernel.function("sys_open").return.maxactive(99999999) +{ +} -- cgit