Skip to content

Commit

Permalink
license headers added
Browse files Browse the repository at this point in the history
  • Loading branch information
akashche committed May 3, 2017
1 parent 6a1ed2d commit df3e158
Show file tree
Hide file tree
Showing 11 changed files with 483 additions and 2 deletions.
13 changes: 12 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Copyright 2017, akashche at redhat.com
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE.md file that
# accompanied this code).

cmake_minimum_required ( VERSION 2.8.12 )

Expand All @@ -23,7 +34,7 @@ set ( CMAKE_TOOLCHAIN_FILE ${STATICLIB_CMAKE}/toolchains/${STATICLIB_TOOLCHAIN}.

# project setup
project ( memlog_agent CXX )
set ( ${PROJECT_NAME}_STATICLIB_VERSION 0.1 )
set ( ${PROJECT_NAME}_STATICLIB_VERSION 1.0.0 )
include ( ${STATICLIB_CMAKE}/staticlibs_common.cmake )

# options
Expand Down
347 changes: 347 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions resources/memlog.plot
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
#!/usr/bin/gnuplot
#
# Copyright 2017, akashche at redhat.com
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE.md file that
# accompanied this code).

set terminal png size 800,480
set xlabel 'Seconds'
Expand Down
14 changes: 14 additions & 0 deletions resources/plotter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
#!/usr/lib/jvm/java-1.8.0/bin/jjs

/*
* Copyright 2017, akashche at redhat.com
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE.md file that
* accompanied this code).
*/

var files = Packages.java.nio.file.Files;
var paths = Packages.java.nio.file.Paths;
var system = Packages.java.lang.System;
Expand Down
14 changes: 14 additions & 0 deletions src/agentmain.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
* Copyright 2017, akashche at redhat.com
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE.md file that
* accompanied this code).
*/

/*
* File: agentmain.cpp
* Author: alex
Expand Down
14 changes: 14 additions & 0 deletions src/collect_mem_linux.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
* Copyright 2017, akashche at redhat.com
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE.md file that
* accompanied this code).
*/

/*
* File: collect_mem_linux.cpp
* Author: alex
Expand Down
14 changes: 14 additions & 0 deletions src/collect_mem_os.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
* Copyright 2017, akashche at redhat.com
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE.md file that
* accompanied this code).
*/

/*
* File: collect_mem.hpp
* Author: alex
Expand Down
16 changes: 15 additions & 1 deletion src/collect_mem_windows.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
* Copyright 2017, akashche at redhat.com
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE.md file that
* accompanied this code).
*/

/*
* File: collect_mem_windows.cpp
* Author: alex
Expand Down Expand Up @@ -39,4 +53,4 @@ sl::json::value collect_mem_from_os() {
};
}

} // namespace
} // namespace
14 changes: 14 additions & 0 deletions src/config.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
* Copyright 2017, akashche at redhat.com
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE.md file that
* accompanied this code).
*/

/*
* File: config.hpp
* Author: alex
Expand Down
14 changes: 14 additions & 0 deletions src/memlog_exception.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
* Copyright 2017, akashche at redhat.com
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE.md file that
* accompanied this code).
*/

/*
* File: memlog_exception.hpp
* Author: alex
Expand Down
13 changes: 13 additions & 0 deletions test/App.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/*
* Copyright 2017, akashche at redhat.com
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE.md file that
* accompanied this code).
*/

class App {

Expand Down

0 comments on commit df3e158

Please sign in to comment.