libipt, insn: use insn and insn_ext to proceed without trace

Instead of using struct pt_ild directly in pt_insn_next_ip(), we use pt_insn
and pt_insn_ext objects passed as arguments.  Move the function to pt_insn.c.

In pt_ip_is_ahead() we initialize respective pt_insn and pt_insn_ext objects
similar to decode_insn().  This temporarily adds code for populating those
objects until later patches will move this into the ILD.

Change-Id: Ice1efc72ad2d900a6da1eedda4cdcd71ac030db4
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
3 files changed