summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorRajan Arora <rarora@redhat.com>2009-04-22 12:10:37 -0400
committerRajan Arora <rarora@redhat.com>2009-04-22 12:18:56 -0400
commita12a8a3f1b4f7cdb743aeaaa5ee6c5a4ff28bb7e (patch)
tree7e5d308b761946cb8c388cfee43ca46a2a587833 /translate.cxx
parent247f1e1fa09953347a4e5313ae0022f151316dae (diff)
downloadsystemtap-steved-a12a8a3f1b4f7cdb743aeaaa5ee6c5a4ff28bb7e.tar.gz
systemtap-steved-a12a8a3f1b4f7cdb743aeaaa5ee6c5a4ff28bb7e.tar.xz
systemtap-steved-a12a8a3f1b4f7cdb743aeaaa5ee6c5a4ff28bb7e.zip
PR 9941: Add predicate function callback to check for an early abort
* tapsets.cxx: Add dwfl_report_offline_predicate to check pending interrupts for an early abort. * tapsets.h: Declare it. * translate.cxx: Add callback to function call.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx
index 3fa8857b..87811e9f 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4871,7 +4871,7 @@ emit_symbol_data (systemtap_session& s)
int rc = dwfl_linux_kernel_report_offline (dwfl,
elfutils_kernel_path.c_str(),
- NULL /* XXX: filtering callback */);
+ &dwfl_report_offline_predicate);
dwfl_report_end (dwfl, NULL, NULL);
if (rc == 0) // tolerate missing data; will warn user about it anyway
{