libipt, insn: check packet-to-instruction bindings using insn_ext

Instead of using struct pt_ild directly in pt_insn_binds_to_pip() and
pt_insn_binds_to_vmcs(), we use pt_insn and pt_insn_ext objects passed as
arguments.  They replace the current pt_ild argument.

Move those functions to pt_insn.c.

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