diff options
author | hunt <hunt> | 2005-10-31 19:23:21 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-10-31 19:23:21 +0000 |
commit | b4e1e09cca183a8cb9879511e9a5b5e53d8c90d5 (patch) | |
tree | 59a016d15c457e897a414cfa47e3efbee04a35c7 | |
parent | 1c9db4fdf66fe88a731319b99942872fa567d742 (diff) | |
download | systemtap-steved-b4e1e09cca183a8cb9879511e9a5b5e53d8c90d5.tar.gz systemtap-steved-b4e1e09cca183a8cb9879511e9a5b5e53d8c90d5.tar.xz systemtap-steved-b4e1e09cca183a8cb9879511e9a5b5e53d8c90d5.zip |
2005-10-31 Martin Hunt <hunt@redhat.com>
* ALL: Cleanup copyrights.
-rw-r--r-- | runtime/ChangeLog | 4 | ||||
-rw-r--r-- | runtime/alloc.c | 3 | ||||
-rw-r--r-- | runtime/copy.c | 3 | ||||
-rw-r--r-- | runtime/counter.c | 12 | ||||
-rw-r--r-- | runtime/current.c | 3 | ||||
-rw-r--r-- | runtime/io.c | 3 | ||||
-rw-r--r-- | runtime/list.c | 10 | ||||
-rw-r--r-- | runtime/map-str.c | 10 | ||||
-rw-r--r-- | runtime/map-values.c | 12 | ||||
-rw-r--r-- | runtime/map.c | 12 | ||||
-rw-r--r-- | runtime/map.h | 12 | ||||
-rw-r--r-- | runtime/print.c | 12 | ||||
-rw-r--r-- | runtime/probes.c | 12 | ||||
-rw-r--r-- | runtime/regs.c | 5 | ||||
-rw-r--r-- | runtime/runtime.h | 3 | ||||
-rw-r--r-- | runtime/stack.c | 30 | ||||
-rw-r--r-- | runtime/stat-common.c | 15 | ||||
-rw-r--r-- | runtime/stat.c | 11 | ||||
-rw-r--r-- | runtime/stat.h | 12 | ||||
-rw-r--r-- | runtime/string.c | 11 | ||||
-rw-r--r-- | runtime/string.h | 10 | ||||
-rw-r--r-- | runtime/sym.c | 12 |
22 files changed, 179 insertions, 38 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog index 9f85601a..8fb92e20 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,3 +1,7 @@ +2005-10-31 Martin Hunt <hunt@redhat.com> + + * ALL: Cleanup copyrights. + 2005-10-28 Martin Hunt <hunt@redhat.com> * map-gen.c (MAP_GET_VAL): Use the _stp_get_*() functions. diff --git a/runtime/alloc.c b/runtime/alloc.c index c9fb8354..5e5bb11a 100644 --- a/runtime/alloc.c +++ b/runtime/alloc.c @@ -1,4 +1,5 @@ -/* Memory allocation functions +/* -*- linux-c -*- + * Memory allocation functions * Copyright (C) 2005 Red Hat Inc. * * This file is part of systemtap, and is free software. You can diff --git a/runtime/copy.c b/runtime/copy.c index 86c8f65f..7e28a6a6 100644 --- a/runtime/copy.c +++ b/runtime/copy.c @@ -1,4 +1,5 @@ -/* Copy from user space functions +/* -*- linux-c -*- + * Copy from user space functions * Copyright (C) 2005 Red Hat Inc. * Copyright (C) 2005 Intel Corporation. * diff --git a/runtime/counter.c b/runtime/counter.c index ff50c766..def734f6 100644 --- a/runtime/counter.c +++ b/runtime/counter.c @@ -1,4 +1,14 @@ -#ifndef _COUNTER_C_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * Counter aggregation Functions + * 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. + */ + +#ifndef _COUNTER_C_ #define _COUNTER_C_ /** @file counter.c diff --git a/runtime/current.c b/runtime/current.c index 0b2d84ad..5dbc06ef 100644 --- a/runtime/current.c +++ b/runtime/current.c @@ -1,4 +1,5 @@ -/* Functions to access the members of pt_regs struct +/* -*- linux-c -*- + * Functions to access the members of pt_regs struct * Copyright (C) 2005 Red Hat Inc. * Copyright (C) 2005 Intel Corporation. * diff --git a/runtime/io.c b/runtime/io.c index 0e29b2f1..dd4a9036 100644 --- a/runtime/io.c +++ b/runtime/io.c @@ -1,4 +1,5 @@ -/* I/O for printing warnings, errors and debug messages +/* -*- linux-c -*- + * I/O for printing warnings, errors and debug messages * Copyright (C) 2005 Red Hat Inc. * * This file is part of systemtap, and is free software. You can diff --git a/runtime/list.c b/runtime/list.c index 815b7bad..2bb197e3 100644 --- a/runtime/list.c +++ b/runtime/list.c @@ -1,3 +1,13 @@ +/* -*- linux-c -*- + * List Functions + * 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. + */ + #ifndef _LIST_C_ /* -*- linux-c -*- */ #define _LIST_C_ diff --git a/runtime/map-str.c b/runtime/map-str.c index 96eb5b5c..2a6e84b6 100644 --- a/runtime/map-str.c +++ b/runtime/map-str.c @@ -1,4 +1,12 @@ -/* -*- linux-c -*- */ +/* -*- linux-c -*- + * Map String Functions + * 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. + */ /** @file map-str.c * @brief Map functions to set and get strings diff --git a/runtime/map-values.c b/runtime/map-values.c index 743323e4..d41d85b1 100644 --- a/runtime/map-values.c +++ b/runtime/map-values.c @@ -1,4 +1,14 @@ -#ifndef _MAP_VALUES_C_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * Map value functions + * 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. + */ + +#ifndef _MAP_VALUES_C_ #define _MAP_VALUES_C_ /** @file map-values.c diff --git a/runtime/map.c b/runtime/map.c index 6da366e5..0f11e9d3 100644 --- a/runtime/map.c +++ b/runtime/map.c @@ -1,4 +1,14 @@ -#ifndef _MAP_C_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * Map Functions + * 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. + */ + +#ifndef _MAP_C_ #define _MAP_C_ /** @file map.c diff --git a/runtime/map.h b/runtime/map.h index 9c0b1fc3..7dcb0e41 100644 --- a/runtime/map.h +++ b/runtime/map.h @@ -1,4 +1,14 @@ -#ifndef _MAP_H_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * Map Header File + * 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. + */ + +#ifndef _MAP_H_ #define _MAP_H_ /** @file map.h diff --git a/runtime/print.c b/runtime/print.c index a66f074e..fc3cf058 100644 --- a/runtime/print.c +++ b/runtime/print.c @@ -1,4 +1,14 @@ -#ifndef _PRINT_C_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * Print Functions + * 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. + */ + +#ifndef _PRINT_C_ #define _PRINT_C_ #include <linux/config.h> diff --git a/runtime/probes.c b/runtime/probes.c index 139d53aa..19539044 100644 --- a/runtime/probes.c +++ b/runtime/probes.c @@ -1,4 +1,14 @@ -#ifndef _PROBES_C_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * Functions for Registering and Unregistering Probes + * 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. + */ + +#ifndef _PROBES_C_ #define _PROBES_C /** @file probes.c diff --git a/runtime/regs.c b/runtime/regs.c index 51c46db3..3684ad3d 100644 --- a/runtime/regs.c +++ b/runtime/regs.c @@ -1,4 +1,5 @@ -/* register access functions +/* -*- linux-c -*- + * register access functions * Copyright (C) 2005 Intel Corporation. * * This file is part of systemtap, and is free software. You can @@ -7,7 +8,7 @@ * later version. */ -#ifndef _REG_C_ /* -*- linux-c -*- */ +#ifndef _REG_C_ #define _REG_C_ #if defined __ia64__ diff --git a/runtime/runtime.h b/runtime/runtime.h index 3bc6671b..fba6f153 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -1,4 +1,5 @@ -/* main header file +/* -*- linux-c -*- + * main header file * Copyright (C) 2005 Red Hat Inc. * Copyright (C) 2005 Intel Corporation. * diff --git a/runtime/stack.c b/runtime/stack.c index c09b8171..206d656a 100644 --- a/runtime/stack.c +++ b/runtime/stack.c @@ -1,4 +1,5 @@ -/* Stack tracing functions +/* -*- linux-c -*- + * Stack tracing functions * Copyright (C) 2005 Red Hat Inc. * Copyright (C) 2005 Intel Corporation. * @@ -11,7 +12,6 @@ #ifndef _STACK_C_ /* -*- linux-c -*- */ #define _STACK_C_ - /** @file stack.c * @brief Stack Tracing Functions */ @@ -50,16 +50,16 @@ static void __stp_stack_sprint (String str, unsigned long *stack, int verbose, i #elif defined (__ia64__) struct dump_para{ - unsigned long *sp; - String str; + unsigned long *sp; + String str; }; static void __stp_show_stack_sym(struct unw_frame_info *info, void *arg) { - unsigned long ip, skip=1; - String str = ((struct dump_para*)arg)->str; - struct pt_regs *regs = container_of(((struct dump_para*)arg)->sp, struct pt_regs, r12); - + unsigned long ip, skip=1; + String str = ((struct dump_para*)arg)->str; + struct pt_regs *regs = container_of(((struct dump_para*)arg)->sp, struct pt_regs, r12); + do { unw_get_ip(info, &ip); if (ip == 0) break; @@ -76,10 +76,10 @@ static void __stp_show_stack_sym(struct unw_frame_info *info, void *arg) static void __stp_show_stack_addr(struct unw_frame_info *info, void *arg) { - unsigned long ip, skip=1; - String str = ((struct dump_para*)arg)->str; - struct pt_regs *regs = container_of(((struct dump_para*)arg)->sp, struct pt_regs, r12); - + unsigned long ip, skip=1; + String str = ((struct dump_para*)arg)->str; + struct pt_regs *regs = container_of(((struct dump_para*)arg)->sp, struct pt_regs, r12); + do { unw_get_ip(info, &ip); if (ip == 0) break; @@ -94,14 +94,14 @@ static void __stp_show_stack_addr(struct unw_frame_info *info, void *arg) static void __stp_stack_sprint (String str, unsigned long *stack, int verbose, int levels) { - struct dump_para para; + struct dump_para para; para.str = str; para.sp = stack; if (verbose) - unw_init_running(__stp_show_stack_sym, ¶); + unw_init_running(__stp_show_stack_sym, ¶); else - unw_init_running(__stp_show_stack_addr, ¶); + unw_init_running(__stp_show_stack_addr, ¶); } #elif defined (__i386__) diff --git a/runtime/stat-common.c b/runtime/stat-common.c index 55f2ad38..86a7b79b 100644 --- a/runtime/stat-common.c +++ b/runtime/stat-common.c @@ -1,8 +1,15 @@ -#ifndef _STAT_COMMON_C_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * common stats functions for aggragations and maps + * 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. + */ + +#ifndef _STAT_COMMON_C_ #define _STAT_COMMON_C_ - -/* common stats functions for aggragations and maps */ - #include "stat.h" static int needed_space(int64_t v) diff --git a/runtime/stat.c b/runtime/stat.c index f57dea65..b0ae90d1 100644 --- a/runtime/stat.c +++ b/runtime/stat.c @@ -1,4 +1,13 @@ -#ifndef _STAT_C_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * Statistics Aggregation + * 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. + */ +#ifndef _STAT_C_ #define _STAT_C_ /** @file stat.c diff --git a/runtime/stat.h b/runtime/stat.h index 50dfc458..89862532 100644 --- a/runtime/stat.h +++ b/runtime/stat.h @@ -1,4 +1,14 @@ -#ifndef _STAT_H_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * Statistics Header + * 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. + */ + +#ifndef _STAT_H_ #define _STAT_H_ #ifndef NEED_STAT_LOCKS diff --git a/runtime/string.c b/runtime/string.c index b4c14d01..2243aa53 100644 --- a/runtime/string.c +++ b/runtime/string.c @@ -1,4 +1,13 @@ -#ifndef _STRING_C_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * String Functions + * 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. + */ +#ifndef _STRING_C_ #define _STRING_C_ #include <linux/config.h> diff --git a/runtime/string.h b/runtime/string.h index e7168e00..e4268197 100644 --- a/runtime/string.h +++ b/runtime/string.h @@ -1,4 +1,12 @@ -#ifndef _STRING_H_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * 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. + */ +#ifndef _STRING_H_ #define _STRING_H_ /** Maximum string size allowed in Strings */ diff --git a/runtime/sym.c b/runtime/sym.c index 6e686051..032d0e50 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -1,4 +1,14 @@ -#ifndef _SYM_C_ /* -*- linux-c -*- */ +/* -*- linux-c -*- + * Symbolic Lookup Functions + * 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. + */ + +#ifndef _SYM_C_ #define _SYM_C_ #include "string.c" |