summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfche <fche>2005-09-28 17:51:23 +0000
committerfche <fche>2005-09-28 17:51:23 +0000
commite0d31311729955985b3142c1c7d08cf461192469 (patch)
tree2b8750b9dd229a930769e82179961a67b03c7211
parentab55a5ae680bdc687e0b057a8b19596106c0885b (diff)
downloadsystemtap-steved-e0d31311729955985b3142c1c7d08cf461192469.tar.gz
systemtap-steved-e0d31311729955985b3142c1c7d08cf461192469.tar.xz
systemtap-steved-e0d31311729955985b3142c1c7d08cf461192469.zip
gpl headers
-rw-r--r--tapset/context.stp8
-rw-r--r--tapset/conversions.stp9
-rw-r--r--tapset/logging.stp8
-rw-r--r--tapset/system_calls.stp8
-rw-r--r--tapset/timestamp.stp9
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>
%}