<feed xmlns='http://www.w3.org/2005/Atom'>
<title>systemtap-steved/runtime, branch master</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/'/>
<entry>
<title>Fixed uninitialized variable error in task_finder.c.</title>
<updated>2010-04-13T16:35:37+00:00</updated>
<author>
<name>David Smith</name>
<email>dsmith@redhat.com</email>
</author>
<published>2010-04-13T16:35:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=7f7ef35a9e24055b96621f2b0f7c6405d4ae94fd'/>
<id>7f7ef35a9e24055b96621f2b0f7c6405d4ae94fd</id>
<content type='text'>
* runtime/task_finder.c (__stp_call_mmap_callbacks_with_addr): Avoided
  uninitialized variable error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* runtime/task_finder.c (__stp_call_mmap_callbacks_with_addr): Avoided
  uninitialized variable error.
</pre>
</div>
</content>
</entry>
<entry>
<title>runtime: switch to deferred STP_EXIT signalling</title>
<updated>2010-04-10T01:12:56+00:00</updated>
<author>
<name>Frank Ch. Eigler</name>
<email>fche@elastic.org</email>
</author>
<published>2010-04-10T01:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=bf17a5d2c707e8cd031d2a1dba2709b50452ba0c'/>
<id>bf17a5d2c707e8cd031d2a1dba2709b50452ba0c</id>
<content type='text'>
The former code allowed stapio to have two concurrent commands sent
toward the runtime at the same time: one from the main loop and
another one from the signal handling thread.  This is suspected to
have caused occasional lockups.  This new code switches to a deferred
signal handling model, where the signal handling thread merely
increments a counter, and the main loop monitors that count.
Unfortunately, this currently involves switching the main loop's
blocking /.ctl read into a nonblocking poll.

* runtime/staprun/mainloop.c (pending_interrupts): New variable.
  (signal_thread): Increment it.
  (stp_main_loop): Check it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The former code allowed stapio to have two concurrent commands sent
toward the runtime at the same time: one from the main loop and
another one from the signal handling thread.  This is suspected to
have caused occasional lockups.  This new code switches to a deferred
signal handling model, where the signal handling thread merely
increments a counter, and the main loop monitors that count.
Unfortunately, this currently involves switching the main loop's
blocking /.ctl read into a nonblocking poll.

* runtime/staprun/mainloop.c (pending_interrupts): New variable.
  (signal_thread): Increment it.
  (stp_main_loop): Check it.
</pre>
</div>
</content>
</entry>
<entry>
<title>runtime: more diagnostics for build-id checking</title>
<updated>2010-04-08T21:17:46+00:00</updated>
<author>
<name>Frank Ch. Eigler</name>
<email>fche@elastic.org</email>
</author>
<published>2010-04-07T20:59:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=17b91441800b590c5ef4a0c213c2bbcd8deef696'/>
<id>17b91441800b590c5ef4a0c213c2bbcd8deef696</id>
<content type='text'>
* runtime/sym.c: Store individual rc's for build-id comparisons.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* runtime/sym.c: Store individual rc's for build-id comparisons.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed BZ 557165 by adding better error handling.</title>
<updated>2010-04-05T15:55:57+00:00</updated>
<author>
<name>David Smith</name>
<email>dsmith@redhat.com</email>
</author>
<published>2010-04-05T15:55:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=e997043d5bc97969ccf26b171c23f2a5bbddfbd1'/>
<id>e997043d5bc97969ccf26b171c23f2a5bbddfbd1</id>
<content type='text'>
* runtime/staprun/mainloop.c (stp_main_loop): When a read error happens,
  quit instead of retrying (which can end up in an infinite loop).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* runtime/staprun/mainloop.c (stp_main_loop): When a read error happens,
  quit instead of retrying (which can end up in an infinite loop).
</pre>
</div>
</content>
</entry>
<entry>
<title>Add kernel-writing functions for guru only</title>
<updated>2010-04-01T22:21:05+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2010-04-01T22:18:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=b70cb5c663255b46ece13e6758a5cb3e58d9a95c'/>
<id>b70cb5c663255b46ece13e6758a5cb3e58d9a95c</id>
<content type='text'>
* runtime/loc2c-runtime.h (store_deref_string): New.
* tapset/conversions-guru.stp (set_kernel_*): New guru functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* runtime/loc2c-runtime.h (store_deref_string): New.
* tapset/conversions-guru.stp (set_kernel_*): New guru functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Sprinkle static to prevent unnecessary inclusion</title>
<updated>2010-03-19T01:59:57+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2010-03-19T01:59:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=4434d3386943bf32dc7873eafb7c7e6239a3c2a3'/>
<id>4434d3386943bf32dc7873eafb7c7e6239a3c2a3</id>
<content type='text'>
* runtime/stack.c (_stp_stack_print_tsk): Static.
  (_stp_stack_snprint_tsk): Static.
* runtime/task_finder.c (__stp_utrace_task_finder_ops): Static.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* runtime/stack.c (_stp_stack_print_tsk): Static.
  (_stp_stack_snprint_tsk): Static.
* runtime/task_finder.c (__stp_utrace_task_finder_ops): Static.
</pre>
</div>
</content>
</entry>
<entry>
<title>Create one perf structure to rule them all</title>
<updated>2010-03-19T01:54:18+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2010-03-19T01:54:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=34fe8ec416abfb4355fcb1a9a015de7c9dfc9380'/>
<id>34fe8ec416abfb4355fcb1a9a015de7c9dfc9380</id>
<content type='text'>
* perf.h (stap_perf_probe): Define one structure for all our needs.
* perf.c (_stp_perf_init): Use the new struct, return errors directly.
  (_stp_perf_exit): Use the new struct.
* tapset-perfmon.cxx (perf_derived_probe_group::emit_module_decls): Use
  the stap_perf_probe definition from perf.h now.
  (perf_derived_probe_group::emit_module_init): Adapt.
  (perf_derived_probe_group::emit_module_exit): Adapt.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* perf.h (stap_perf_probe): Define one structure for all our needs.
* perf.c (_stp_perf_init): Use the new struct, return errors directly.
  (_stp_perf_exit): Use the new struct.
* tapset-perfmon.cxx (perf_derived_probe_group::emit_module_decls): Use
  the stap_perf_probe definition from perf.h now.
  (perf_derived_probe_group::emit_module_init): Adapt.
  (perf_derived_probe_group::emit_module_exit): Adapt.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove &lt;asm/segment.h&gt; inclusion to fix ppc build.</title>
<updated>2010-03-18T15:37:51+00:00</updated>
<author>
<name>David Smith</name>
<email>dsmith@redhat.com</email>
</author>
<published>2010-03-18T15:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=8496536f6ede3308e0d1cc6f1219e76ca262f1c0'/>
<id>8496536f6ede3308e0d1cc6f1219e76ca262f1c0</id>
<content type='text'>
* runtime/sym.c: Removed &lt;asm/segment.h&gt; include.  That file doesn't exist
  on ppc, and it appears to be empty everywhere else.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* runtime/sym.c: Removed &lt;asm/segment.h&gt; include.  That file doesn't exist
  on ppc, and it appears to be empty everywhere else.
</pre>
</div>
</content>
</entry>
<entry>
<title>PR909: filter out offline cpus from perfctr registration loop</title>
<updated>2010-03-18T03:08:26+00:00</updated>
<author>
<name>Frank Ch. Eigler</name>
<email>fche@elastic.org</email>
</author>
<published>2010-03-18T03:08:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=654979ee0fc8d47bfd1680bc9e4c42ab2da78846'/>
<id>654979ee0fc8d47bfd1680bc9e4c42ab2da78846</id>
<content type='text'>
* runtime/perf.c (_stp_perf_init): If cpu_is_offline(), don't.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* runtime/perf.c (_stp_perf_init): If cpu_is_offline(), don't.
</pre>
</div>
</content>
</entry>
<entry>
<title>Preserve perf initialization errors</title>
<updated>2010-03-18T02:09:40+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2010-03-18T02:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/steved/public_git/systemtap-steved/commit/?id=5e0ae7b6e3fe6e739b03c3ab4ef675113e38350f'/>
<id>5e0ae7b6e3fe6e739b03c3ab4ef675113e38350f</id>
<content type='text'>
* runtime/perf.c (_stp_perf_init): Pass through ERR_PTRs, and create our
  own -ENOMEM for allocation failures.
* tapset-perfmon.cxx (perf_derived_probe_group::emit_module_init): Check
  IS_ERR for registration status.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* runtime/perf.c (_stp_perf_init): Pass through ERR_PTRs, and create our
  own -ENOMEM for allocation failures.
* tapset-perfmon.cxx (perf_derived_probe_group::emit_module_init): Check
  IS_ERR for registration status.
</pre>
</div>
</content>
</entry>
</feed>
