diff options
author | Josh Stone <jistone@redhat.com> | 2009-08-26 16:15:46 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-08-26 16:27:11 -0700 |
commit | b13d5a188321fc6856cf379a74b3004ce094a3af (patch) | |
tree | 69df0840d74abbbf416878d30e165094712c7a86 /tapset/conversions.stp | |
parent | fdef9f1f12e4a087c87c8bf7e5078f88fcc0d33f (diff) | |
download | systemtap-steved-b13d5a188321fc6856cf379a74b3004ce094a3af.tar.gz systemtap-steved-b13d5a188321fc6856cf379a74b3004ce094a3af.tar.xz systemtap-steved-b13d5a188321fc6856cf379a74b3004ce094a3af.zip |
Correct a few comments to match the code
* tapset/conversions.stp (kernel_long, kernel_int, kernel_short,
kernel_char): All are actually using kread(), not deref().
* tapset/i386/registers.stp (_stp_arg): Ditto.
* tapset/x86_64/registers.stp (_stp_arg): Ditto.
Diffstat (limited to 'tapset/conversions.stp')
-rw-r--r-- | tapset/conversions.stp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tapset/conversions.stp b/tapset/conversions.stp index 31b16821..fdf00bd3 100644 --- a/tapset/conversions.stp +++ b/tapset/conversions.stp @@ -34,7 +34,7 @@ deref_fault: /* branched to from deref_string() */ function kernel_long:long (addr:long) %{ /* pure */ THIS->__retvalue = kread((long *) (intptr_t) THIS->addr); if (0) { -deref_fault: /* branched to from deref() */ +deref_fault: /* branched to from kread() */ snprintf (CONTEXT->error_buffer, sizeof(CONTEXT->error_buffer), "kernel long copy fault at 0x%p", (void *) (uintptr_t) THIS->addr); CONTEXT->last_error = CONTEXT->error_buffer; @@ -44,7 +44,7 @@ deref_fault: /* branched to from deref() */ function kernel_int:long (addr:long) %{ /* pure */ THIS->__retvalue = kread((int *) (intptr_t) THIS->addr); if (0) { -deref_fault: /* branched to from deref() */ +deref_fault: /* branched to from kread() */ snprintf (CONTEXT->error_buffer, sizeof(CONTEXT->error_buffer), "kernel int copy fault at 0x%p", (void *) (uintptr_t) THIS->addr); CONTEXT->last_error = CONTEXT->error_buffer; @@ -54,7 +54,7 @@ deref_fault: /* branched to from deref() */ function kernel_short:long (addr:long) %{ /* pure */ THIS->__retvalue = kread((short *) (intptr_t) THIS->addr); if (0) { -deref_fault: /* branched to from deref() */ +deref_fault: /* branched to from kread() */ snprintf (CONTEXT->error_buffer, sizeof(CONTEXT->error_buffer), "kernel short copy fault at 0x%p", (void *) (uintptr_t) THIS->addr); CONTEXT->last_error = CONTEXT->error_buffer; @@ -64,7 +64,7 @@ deref_fault: /* branched to from deref() */ function kernel_char:long (addr:long) %{ /* pure */ THIS->__retvalue = kread((char *) (intptr_t) THIS->addr); if (0) { -deref_fault: /* branched to from deref() */ +deref_fault: /* branched to from kread() */ snprintf (CONTEXT->error_buffer, sizeof(CONTEXT->error_buffer), "kernel char copy fault at 0x%p", (void *) (uintptr_t) THIS->addr); CONTEXT->last_error = CONTEXT->error_buffer; |