diff options
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/ChangeLog | 6 | ||||
-rw-r--r-- | tapset/context.stp | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index aea292b5..7dec4528 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,6 +1,10 @@ +2006-02-17 Frank Ch. Eigler <fche@elastic.org> + + * context.stp (cpu): Clone undocumented cpuid() function. + 2006-02-14 Martin Hunt <hunt@redhat.com> - * syscalls.stp: MOre updates. + * syscalls.stp: More updates. 2006-02-14 Frank Ch. Eigler <fche@elastic.org> diff --git a/tapset/context.stp b/tapset/context.stp index 44b52e1c..98571d9e 100644 --- a/tapset/context.stp +++ b/tapset/context.stp @@ -69,6 +69,10 @@ function cpuid:long () %{ THIS->__retvalue = current->thread_info->cpu; %} +function cpu:long () %{ + THIS->__retvalue = current->thread_info->cpu; /* smp_processor_id()? */ +%} + function print_stack(stk:string) %{ char *ptr = THIS->stk; char *tok = strsep(&ptr, " "); |