summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-utrace-regset.c
blob: 1728f239daee1253dc909763de8445c56724416c (plain)
1
2
3
4
5
6
7
8
#include <linux/tracehook.h>

/* old rhel5 utrace regset */
int foobar(int n) { 
  const struct utrace_regset_view *rsv = utrace_native_view(current);  
  const struct utrace_regset *rs = & rsv->regsets[0];
  return rsv->n + n + (rs->get)(current, rs, 0, 0, NULL, NULL);
}