From 3391d783993f7fbed877fed2f6d7a065c2fa887f Mon Sep 17 00:00:00 2001 From: Santosh Sivaraj Date: Fri, 9 Dec 2016 06:55:46 +0530 Subject: Update license headers Signed-off-by: Santosh Sivaraj Acked-by: Rajarshi Das --- catalog/catalog.py | 9 +++++---- catalog/common.py | 6 ++++++ catalog/events.py | 13 +++++++++++-- catalog/formulae.py | 9 +++++++++ catalog/generate_dts.py | 7 +++---- catalog/groups.py | 8 ++++++++ catalog/read.py | 8 ++++++++ 7 files changed, 50 insertions(+), 10 deletions(-) (limited to 'catalog') diff --git a/catalog/catalog.py b/catalog/catalog.py index 8ea3255..ee9abcd 100644 --- a/catalog/catalog.py +++ b/catalog/catalog.py @@ -1,13 +1,14 @@ #!/usr/bin/python # +# Generate IMA performance events catalog +# # Copyright (C) 2016 Santosh Sivaraj # Copyright (C) 2016 Rajarshi Das # Copyright (C) 2016 IBM Corporation # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version -# 2 of the License, or (at your option) any later version. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at import struct import time diff --git a/catalog/common.py b/catalog/common.py index 9e33d8a..6e4729a 100644 --- a/catalog/common.py +++ b/catalog/common.py @@ -1,3 +1,9 @@ +# Copyright (C) 2016 Santosh Sivaraj +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + import struct import csv import os diff --git a/catalog/events.py b/catalog/events.py index 3560d35..8f4fa4f 100644 --- a/catalog/events.py +++ b/catalog/events.py @@ -1,5 +1,14 @@ -# This file packages all events into a binary file, which will be a part of the -# catalog file. +#!/usr/bin/python +# +# Pack all events into a binary file, which will be a part of the catalog +# (binary) file. +# +# Copyright (C) 2016 Santosh Sivaraj +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + from struct import * import csv from common import * diff --git a/catalog/formulae.py b/catalog/formulae.py index 684f1fe..64ccfe4 100644 --- a/catalog/formulae.py +++ b/catalog/formulae.py @@ -1,4 +1,13 @@ +#!/usr/bin/python +# # Pack the formulae into a binary dump to be used in the catalog +# +# Copyright (C) 2016 Santosh Sivaraj +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + from struct import * import csv from common import * diff --git a/catalog/generate_dts.py b/catalog/generate_dts.py index f7d0f45..e5f815d 100644 --- a/catalog/generate_dts.py +++ b/catalog/generate_dts.py @@ -4,10 +4,9 @@ # (C) 2016 Hemant K. Shaw # (C) 2016 Rajarshi Das # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version -# 2 of the License, or (at your option) any later version. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at import sys, getopt import string diff --git a/catalog/groups.py b/catalog/groups.py index 909e82f..0581af7 100644 --- a/catalog/groups.py +++ b/catalog/groups.py @@ -1,3 +1,11 @@ +#!/usr/bin/python +# +# Copyright (C) 2016 Santosh Sivaraj +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + from struct import * import csv from common import * diff --git a/catalog/read.py b/catalog/read.py index 50e2141..02d48ce 100644 --- a/catalog/read.py +++ b/catalog/read.py @@ -1,3 +1,11 @@ +#!/usr/bin/python +# +# Copyright (C) 2016 Santosh Sivaraj +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + from struct import * from common import * import sys -- cgit v1.2.1