summaryrefslogtreecommitdiffstats
path: root/catalog
diff options
context:
space:
mode:
authorSantosh Sivaraj <santosiv@in.ibm.com>2016-12-09 06:55:46 +0530
committerSantosh Sivaraj <santosiv@in.ibm.com>2016-12-10 08:09:58 +0530
commit3391d783993f7fbed877fed2f6d7a065c2fa887f (patch)
tree1fad54484fcbb1bf03994bc3e003805c8f78873b /catalog
parent1b90228f617085ff96f8e04f95a83bd972ed0c98 (diff)
downloadima-catalog-3391d783993f7fbed877fed2f6d7a065c2fa887f.tar.gz
ima-catalog-3391d783993f7fbed877fed2f6d7a065c2fa887f.zip
Update license headers
Signed-off-by: Santosh Sivaraj <santosiv@in.ibm.com> Acked-by: Rajarshi Das <drajarshi@in.ibm.com>
Diffstat (limited to 'catalog')
-rw-r--r--catalog/catalog.py9
-rw-r--r--catalog/common.py6
-rw-r--r--catalog/events.py13
-rw-r--r--catalog/formulae.py9
-rw-r--r--catalog/generate_dts.py7
-rw-r--r--catalog/groups.py8
-rw-r--r--catalog/read.py8
7 files changed, 50 insertions, 10 deletions
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 <santosiv@in.ibm.com>
# Copyright (C) 2016 Rajarshi Das <drajarshi@in.ibm.com>
# 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 <santosiv@in.ibm.com>
+#
+# 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 <santosiv@in.ibm.com>
+#
+# 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 <santosiv@in.ibm.com>
+#
+# 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 <hemant@linux.vnet.ibm.com>
# (C) 2016 Rajarshi Das <drajarshi@in.ibm.com>
#
-# 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 <santosiv@in.ibm.com>
+#
+# 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 <santosiv@in.ibm.com>
+#
+# 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
OpenPOWER on IntegriCloud