diff options
-rw-r--r-- | tapset/context.stp | 8 | ||||
-rw-r--r-- | tapset/conversions.stp | 9 | ||||
-rw-r--r-- | tapset/logging.stp | 8 | ||||
-rw-r--r-- | tapset/system_calls.stp | 8 | ||||
-rw-r--r-- | tapset/timestamp.stp | 9 |
5 files changed, 40 insertions, 2 deletions
diff --git a/tapset/context.stp b/tapset/context.stp index bb4004bb..81604d83 100644 --- a/tapset/context.stp +++ b/tapset/context.stp @@ -1,3 +1,11 @@ +// context tapset +// Copyright (C) 2005 Red Hat Inc. +// +// This file is part of systemtap, and is free software. You can +// redistribute it and/or modify it under the terms of the GNU General +// Public License (GPL); either version 2, or (at your option) any +// later version. + function print_regs () %{ if (CONTEXT->regs) { _stp_print_regs (CONTEXT->regs); diff --git a/tapset/conversions.stp b/tapset/conversions.stp index 50dbfeb0..51f9de19 100644 --- a/tapset/conversions.stp +++ b/tapset/conversions.stp @@ -1,3 +1,11 @@ +// conversions tapset +// Copyright (C) 2005 Red Hat Inc. +// +// This file is part of systemtap, and is free software. You can +// redistribute it and/or modify it under the terms of the GNU General +// Public License (GPL); either version 2, or (at your option) any +// later version. + function hexstring:string (num:long) %{ sprintf (THIS->__retvalue, "0x%llx", (long long) THIS->num); %} @@ -6,7 +14,6 @@ function string:string (num:long) %{ sprintf (THIS->__retvalue, "%lld", (long long) THIS->num); %} - function kernel_string:string (addr:long) %{ char *destination = THIS->__retvalue; deref_string (destination, THIS->addr, MAXSTRINGLEN); diff --git a/tapset/logging.stp b/tapset/logging.stp index e276aa3f..37cfc771 100644 --- a/tapset/logging.stp +++ b/tapset/logging.stp @@ -1,4 +1,10 @@ -# This file contains simple bridging functions to the runtime +// logging tapset +// Copyright (C) 2005 Red Hat Inc. +// +// This file is part of systemtap, and is free software. You can +// redistribute it and/or modify it under the terms of the GNU General +// Public License (GPL); either version 2, or (at your option) any +// later version. function print (msg:string) %{ _stp_print (THIS->msg); diff --git a/tapset/system_calls.stp b/tapset/system_calls.stp index be2676d0..4b0665a8 100644 --- a/tapset/system_calls.stp +++ b/tapset/system_calls.stp @@ -1,3 +1,11 @@ +// syscalls tapset +// Copyright (C) 2005 IBM Corp. +// +// This file is part of systemtap, and is free software. You can +// redistribute it and/or modify it under the terms of the GNU General +// Public License (GPL); either version 2, or (at your option) any +// later version. + # time_____________________________________________ /* asmlinkage long sys_time(time_t __user * tloc) */ probe kernel.syscall.time = diff --git a/tapset/timestamp.stp b/tapset/timestamp.stp index 8b8aa3f2..009e1112 100644 --- a/tapset/timestamp.stp +++ b/tapset/timestamp.stp @@ -1,3 +1,12 @@ +// timestamp tapset +// Copyright (C) 2005 Red Hat Inc. +// +// This file is part of systemtap, and is free software. You can +// redistribute it and/or modify it under the terms of the GNU General +// Public License (GPL); either version 2, or (at your option) any +// later version. + + %{ #include <linux/time.h> %} |