From 1c9db4fdf66fe88a731319b99942872fa567d742 Mon Sep 17 00:00:00 2001 From: askeshav Date: Fri, 28 Oct 2005 22:49:28 +0000 Subject: IA64 Runtime support patches. With this in place Systemtap should now be able to build on Ia64. Includes supports for - function probes, return probes, function parameter access and dumping stack backtrace. Added by Anil S Keshavamurthy --- tapsets.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tapsets.cxx') diff --git a/tapsets.cxx b/tapsets.cxx index 5fcef4aa..68e0ff3f 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -1,5 +1,6 @@ // tapset resolution // Copyright (C) 2005 Red Hat Inc. +// Copyright (C) 2005 Intel Corporation. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General @@ -1772,6 +1773,16 @@ query_func_info (Dwarf_Addr entrypc, } else { +#ifdef __ia64__ + // In IA64 platform function probe point is set at its + // entry point rather than prologue end pointer + if (q->sess.verbose) + clog << "querying entrypc of function '" + << fi.name << "'" << endl; + query_statement (fi.name, fi.decl_file, fi.decl_line, + &fi.die, entrypc, q); + +#else if (q->sess.verbose) clog << "querying prologue-end of function '" << fi.name << "'" << endl; @@ -1782,6 +1793,7 @@ query_func_info (Dwarf_Addr entrypc, query_statement (fi.name, fi.decl_file, fi.decl_line, &fi.die, fi.prologue_end, q); +#endif } } catch (semantic_error &e) -- cgit