diff --git a/.github/dependaboy.yaml b/.github/dependaboy.yaml index 26b88fe0..2275ab96 100644 --- a/.github/dependaboy.yaml +++ b/.github/dependaboy.yaml @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # To get started with Dependabot version updates, you'll need to specify which # package ecosystems to update and where the package manifests are located. diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml index 18c60a5c..c63e458a 100644 --- a/.github/workflows/backend-ci.yml +++ b/.github/workflows/backend-ci.yml @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: gProfiler Backend CI diff --git a/.github/workflows/frontend-ci.yml b/.github/workflows/frontend-ci.yml index 9f029652..5f71914f 100644 --- a/.github/workflows/frontend-ci.yml +++ b/.github/workflows/frontend-ci.yml @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# name: gProfiler Frontend CI diff --git a/LICENSE b/LICENSE index 0bd2370e..d6456956 100644 --- a/LICENSE +++ b/LICENSE @@ -1,46 +1,202 @@ -This LIMITED INTERNAL USE LICENSE AGREEMENT (“Agreement”) is a contract between you and Intel Corporation and its affiliates (“Intel”) and governs any use of Material. If you use Material on behalf of or in conjunction with your work for your employer, you represent and warrant that you have the authority to bind your employer to this Agreement. By downloading, installing, or using Material, you accept these terms. If you do not accept these terms, do not use any Material and destroy all copies. -1 DEFINITIONS. -1.1 “Including”, and its variants, means including but not limited -to, whether or not capitalized. -1.2 “Intel Component” means a hardware component or product designed, developed, sold, or distributed by Intel. -1.3 “Material” means software, hardware description language code, artificial intelligence models and training datasets, or other computer files, information or collateral Intel delivers to you under this Agreement. -1.4 “You” or “Your” means you or you and your employer and its affiliates, whether or not capitalized. -1.5 “Your Product” means product developed or to be developed by or for you that includes an Intel Component implementing or executing Material. -2 LICENSES. -2.1 License. Subject to the terms of this Agreement, Intel grants to you, for the Term, a personal, limited, non-transferable, non- exclusive, worldwide, revocable, royalty-free, license under Intel’s intellectual property rights in the Material, without the right to sublicense, to: -a) internally develop Your Product; -b) internally modify Material delivered as source code (or its equivalent); and -c) demonstrate Your Product, including demonstrating the Material in object code (or its equivalent) as delivered by Intel or as modified by You. -2.2 Subcontractor. You may disclose Material to your subcontractor for its work on Your Product under an agreement preventing the subcontractor from disclosing Material to others. You will be liable for the acts or omissions of your subcontractor, including unauthorized disclosure of confidential information. -2.3 Restrictions. Except as authorized above, you will not: (a) use or modify Material in any other way; (b) reverse engineer, decompile, or disassemble Material provided as object code (except as required by applicable law or under an applicable open source license), or (c) use Material to violate or aid in the violation of any international human right. -2.4 No Implied License. Except for the express license in Section 2.1 Intel does not grant you (i) any express or implied license under any legal theory, or (ii) or any license to make, have made, use, sell, offer for sale, import, or otherwise dispose of any Intel technology or third-party products, or perform any patented process, even if referenced in the Material. Any other licenses from Intel require additional consideration. Nothing in this Agreement requires Intel to grant any additional license. -2.5 Feedback. If you give Intel comments or suggestions related -to Intel Components or Intel confidential information provided in connection with this Agreement, including Material, Intel can use them in any way and disclose them to anyone, without payment or other obligations to you. -2.6 Open Source Licenses. The Material may include software subject to an open source license, including Open Source Initiative approved licenses (http://www.opensource.org). Nothing in this Agreement limits or grants any rights under, or that supersede, the terms of any applicable open source license. -2.7 Third-Party Software. Your use of certain third-party software with or within the Material is subject to your compliance with licensing you obtain directly from that third-party. A listing of any such third-party software may accompany the Material. -3 CONFIDENTIALITY. The terms of this Agreement and the Material are Intel confidential information and subject to your valid corporate non-disclosure agreement with Intel (CNDA). Except as authorized in Section 2.1, you must not disclose this information to anyone, including the U.S. government. This Agreement will not become effective, or will automatically terminate, in the absence of a CNDA. This Agreement will take precedence in the event of a conflict with the CNDA. -4 OWNERSHIP. Ownership of the Material and related intellectual property rights is unchanged. You must maintain all copyright or other proprietary notices in the Material. -5 NO WARRANTY. The Material is provided “as is,” without any express or implied warranty of any kind including warranties of merchantability, non-infringement, title, or fitness for a particular purpose. The Material may be pre-release and may not be fully functional. Intel is not required to maintain, update, or support any Material. -6 LIMITATION ON LIABILITY. Your use of Material is at your own risk. Intel will not be liable to you under any legal theory for any losses or damages in connection with the Material or your use of Material, including consequential damages, even if the possibility of damages was foreseeable or known. If any liability is found, Intel’s total, cumulative liability to you for all claims arising from or related to this Agreement will not exceed $100.00 U.S. These liability limitations are a fundamental basis of our bargain and Intel would not have entered into this Agreement without them. -7 INDEMNITY. You will indemnify, defend, and hold Intel harmless from any allegation against Intel arising in connection with your use of Material and you will pay all of Intel’s losses, liabilities, and costs (including reasonable attorneys’ fees) arising from the allegation. -8 PRIVACY; DATA COLLECTION. -8.1 Privacy. Intel’s Privacy Notice governs how Intel may process personal information related to your use of Material (see https://www.intel.com/privacy). Intel may collect identifying -Limited Internal Use License Agreement [v2022.12.20] - -information during registration and information on your use of Material (see “Information You Provide to Intel Voluntarily” and “Device and Product Operation” sections). -8.2 Data Collection. Some Material may generate, collect, and transmit to Intel information to help improve Intel’s products and services, to verify your license rights to Material, or for other stated purposes. Information collected may include Intel Component or Material name and version, time of event collection, license or support type, installation status, performance, and use. Intel’s use of information may include combination of the information collected from you with other information. -9 GENERAL. -9.1 Assignment. You may not assign your rights or obligations under this Agreement without Intel’s prior written consent. No third party will have any rights under this Agreement. -9.2 Dispute Resolution. If we have a dispute regarding this Agreement (other than for misappropriation of trade secrets or breaches of confidentiality obligations), neither party can file a lawsuit or other regulatory proceeding before the complaining party provides the other party a detailed notice of the dispute and our senior managers attempt to resolve the dispute. If our senior managers cannot resolve the dispute in 30 days, either party may demand mediation in which we will then try to resolve the dispute with an impartial mediator. If our dispute is not resolved within 60 days after the mediation demand, either party may begin litigation. -9.3 Governing Law; Jurisdiction. This Agreement is governed by USA and Delaware law without regard to conflict of laws principles. The United Nations Convention on Contracts for the International Sale of Goods does not apply. Except for claims for misappropriation of trade secrets or breach of confidentiality obligations, all disputes and actions arising out of or related to this Agreement are subject to the exclusive jurisdiction of the state and federal courts in Wilmington, Delaware and you consent to personal jurisdiction in those courts. -9.4 Compliance with Laws. The Material is subject to, and You must comply with, applicable government laws and regulations, including without limitation U.S. and worldwide trade regulations prohibiting the export, import, or transfer Material to any prohibited or sanctioned country, person, or entity. You must not use Material for the development, design, manufacture, or production of nuclear, missile, chemical, or biological weapons. -9.5 Severability. If a court holds a provision of this Agreement unenforceable, the court will modify that provision to the minimum extent necessary to make it enforceable or, if necessary, to sever that provision. The rest of the Agreement remains enforceable. -9.6 Waiver. No waiver of any provision of this Agreement will be valid unless in a writing specifying the waived provision signed by an authorized representative of the waiving party. A signed waiver will not constitute waiver of any other provision. Failure or delay in enforcing any provision will not operate as a waiver. -9.7 Entire Agreement. Except for any non-disclosure agreement between you and Intel, this Agreement constitutes the entire agreement, and supersedes all prior and contemporaneous agreements, between Intel and you concerning its subject matter. -10 TERM; TERMINATION; SURVIVAL. -10.1 Term. This Agreement begins upon your acceptance of its -terms and continues until terminated under Sections 3 or 10.2. -10.2 Termination. Either party may terminate this Agreement, with 30 days written notice, at any time for any reason. This Agreement will automatically terminate upon (a) your breach of the Agreement, (b) a claim that you do not have authority to bind your employer to these terms, or (c) your assertion that any Intel Component, Material, or product based on any Intel Component or Material infringes your patents. -10.3 Effect of Termination. Upon termination of the Agreement, the licenses to you will immediately terminate and you must cease using any Material and destroy all copies in your possession and direct your subcontractors to do the same. Termination of this Agreement will not terminate the CNDA. -10.4 Survival. All sections except Section 2.1 survive termination of this Agreement. -Limited Internal Use License Agreement [v2022.12.20] + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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 + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/branch_rules.sh b/branch_rules.sh index 57c679eb..41d49703 100644 --- a/branch_rules.sh +++ b/branch_rules.sh @@ -1,9 +1,20 @@ #!/usr/bin/env bash -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# local_branch="$(git rev-parse --abbrev-ref HEAD)" diff --git a/deploy/diagnostic.sh b/deploy/diagnostic.sh index dd2fc6ae..9c5a23af 100755 --- a/deploy/diagnostic.sh +++ b/deploy/diagnostic.sh @@ -1,9 +1,20 @@ #!/bin/bash -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# source .env diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 2d91331e..eab542d8 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# version: "3.6" services: diff --git a/deploy/periodic_tasks/aggregations.sh b/deploy/periodic_tasks/aggregations.sh index 17a3dfd7..b32ff6c1 100644 --- a/deploy/periodic_tasks/aggregations.sh +++ b/deploy/periodic_tasks/aggregations.sh @@ -1,9 +1,20 @@ #!/bin/sh -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# echo "aggregation started" psql -h $PGHOST -p $PGPORT -U $PGUSER -d $PGDATABASE -c "CALL update_profiler_service_hourly_usages()" diff --git a/deploy/periodic_tasks/logrotate_conf.sh b/deploy/periodic_tasks/logrotate_conf.sh index 0f2cf284..ede36f41 100644 --- a/deploy/periodic_tasks/logrotate_conf.sh +++ b/deploy/periodic_tasks/logrotate_conf.sh @@ -1,9 +1,20 @@ #!/bin/sh -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# cat < /etc/logrotate.conf diff --git a/dev-requirements.txt b/dev-requirements.txt index 87752a21..ab07f3fc 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# flake8==7.0.0 black==22.3.0 diff --git a/enable_hook.sh b/enable_hook.sh index cde506d4..c6d771b3 100755 --- a/enable_hook.sh +++ b/enable_hook.sh @@ -1,9 +1,20 @@ #!/bin/bash -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# set -e diff --git a/lint.sh b/lint.sh index 757f7656..e736d4c8 100755 --- a/lint.sh +++ b/lint.sh @@ -1,9 +1,20 @@ #!/usr/bin/env bash -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # for pre-commit git hook CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../.." diff --git a/scripts/setup/postgres/gprofiler_recreate.sql b/scripts/setup/postgres/gprofiler_recreate.sql index d45b03f3..434579fa 100644 --- a/scripts/setup/postgres/gprofiler_recreate.sql +++ b/scripts/setup/postgres/gprofiler_recreate.sql @@ -1,7 +1,18 @@ --- INTEL CONFIDENTIAL +-- -- Copyright (C) 2023 Intel Corporation --- This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. --- This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +-- +-- 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 +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- -- TYPES diff --git a/src/gprofiler-dev/gprofiler_dev/__init__.py b/src/gprofiler-dev/gprofiler_dev/__init__.py index f9b0277d..80f9cba6 100644 --- a/src/gprofiler-dev/gprofiler_dev/__init__.py +++ b/src/gprofiler-dev/gprofiler_dev/__init__.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from functools import lru_cache diff --git a/src/gprofiler-dev/gprofiler_dev/api_key.py b/src/gprofiler-dev/gprofiler_dev/api_key.py index f958d8bb..63c94aa9 100644 --- a/src/gprofiler-dev/gprofiler_dev/api_key.py +++ b/src/gprofiler-dev/gprofiler_dev/api_key.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging import re diff --git a/src/gprofiler-dev/gprofiler_dev/boto3_utils.py b/src/gprofiler-dev/gprofiler_dev/boto3_utils.py index 42b1785e..2d585050 100644 --- a/src/gprofiler-dev/gprofiler_dev/boto3_utils.py +++ b/src/gprofiler-dev/gprofiler_dev/boto3_utils.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from threading import RLock diff --git a/src/gprofiler-dev/gprofiler_dev/client_handler.py b/src/gprofiler-dev/gprofiler_dev/client_handler.py index 5130a4ce..bc20b649 100644 --- a/src/gprofiler-dev/gprofiler_dev/client_handler.py +++ b/src/gprofiler-dev/gprofiler_dev/client_handler.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from __future__ import annotations diff --git a/src/gprofiler-dev/gprofiler_dev/config.py b/src/gprofiler-dev/gprofiler_dev/config.py index 3c074f72..459ae5e1 100644 --- a/src/gprofiler-dev/gprofiler_dev/config.py +++ b/src/gprofiler-dev/gprofiler_dev/config.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os diff --git a/src/gprofiler-dev/gprofiler_dev/logger_setup.py b/src/gprofiler-dev/gprofiler_dev/logger_setup.py index 516684c3..f863bd54 100644 --- a/src/gprofiler-dev/gprofiler_dev/logger_setup.py +++ b/src/gprofiler-dev/gprofiler_dev/logger_setup.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging.config import logging.handlers diff --git a/src/gprofiler-dev/gprofiler_dev/lru_cache_impl.py b/src/gprofiler-dev/gprofiler_dev/lru_cache_impl.py index be5d8cf9..fe1d7b09 100644 --- a/src/gprofiler-dev/gprofiler_dev/lru_cache_impl.py +++ b/src/gprofiler-dev/gprofiler_dev/lru_cache_impl.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from collections import OrderedDict from typing import Optional, TypeVar diff --git a/src/gprofiler-dev/gprofiler_dev/postgres/__init__.py b/src/gprofiler-dev/gprofiler_dev/postgres/__init__.py index 759aede5..5366ed40 100644 --- a/src/gprofiler-dev/gprofiler_dev/postgres/__init__.py +++ b/src/gprofiler-dev/gprofiler_dev/postgres/__init__.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import threading from typing import Optional diff --git a/src/gprofiler-dev/gprofiler_dev/postgres/db_manager.py b/src/gprofiler-dev/gprofiler_dev/postgres/db_manager.py index 43e5b657..2b57ece3 100644 --- a/src/gprofiler-dev/gprofiler_dev/postgres/db_manager.py +++ b/src/gprofiler-dev/gprofiler_dev/postgres/db_manager.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import hashlib import json diff --git a/src/gprofiler-dev/gprofiler_dev/postgres/postgresdb.py b/src/gprofiler-dev/gprofiler_dev/postgres/postgresdb.py index e95bf5ee..8bebf634 100644 --- a/src/gprofiler-dev/gprofiler_dev/postgres/postgresdb.py +++ b/src/gprofiler-dev/gprofiler_dev/postgres/postgresdb.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import time from contextlib import contextmanager diff --git a/src/gprofiler-dev/gprofiler_dev/postgres/queries.py b/src/gprofiler-dev/gprofiler_dev/postgres/queries.py index 71319a24..8a6894d4 100644 --- a/src/gprofiler-dev/gprofiler_dev/postgres/queries.py +++ b/src/gprofiler-dev/gprofiler_dev/postgres/queries.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from textwrap import dedent diff --git a/src/gprofiler-dev/gprofiler_dev/postgres/schemas.py b/src/gprofiler-dev/gprofiler_dev/postgres/schemas.py index 7d1ea72e..76e61849 100644 --- a/src/gprofiler-dev/gprofiler_dev/postgres/schemas.py +++ b/src/gprofiler-dev/gprofiler_dev/postgres/schemas.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import datetime from enum import Enum diff --git a/src/gprofiler-dev/gprofiler_dev/profiles_utils.py b/src/gprofiler-dev/gprofiler_dev/profiles_utils.py index c0f7176f..def3f88e 100644 --- a/src/gprofiler-dev/gprofiler_dev/profiles_utils.py +++ b/src/gprofiler-dev/gprofiler_dev/profiles_utils.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from __future__ import annotations diff --git a/src/gprofiler-dev/gprofiler_dev/s3_profile_dal.py b/src/gprofiler-dev/gprofiler_dev/s3_profile_dal.py index ccf270d2..22f05a38 100644 --- a/src/gprofiler-dev/gprofiler_dev/s3_profile_dal.py +++ b/src/gprofiler-dev/gprofiler_dev/s3_profile_dal.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime from io import BytesIO diff --git a/src/gprofiler-dev/gprofiler_dev/tags.py b/src/gprofiler-dev/gprofiler_dev/tags.py index 42eacde6..d7b797fd 100644 --- a/src/gprofiler-dev/gprofiler_dev/tags.py +++ b/src/gprofiler-dev/gprofiler_dev/tags.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from hashlib import md5 from itertools import takewhile diff --git a/src/gprofiler-dev/postgres_requirements.txt b/src/gprofiler-dev/postgres_requirements.txt index 6964f725..f11d6f41 100644 --- a/src/gprofiler-dev/postgres_requirements.txt +++ b/src/gprofiler-dev/postgres_requirements.txt @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# psycopg2-binary==2.9.9 pydantic[email]==1.10.14 diff --git a/src/gprofiler-dev/requirements.txt b/src/gprofiler-dev/requirements.txt index 7a33c1ae..361ce36c 100644 --- a/src/gprofiler-dev/requirements.txt +++ b/src/gprofiler-dev/requirements.txt @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# boto3==1.34.25 botocore==1.34.25 diff --git a/src/gprofiler-dev/setup.py b/src/gprofiler-dev/setup.py index 686bf9b5..612af855 100644 --- a/src/gprofiler-dev/setup.py +++ b/src/gprofiler-dev/setup.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os diff --git a/src/gprofiler/backend/__init__.py b/src/gprofiler/backend/__init__.py index 44e695b2..8051d54e 100644 --- a/src/gprofiler/backend/__init__.py +++ b/src/gprofiler/backend/__init__.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from backend import config from gprofiler_dev.logger_setup import setup_logger diff --git a/src/gprofiler/backend/config.py b/src/gprofiler/backend/config.py index 62df39d4..04bcdc78 100644 --- a/src/gprofiler/backend/config.py +++ b/src/gprofiler/backend/config.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os diff --git a/src/gprofiler/backend/main.py b/src/gprofiler/backend/main.py index bb24c574..990fe185 100644 --- a/src/gprofiler/backend/main.py +++ b/src/gprofiler/backend/main.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime diff --git a/src/gprofiler/backend/models/__init__.py b/src/gprofiler/backend/models/__init__.py index 8be3918b..b1050db7 100644 --- a/src/gprofiler/backend/models/__init__.py +++ b/src/gprofiler/backend/models/__init__.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from humps import camelize from pydantic import BaseModel diff --git a/src/gprofiler/backend/models/api_key_models.py b/src/gprofiler/backend/models/api_key_models.py index 24ab6c3e..992be8f0 100644 --- a/src/gprofiler/backend/models/api_key_models.py +++ b/src/gprofiler/backend/models/api_key_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from backend.models import CamelModel diff --git a/src/gprofiler/backend/models/common.py b/src/gprofiler/backend/models/common.py index 86fb481d..8a07ea79 100644 --- a/src/gprofiler/backend/models/common.py +++ b/src/gprofiler/backend/models/common.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from typing import Any, Dict diff --git a/src/gprofiler/backend/models/filters_models.py b/src/gprofiler/backend/models/filters_models.py index 7cc946a0..3f18a06b 100644 --- a/src/gprofiler/backend/models/filters_models.py +++ b/src/gprofiler/backend/models/filters_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from enum import Enum from typing import Any, Dict, List, Optional diff --git a/src/gprofiler/backend/models/flamegraph_models.py b/src/gprofiler/backend/models/flamegraph_models.py index e5a27d5b..75a8b9e7 100644 --- a/src/gprofiler/backend/models/flamegraph_models.py +++ b/src/gprofiler/backend/models/flamegraph_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime from typing import Dict, List, Optional diff --git a/src/gprofiler/backend/models/healthcheck_models.py b/src/gprofiler/backend/models/healthcheck_models.py index 79e28a90..8eb35e38 100644 --- a/src/gprofiler/backend/models/healthcheck_models.py +++ b/src/gprofiler/backend/models/healthcheck_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from pydantic import BaseModel diff --git a/src/gprofiler/backend/models/installation_models.py b/src/gprofiler/backend/models/installation_models.py index 8584c7b0..3275ff9c 100644 --- a/src/gprofiler/backend/models/installation_models.py +++ b/src/gprofiler/backend/models/installation_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from enum import Enum diff --git a/src/gprofiler/backend/models/metrics_models.py b/src/gprofiler/backend/models/metrics_models.py index ede0972d..de6945a9 100644 --- a/src/gprofiler/backend/models/metrics_models.py +++ b/src/gprofiler/backend/models/metrics_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime from typing import Optional diff --git a/src/gprofiler/backend/models/minesweeper_models.py b/src/gprofiler/backend/models/minesweeper_models.py index a3c5c647..e63a2fd8 100644 --- a/src/gprofiler/backend/models/minesweeper_models.py +++ b/src/gprofiler/backend/models/minesweeper_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime from typing import Optional diff --git a/src/gprofiler/backend/models/overview_models.py b/src/gprofiler/backend/models/overview_models.py index f729b048..7e1969b9 100644 --- a/src/gprofiler/backend/models/overview_models.py +++ b/src/gprofiler/backend/models/overview_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime from typing import Optional diff --git a/src/gprofiler/backend/models/profiles_models.py b/src/gprofiler/backend/models/profiles_models.py index 03bfbe5f..6fb2823a 100644 --- a/src/gprofiler/backend/models/profiles_models.py +++ b/src/gprofiler/backend/models/profiles_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime from typing import Union diff --git a/src/gprofiler/backend/models/services_models.py b/src/gprofiler/backend/models/services_models.py index dfd2763c..8d357201 100644 --- a/src/gprofiler/backend/models/services_models.py +++ b/src/gprofiler/backend/models/services_models.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime from typing import Optional diff --git a/src/gprofiler/backend/routers/__init__.py b/src/gprofiler/backend/routers/__init__.py index 652bae0d..2c811f52 100644 --- a/src/gprofiler/backend/routers/__init__.py +++ b/src/gprofiler/backend/routers/__init__.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from backend.routers import ( api_key_routes, diff --git a/src/gprofiler/backend/routers/api_key_routes.py b/src/gprofiler/backend/routers/api_key_routes.py index be029593..819a6e0f 100644 --- a/src/gprofiler/backend/routers/api_key_routes.py +++ b/src/gprofiler/backend/routers/api_key_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from logging import getLogger diff --git a/src/gprofiler/backend/routers/filters_routes.py b/src/gprofiler/backend/routers/filters_routes.py index 3c6a2127..72d9c843 100644 --- a/src/gprofiler/backend/routers/filters_routes.py +++ b/src/gprofiler/backend/routers/filters_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from logging import getLogger from typing import List diff --git a/src/gprofiler/backend/routers/flamegraph_routes.py b/src/gprofiler/backend/routers/flamegraph_routes.py index 92244e56..ad370183 100644 --- a/src/gprofiler/backend/routers/flamegraph_routes.py +++ b/src/gprofiler/backend/routers/flamegraph_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime from io import BytesIO diff --git a/src/gprofiler/backend/routers/healthcheck_routes.py b/src/gprofiler/backend/routers/healthcheck_routes.py index b6e9a847..505d7ade 100644 --- a/src/gprofiler/backend/routers/healthcheck_routes.py +++ b/src/gprofiler/backend/routers/healthcheck_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from logging import getLogger diff --git a/src/gprofiler/backend/routers/installations_routes.py b/src/gprofiler/backend/routers/installations_routes.py index a7b0d057..bb98dd08 100644 --- a/src/gprofiler/backend/routers/installations_routes.py +++ b/src/gprofiler/backend/routers/installations_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import io from logging import getLogger diff --git a/src/gprofiler/backend/routers/metrics_routes.py b/src/gprofiler/backend/routers/metrics_routes.py index 17d1e61e..3efb735f 100644 --- a/src/gprofiler/backend/routers/metrics_routes.py +++ b/src/gprofiler/backend/routers/metrics_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import math from datetime import datetime, timedelta diff --git a/src/gprofiler/backend/routers/minesweeper_routes.py b/src/gprofiler/backend/routers/minesweeper_routes.py index 63d5c4c8..ff09da8b 100644 --- a/src/gprofiler/backend/routers/minesweeper_routes.py +++ b/src/gprofiler/backend/routers/minesweeper_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from logging import getLogger diff --git a/src/gprofiler/backend/routers/overview_routes.py b/src/gprofiler/backend/routers/overview_routes.py index 2058bf24..ef613cd8 100644 --- a/src/gprofiler/backend/routers/overview_routes.py +++ b/src/gprofiler/backend/routers/overview_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from logging import getLogger from typing import List diff --git a/src/gprofiler/backend/routers/profiles_routes.py b/src/gprofiler/backend/routers/profiles_routes.py index d272611c..7a45cf88 100644 --- a/src/gprofiler/backend/routers/profiles_routes.py +++ b/src/gprofiler/backend/routers/profiles_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import gzip import json diff --git a/src/gprofiler/backend/routers/services_routes.py b/src/gprofiler/backend/routers/services_routes.py index fd5efe9b..34b46629 100644 --- a/src/gprofiler/backend/routers/services_routes.py +++ b/src/gprofiler/backend/routers/services_routes.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from logging import getLogger from typing import List diff --git a/src/gprofiler/backend/utils/consts.py b/src/gprofiler/backend/utils/consts.py index 5088f8c3..38b89941 100644 --- a/src/gprofiler/backend/utils/consts.py +++ b/src/gprofiler/backend/utils/consts.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from backend.utils import exceptions from dateutil.relativedelta import relativedelta diff --git a/src/gprofiler/backend/utils/download_external.py b/src/gprofiler/backend/utils/download_external.py index 684c297b..92c5be90 100644 --- a/src/gprofiler/backend/utils/download_external.py +++ b/src/gprofiler/backend/utils/download_external.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import json from dataclasses import dataclass diff --git a/src/gprofiler/backend/utils/exceptions.py b/src/gprofiler/backend/utils/exceptions.py index f643325e..4a89984e 100644 --- a/src/gprofiler/backend/utils/exceptions.py +++ b/src/gprofiler/backend/utils/exceptions.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# class StillCollectingError(Exception): diff --git a/src/gprofiler/backend/utils/filters_utils.py b/src/gprofiler/backend/utils/filters_utils.py index a6a2dce6..72c18920 100644 --- a/src/gprofiler/backend/utils/filters_utils.py +++ b/src/gprofiler/backend/utils/filters_utils.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from typing import List, Optional diff --git a/src/gprofiler/backend/utils/flamegraph_utils.py b/src/gprofiler/backend/utils/flamegraph_utils.py index f153f4f4..616e1f58 100644 --- a/src/gprofiler/backend/utils/flamegraph_utils.py +++ b/src/gprofiler/backend/utils/flamegraph_utils.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import subprocess import tempfile diff --git a/src/gprofiler/backend/utils/generate_csv.py b/src/gprofiler/backend/utils/generate_csv.py index 633bf204..7f52a888 100644 --- a/src/gprofiler/backend/utils/generate_csv.py +++ b/src/gprofiler/backend/utils/generate_csv.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import csv from io import StringIO diff --git a/src/gprofiler/backend/utils/installation_utils.py b/src/gprofiler/backend/utils/installation_utils.py index 86b215d6..76101f45 100644 --- a/src/gprofiler/backend/utils/installation_utils.py +++ b/src/gprofiler/backend/utils/installation_utils.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import io from http.client import HTTPException diff --git a/src/gprofiler/backend/utils/json_param.py b/src/gprofiler/backend/utils/json_param.py index de7a9101..260b3a8e 100644 --- a/src/gprofiler/backend/utils/json_param.py +++ b/src/gprofiler/backend/utils/json_param.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # source: https://gist.github.com/imankulov/cef71dd5a01f9a27caeb66f7bedaf241 # this module is used due to the fact that FastAPI doesn't support json query validation against model diff --git a/src/gprofiler/backend/utils/profiles_utils.py b/src/gprofiler/backend/utils/profiles_utils.py index 1192e2a3..6b557df7 100644 --- a/src/gprofiler/backend/utils/profiles_utils.py +++ b/src/gprofiler/backend/utils/profiles_utils.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import gzip import os diff --git a/src/gprofiler/backend/utils/request_utils.py b/src/gprofiler/backend/utils/request_utils.py index 6795af4a..4f349dd2 100644 --- a/src/gprofiler/backend/utils/request_utils.py +++ b/src/gprofiler/backend/utils/request_utils.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import json from datetime import datetime diff --git a/src/gprofiler/frontend/.eslintrc.js b/src/gprofiler/frontend/.eslintrc.js index b36a4299..6de210e3 100644 --- a/src/gprofiler/frontend/.eslintrc.js +++ b/src/gprofiler/frontend/.eslintrc.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} module.exports = { env: { diff --git a/src/gprofiler/frontend/src/App.jsx b/src/gprofiler/frontend/src/App.jsx index ff8a2d85..a7ccce83 100644 --- a/src/gprofiler/frontend/src/App.jsx +++ b/src/gprofiler/frontend/src/App.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { CssBaseline } from '@mui/material'; import { ThemeProvider } from '@mui/material/styles'; diff --git a/src/gprofiler/frontend/src/api/downloadInstallationTemplateFile.js b/src/gprofiler/frontend/src/api/downloadInstallationTemplateFile.js index b1f26465..ab837f79 100644 --- a/src/gprofiler/frontend/src/api/downloadInstallationTemplateFile.js +++ b/src/gprofiler/frontend/src/api/downloadInstallationTemplateFile.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/filters/useFilterActions.jsx b/src/gprofiler/frontend/src/api/filters/useFilterActions.jsx index e1ee0a0b..a4856f83 100644 --- a/src/gprofiler/frontend/src/api/filters/useFilterActions.jsx +++ b/src/gprofiler/frontend/src/api/filters/useFilterActions.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useContext, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/api/filters/useGetFilterValueOptions.jsx b/src/gprofiler/frontend/src/api/filters/useGetFilterValueOptions.jsx index 1d9e7751..f7bcbd57 100644 --- a/src/gprofiler/frontend/src/api/filters/useGetFilterValueOptions.jsx +++ b/src/gprofiler/frontend/src/api/filters/useGetFilterValueOptions.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/api/filters/useGetServiceFilters.jsx b/src/gprofiler/frontend/src/api/filters/useGetServiceFilters.jsx index 3fcf41dc..ddccc9a4 100644 --- a/src/gprofiler/frontend/src/api/filters/useGetServiceFilters.jsx +++ b/src/gprofiler/frontend/src/api/filters/useGetServiceFilters.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetApiKey.jsx b/src/gprofiler/frontend/src/api/hooks/useGetApiKey.jsx index 5e2801e3..204c996e 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetApiKey.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetApiKey.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { DATA_URLS } from '../../api/urls'; import useFetchWithRequest from '../useFetchWithRequest'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetCompareFgData.jsx b/src/gprofiler/frontend/src/api/hooks/useGetCompareFgData.jsx index 02df1b27..56c8d6ba 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetCompareFgData.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetCompareFgData.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetCpuAndMemoryTrend.jsx b/src/gprofiler/frontend/src/api/hooks/useGetCpuAndMemoryTrend.jsx index ce9c404e..5c744f18 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetCpuAndMemoryTrend.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetCpuAndMemoryTrend.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetDatesTimesWithData.jsx b/src/gprofiler/frontend/src/api/hooks/useGetDatesTimesWithData.jsx index 605acc09..ba28d5d7 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetDatesTimesWithData.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetDatesTimesWithData.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetFgData.jsx b/src/gprofiler/frontend/src/api/hooks/useGetFgData.jsx index 313b22a6..ccd32c3e 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetFgData.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetFgData.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetFgMetrics.jsx b/src/gprofiler/frontend/src/api/hooks/useGetFgMetrics.jsx index 435e7588..e24e7dc5 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetFgMetrics.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetFgMetrics.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetOverviewPageData.jsx b/src/gprofiler/frontend/src/api/hooks/useGetOverviewPageData.jsx index 09e4e6d3..f9a92c93 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetOverviewPageData.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetOverviewPageData.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetServiceMemoryAndCpu.jsx b/src/gprofiler/frontend/src/api/hooks/useGetServiceMemoryAndCpu.jsx index 4e4e2ac4..117aa32c 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetServiceMemoryAndCpu.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetServiceMemoryAndCpu.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetServiceNodesAndCores.jsx b/src/gprofiler/frontend/src/api/hooks/useGetServiceNodesAndCores.jsx index 38aaa069..6adbf1ff 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetServiceNodesAndCores.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetServiceNodesAndCores.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetServiceSamples.jsx b/src/gprofiler/frontend/src/api/hooks/useGetServiceSamples.jsx index 83d0fc69..0abb54aa 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetServiceSamples.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetServiceSamples.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetServicesDataStatus.jsx b/src/gprofiler/frontend/src/api/hooks/useGetServicesDataStatus.jsx index bb60ef49..a81d80f3 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetServicesDataStatus.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetServicesDataStatus.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { DATA_URLS } from '../../api/urls'; import useFetchWithRequest from '../useFetchWithRequest'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetServicesList.jsx b/src/gprofiler/frontend/src/api/hooks/useGetServicesList.jsx index 7965aba9..9681479c 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetServicesList.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetServicesList.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetSnapshot.jsx b/src/gprofiler/frontend/src/api/hooks/useGetSnapshot.jsx index 2d3ea651..b17ee238 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetSnapshot.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetSnapshot.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { useContext, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetSummaryData.jsx b/src/gprofiler/frontend/src/api/hooks/useGetSummaryData.jsx index 025a869b..b35b8234 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetSummaryData.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetSummaryData.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { DATA_URLS } from '../urls'; import useFetchWithRequest from '../useFetchWithRequest'; diff --git a/src/gprofiler/frontend/src/api/hooks/useGetTableFunctionCpuData.jsx b/src/gprofiler/frontend/src/api/hooks/useGetTableFunctionCpuData.jsx index fedf5e03..8a3cbcb6 100644 --- a/src/gprofiler/frontend/src/api/hooks/useGetTableFunctionCpuData.jsx +++ b/src/gprofiler/frontend/src/api/hooks/useGetTableFunctionCpuData.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/urls.js b/src/gprofiler/frontend/src/api/urls.js index b985b3e6..319c8408 100644 --- a/src/gprofiler/frontend/src/api/urls.js +++ b/src/gprofiler/frontend/src/api/urls.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/api/useFetchWithRequest.js b/src/gprofiler/frontend/src/api/useFetchWithRequest.js index 4ef8053e..74ede014 100644 --- a/src/gprofiler/frontend/src/api/useFetchWithRequest.js +++ b/src/gprofiler/frontend/src/api/useFetchWithRequest.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useRequest } from 'ahooks'; diff --git a/src/gprofiler/frontend/src/api/utils.js b/src/gprofiler/frontend/src/api/utils.js index da67493a..d5ab19ba 100644 --- a/src/gprofiler/frontend/src/api/utils.js +++ b/src/gprofiler/frontend/src/api/utils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { formatDate, localDatetimeToUtc } from '../utils/datetimesUtils'; import { DEFAULT_INITIAL_TIME_RANGE_FILTER, TIME_RANGE_RELATIVE_DATE_METHOD } from '../utils/fgUtils'; diff --git a/src/gprofiler/frontend/src/components/common/button/Button.jsx b/src/gprofiler/frontend/src/components/common/button/Button.jsx index 460cd087..842b3469 100644 --- a/src/gprofiler/frontend/src/components/common/button/Button.jsx +++ b/src/gprofiler/frontend/src/components/common/button/Button.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Button as MuiButton, IconButton } from '@mui/material'; import { Link as MatLink } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/buttons/SkewedButton.jsx b/src/gprofiler/frontend/src/components/common/buttons/SkewedButton.jsx index 0a417859..f0ac5e8d 100644 --- a/src/gprofiler/frontend/src/components/common/buttons/SkewedButton.jsx +++ b/src/gprofiler/frontend/src/components/common/buttons/SkewedButton.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Link from '@mui/material/Link'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/CopyableParagraph.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/CopyableParagraph.jsx index 0c0a6d8a..1c231d53 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/CopyableParagraph.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/CopyableParagraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import styled from '@emotion/styled'; import { Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/Tag.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/Tag.jsx index 9c262a80..33a81553 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/Tag.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/Tag.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { COLORS } from '../../../theme/colors'; import Icon from '../../common/icon/Icon'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/Tags.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/Tags.jsx index d97587d3..76d090db 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/Tags.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/Tags.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Tag from './Tag'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/card/Card.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/card/Card.jsx index 6b7c7c91..650ea8f1 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/card/Card.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/card/Card.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Box from '@mui/material/Box'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/card/StatsCard.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/card/StatsCard.jsx index fd3d3a39..fddd3bf3 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/card/StatsCard.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/card/StatsCard.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/card/WelcomeToTourCard.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/card/WelcomeToTourCard.jsx index 87058b15..ad0af0a4 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/card/WelcomeToTourCard.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/card/WelcomeToTourCard.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/modal/Modal.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/modal/Modal.jsx index 97ef633e..99193120 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/modal/Modal.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/modal/Modal.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Grow, Modal as MaterialModal } from '@mui/material'; import { useTheme } from '@mui/material/styles'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/modal/WelcomeToTourModal.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/modal/WelcomeToTourModal.jsx index 07a5029b..c7a8d000 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/modal/WelcomeToTourModal.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/modal/WelcomeToTourModal.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/muiToolTip/Tooltip.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/muiToolTip/Tooltip.jsx index ce872e6d..ecf5c5aa 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/muiToolTip/Tooltip.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/muiToolTip/Tooltip.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Tooltip as MuiTooltip, tooltipClasses } from '@mui/material'; import { styled } from '@mui/material/styles'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/table/MuiTable.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/table/MuiTable.jsx index f6011af6..f4aaf3d4 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/table/MuiTable.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/table/MuiTable.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import { DataGrid } from '@mui/x-data-grid'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/table/muiTable.styles.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/table/muiTable.styles.jsx index 134fd9d1..7ead8004 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/table/muiTable.styles.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/table/muiTable.styles.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, LinearProgress, Pagination, PaginationItem } from '@mui/material'; import { diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/table/useTableSearch.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/table/useTableSearch.jsx index f033c283..ab8de353 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/table/useTableSearch.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/table/useTableSearch.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useEffect, useRef, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/tabs/Tabs.jsx b/src/gprofiler/frontend/src/components/common/dataDisplay/tabs/Tabs.jsx index 71e13712..5d69ca65 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/tabs/Tabs.jsx +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/tabs/Tabs.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { keyframes } from '@emotion/react'; import { Tab as MuiTab, Tabs as MuiTabs } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/dataDisplay/utils.js b/src/gprofiler/frontend/src/components/common/dataDisplay/utils.js index 5b600e60..bc1a5102 100644 --- a/src/gprofiler/frontend/src/components/common/dataDisplay/utils.js +++ b/src/gprofiler/frontend/src/components/common/dataDisplay/utils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export const ordinalSuffixOf = (i) => { const j = i % 10, diff --git a/src/gprofiler/frontend/src/components/common/dotsMenu/DotsMenu.jsx b/src/gprofiler/frontend/src/components/common/dotsMenu/DotsMenu.jsx index 48ebfc53..5b91395d 100644 --- a/src/gprofiler/frontend/src/components/common/dotsMenu/DotsMenu.jsx +++ b/src/gprofiler/frontend/src/components/common/dotsMenu/DotsMenu.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Menu from '@mui/material/Menu'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/common/feedback/Alert.jsx b/src/gprofiler/frontend/src/components/common/feedback/Alert.jsx index e8e4dee4..9659936b 100644 --- a/src/gprofiler/frontend/src/components/common/feedback/Alert.jsx +++ b/src/gprofiler/frontend/src/components/common/feedback/Alert.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/feedback/DropdownSpin.jsx b/src/gprofiler/frontend/src/components/common/feedback/DropdownSpin.jsx index d16e258d..cac89427 100644 --- a/src/gprofiler/frontend/src/components/common/feedback/DropdownSpin.jsx +++ b/src/gprofiler/frontend/src/components/common/feedback/DropdownSpin.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { CircularProgress } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/feedback/Error.jsx b/src/gprofiler/frontend/src/components/common/feedback/Error.jsx index f18132c6..221f4a93 100644 --- a/src/gprofiler/frontend/src/components/common/feedback/Error.jsx +++ b/src/gprofiler/frontend/src/components/common/feedback/Error.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Alert from '@mui/material/Alert'; import AlertTitle from '@mui/material/AlertTitle'; diff --git a/src/gprofiler/frontend/src/components/common/feedback/ErrorFallback.jsx b/src/gprofiler/frontend/src/components/common/feedback/ErrorFallback.jsx index 0753abf1..b936d617 100644 --- a/src/gprofiler/frontend/src/components/common/feedback/ErrorFallback.jsx +++ b/src/gprofiler/frontend/src/components/common/feedback/ErrorFallback.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/feedback/Loader.jsx b/src/gprofiler/frontend/src/components/common/feedback/Loader.jsx index 45925d19..fd32de61 100644 --- a/src/gprofiler/frontend/src/components/common/feedback/Loader.jsx +++ b/src/gprofiler/frontend/src/components/common/feedback/Loader.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { CircularProgress } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/icon/Icon.jsx b/src/gprofiler/frontend/src/components/common/icon/Icon.jsx index e53ec515..3c20ea4e 100644 --- a/src/gprofiler/frontend/src/components/common/icon/Icon.jsx +++ b/src/gprofiler/frontend/src/components/common/icon/Icon.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import PropTypes from 'prop-types'; diff --git a/src/gprofiler/frontend/src/components/common/icon/IconBase.jsx b/src/gprofiler/frontend/src/components/common/icon/IconBase.jsx index 91348874..09320a19 100644 --- a/src/gprofiler/frontend/src/components/common/icon/IconBase.jsx +++ b/src/gprofiler/frontend/src/components/common/icon/IconBase.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import styled from '@emotion/styled'; diff --git a/src/gprofiler/frontend/src/components/common/icon/Icons.jsx b/src/gprofiler/frontend/src/components/common/icon/Icons.jsx index d70b67f3..d8b9952a 100644 --- a/src/gprofiler/frontend/src/components/common/icon/Icons.jsx +++ b/src/gprofiler/frontend/src/components/common/icon/Icons.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { COLORS } from '@/theme/colors'; diff --git a/src/gprofiler/frontend/src/components/common/icon/iconsData.js b/src/gprofiler/frontend/src/components/common/icon/iconsData.js index 331ea5d2..fc2a395a 100644 --- a/src/gprofiler/frontend/src/components/common/icon/iconsData.js +++ b/src/gprofiler/frontend/src/components/common/icon/iconsData.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export const ICONS = { CheckCircle: diff --git a/src/gprofiler/frontend/src/components/common/icon/svgIcons.jsx b/src/gprofiler/frontend/src/components/common/icon/svgIcons.jsx index deb46fc7..0328c02f 100644 --- a/src/gprofiler/frontend/src/components/common/icon/svgIcons.jsx +++ b/src/gprofiler/frontend/src/components/common/icon/svgIcons.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import SvgIcon from '@mui/material/SvgIcon'; diff --git a/src/gprofiler/frontend/src/components/common/layout/Flexbox.jsx b/src/gprofiler/frontend/src/components/common/layout/Flexbox.jsx index 30887f5a..ce749216 100644 --- a/src/gprofiler/frontend/src/components/common/layout/Flexbox.jsx +++ b/src/gprofiler/frontend/src/components/common/layout/Flexbox.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Stack from '@mui/material/Stack'; import PropTypes from 'prop-types'; diff --git a/src/gprofiler/frontend/src/components/common/layout/PageHeader.jsx b/src/gprofiler/frontend/src/components/common/layout/PageHeader.jsx index fd8a9085..a09c517d 100644 --- a/src/gprofiler/frontend/src/components/common/layout/PageHeader.jsx +++ b/src/gprofiler/frontend/src/components/common/layout/PageHeader.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Typography from '@mui/material/Typography'; import PropTypes from 'prop-types'; diff --git a/src/gprofiler/frontend/src/components/common/selectors/autoComplete/AutoComplete.jsx b/src/gprofiler/frontend/src/components/common/selectors/autoComplete/AutoComplete.jsx index e58baac9..a52e0444 100644 --- a/src/gprofiler/frontend/src/components/common/selectors/autoComplete/AutoComplete.jsx +++ b/src/gprofiler/frontend/src/components/common/selectors/autoComplete/AutoComplete.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import Autocomplete, { autocompleteClasses } from '@mui/material/Autocomplete'; diff --git a/src/gprofiler/frontend/src/components/common/selectors/autoComplete/AutoCompleteSelect.jsx b/src/gprofiler/frontend/src/components/common/selectors/autoComplete/AutoCompleteSelect.jsx index 0a5aced2..dcb34f1f 100644 --- a/src/gprofiler/frontend/src/components/common/selectors/autoComplete/AutoCompleteSelect.jsx +++ b/src/gprofiler/frontend/src/components/common/selectors/autoComplete/AutoCompleteSelect.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Autocomplete, { autocompleteClasses } from '@mui/material/Autocomplete'; import InputBase from '@mui/material/InputBase'; diff --git a/src/gprofiler/frontend/src/components/common/selectors/dropdown/Dropdown.jsx b/src/gprofiler/frontend/src/components/common/selectors/dropdown/Dropdown.jsx index ea48a3e3..7f521264 100644 --- a/src/gprofiler/frontend/src/components/common/selectors/dropdown/Dropdown.jsx +++ b/src/gprofiler/frontend/src/components/common/selectors/dropdown/Dropdown.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { ClickAwayListener } from '@mui/base/ClickAwayListener'; import { Button, Stack, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/selectors/pickers/dateTimeRangePicker/DateTimeRangePicker.jsx b/src/gprofiler/frontend/src/components/common/selectors/pickers/dateTimeRangePicker/DateTimeRangePicker.jsx index e0d01227..c0de1913 100644 --- a/src/gprofiler/frontend/src/components/common/selectors/pickers/dateTimeRangePicker/DateTimeRangePicker.jsx +++ b/src/gprofiler/frontend/src/components/common/selectors/pickers/dateTimeRangePicker/DateTimeRangePicker.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { InputAdornment, Typography } from '@mui/material'; import Box from '@mui/material/Box'; diff --git a/src/gprofiler/frontend/src/components/common/selectors/radio/Radio.jsx b/src/gprofiler/frontend/src/components/common/selectors/radio/Radio.jsx index c77c32bd..4ad7c7ab 100644 --- a/src/gprofiler/frontend/src/components/common/selectors/radio/Radio.jsx +++ b/src/gprofiler/frontend/src/components/common/selectors/radio/Radio.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Radio as MuiRadio } from '@mui/material'; import FormControlLabel from '@mui/material/FormControlLabel'; diff --git a/src/gprofiler/frontend/src/components/common/selectors/select/Select.jsx b/src/gprofiler/frontend/src/components/common/selectors/select/Select.jsx index 819db37e..bcd43c05 100644 --- a/src/gprofiler/frontend/src/components/common/selectors/select/Select.jsx +++ b/src/gprofiler/frontend/src/components/common/selectors/select/Select.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { MenuItem, MenuList, Paper, Typography } from '@mui/material'; import { useCallback, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/common/selectors/select/SelectWithTitle.jsx b/src/gprofiler/frontend/src/components/common/selectors/select/SelectWithTitle.jsx index 29f5a80c..5a1fc328 100644 --- a/src/gprofiler/frontend/src/components/common/selectors/select/SelectWithTitle.jsx +++ b/src/gprofiler/frontend/src/components/common/selectors/select/SelectWithTitle.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/common/selectors/switch/Switch.jsx b/src/gprofiler/frontend/src/components/common/selectors/switch/Switch.jsx index 06a82f46..6ec2f491 100644 --- a/src/gprofiler/frontend/src/components/common/selectors/switch/Switch.jsx +++ b/src/gprofiler/frontend/src/components/common/selectors/switch/Switch.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Switch as MatSwitch } from '@mui/material'; import { styled } from '@mui/material/styles'; diff --git a/src/gprofiler/frontend/src/components/comparison/CompareTable.jsx b/src/gprofiler/frontend/src/components/comparison/CompareTable.jsx index 88f0d3d5..49a471d8 100644 --- a/src/gprofiler/frontend/src/components/comparison/CompareTable.jsx +++ b/src/gprofiler/frontend/src/components/comparison/CompareTable.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/comparison/ComparisonFunctionGraph.jsx b/src/gprofiler/frontend/src/components/comparison/ComparisonFunctionGraph.jsx index 99c7c44a..e65db909 100644 --- a/src/gprofiler/frontend/src/components/comparison/ComparisonFunctionGraph.jsx +++ b/src/gprofiler/frontend/src/components/comparison/ComparisonFunctionGraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Grow, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/comparison/ComparisonPage.jsx b/src/gprofiler/frontend/src/components/comparison/ComparisonPage.jsx index 26eb647b..8d4b44cb 100644 --- a/src/gprofiler/frontend/src/components/comparison/ComparisonPage.jsx +++ b/src/gprofiler/frontend/src/components/comparison/ComparisonPage.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Grow, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/comparison/ComparisonTableColumns.jsx b/src/gprofiler/frontend/src/components/comparison/ComparisonTableColumns.jsx index 0dbb3dec..4b845c33 100644 --- a/src/gprofiler/frontend/src/components/comparison/ComparisonTableColumns.jsx +++ b/src/gprofiler/frontend/src/components/comparison/ComparisonTableColumns.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Avatar, Box, Tooltip } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/comparison/header/ComparisonHeader.jsx b/src/gprofiler/frontend/src/components/comparison/header/ComparisonHeader.jsx index 1c1e89ba..22f2eb9c 100644 --- a/src/gprofiler/frontend/src/components/comparison/header/ComparisonHeader.jsx +++ b/src/gprofiler/frontend/src/components/comparison/header/ComparisonHeader.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Grid } from '@mui/material'; import { useContext, useEffect } from 'react'; diff --git a/src/gprofiler/frontend/src/components/comparison/header/ComparisonMetricsTable.jsx b/src/gprofiler/frontend/src/components/comparison/header/ComparisonMetricsTable.jsx index ad552954..cf326012 100644 --- a/src/gprofiler/frontend/src/components/comparison/header/ComparisonMetricsTable.jsx +++ b/src/gprofiler/frontend/src/components/comparison/header/ComparisonMetricsTable.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Skeleton } from '@mui/material'; import Paper from '@mui/material/Paper'; diff --git a/src/gprofiler/frontend/src/components/comparison/header/ComparisonSearch.jsx b/src/gprofiler/frontend/src/components/comparison/header/ComparisonSearch.jsx index e79aca90..614a3924 100644 --- a/src/gprofiler/frontend/src/components/comparison/header/ComparisonSearch.jsx +++ b/src/gprofiler/frontend/src/components/comparison/header/ComparisonSearch.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import TextField from '@mui/material/TextField'; import { useDebounceEffect } from 'ahooks'; diff --git a/src/gprofiler/frontend/src/components/comparison/header/ComparisonTopPanel.jsx b/src/gprofiler/frontend/src/components/comparison/header/ComparisonTopPanel.jsx index f77e9a34..560f670c 100644 --- a/src/gprofiler/frontend/src/components/comparison/header/ComparisonTopPanel.jsx +++ b/src/gprofiler/frontend/src/components/comparison/header/ComparisonTopPanel.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Divider } from '@mui/material'; import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/components/comparison/header/comparisonMetricsTable.styles.jsx b/src/gprofiler/frontend/src/components/comparison/header/comparisonMetricsTable.styles.jsx index fe0b96d4..088f0e62 100644 --- a/src/gprofiler/frontend/src/components/comparison/header/comparisonMetricsTable.styles.jsx +++ b/src/gprofiler/frontend/src/components/comparison/header/comparisonMetricsTable.styles.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import { styled } from '@mui/material/styles'; diff --git a/src/gprofiler/frontend/src/components/console/Console.jsx b/src/gprofiler/frontend/src/components/console/Console.jsx index 5bbb918d..c34e7edd 100644 --- a/src/gprofiler/frontend/src/components/console/Console.jsx +++ b/src/gprofiler/frontend/src/components/console/Console.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/console/Console.styles.jsx b/src/gprofiler/frontend/src/components/console/Console.styles.jsx index 3a7ce4da..592dd76e 100644 --- a/src/gprofiler/frontend/src/components/console/Console.styles.jsx +++ b/src/gprofiler/frontend/src/components/console/Console.styles.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import styled from '@emotion/styled'; import Box from '@mui/material/Box'; diff --git a/src/gprofiler/frontend/src/components/filters/Filters.jsx b/src/gprofiler/frontend/src/components/filters/Filters.jsx index cedc54e9..7e67f262 100644 --- a/src/gprofiler/frontend/src/components/filters/Filters.jsx +++ b/src/gprofiler/frontend/src/components/filters/Filters.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Tab, Tabs, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/filters/FiltersList.jsx b/src/gprofiler/frontend/src/components/filters/FiltersList.jsx index fdd173a6..9b32d709 100644 --- a/src/gprofiler/frontend/src/components/filters/FiltersList.jsx +++ b/src/gprofiler/frontend/src/components/filters/FiltersList.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/components/filters/descriptions/ContainerEnvNameDescription.jsx b/src/gprofiler/frontend/src/components/filters/descriptions/ContainerEnvNameDescription.jsx index 48357f9c..88da7e18 100644 --- a/src/gprofiler/frontend/src/components/filters/descriptions/ContainerEnvNameDescription.jsx +++ b/src/gprofiler/frontend/src/components/filters/descriptions/ContainerEnvNameDescription.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/filters/descriptions/ContainerNameDescription.jsx b/src/gprofiler/frontend/src/components/filters/descriptions/ContainerNameDescription.jsx index 67812761..61e9aad8 100644 --- a/src/gprofiler/frontend/src/components/filters/descriptions/ContainerNameDescription.jsx +++ b/src/gprofiler/frontend/src/components/filters/descriptions/ContainerNameDescription.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/filters/descriptions/HostnameDescription.jsx b/src/gprofiler/frontend/src/components/filters/descriptions/HostnameDescription.jsx index dc62d376..8fec23b6 100644 --- a/src/gprofiler/frontend/src/components/filters/descriptions/HostnameDescription.jsx +++ b/src/gprofiler/frontend/src/components/filters/descriptions/HostnameDescription.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/filters/form/FilterForm.jsx b/src/gprofiler/frontend/src/components/filters/form/FilterForm.jsx index eace354a..83fd4ab9 100644 --- a/src/gprofiler/frontend/src/components/filters/form/FilterForm.jsx +++ b/src/gprofiler/frontend/src/components/filters/form/FilterForm.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { FormControl } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/filters/form/FilterFormActions.jsx b/src/gprofiler/frontend/src/components/filters/form/FilterFormActions.jsx index 53471d85..5442044d 100644 --- a/src/gprofiler/frontend/src/components/filters/form/FilterFormActions.jsx +++ b/src/gprofiler/frontend/src/components/filters/form/FilterFormActions.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Typography } from '@mui/material'; import { useCallback, useContext, useMemo, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/filters/select/FilterOptionsSelect.jsx b/src/gprofiler/frontend/src/components/filters/select/FilterOptionsSelect.jsx index d86441c1..dd94837c 100644 --- a/src/gprofiler/frontend/src/components/filters/select/FilterOptionsSelect.jsx +++ b/src/gprofiler/frontend/src/components/filters/select/FilterOptionsSelect.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { CircularProgress, Popper, Typography } from '@mui/material'; import Autocomplete, { autocompleteClasses } from '@mui/material/Autocomplete'; diff --git a/src/gprofiler/frontend/src/components/filters/select/FiltersSelect.jsx b/src/gprofiler/frontend/src/components/filters/select/FiltersSelect.jsx index 739a0931..f469c50e 100644 --- a/src/gprofiler/frontend/src/components/filters/select/FiltersSelect.jsx +++ b/src/gprofiler/frontend/src/components/filters/select/FiltersSelect.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Select as MuiSelect, SvgIcon } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/filters/select/FiltersSelectItem.jsx b/src/gprofiler/frontend/src/components/filters/select/FiltersSelectItem.jsx index 51512ba2..8c7c7ac1 100644 --- a/src/gprofiler/frontend/src/components/filters/select/FiltersSelectItem.jsx +++ b/src/gprofiler/frontend/src/components/filters/select/FiltersSelectItem.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { MenuItem } from '@mui/material'; import PropTypes from 'prop-types'; diff --git a/src/gprofiler/frontend/src/components/filters/styles.jsx b/src/gprofiler/frontend/src/components/filters/styles.jsx index 94794515..ff8b9878 100644 --- a/src/gprofiler/frontend/src/components/filters/styles.jsx +++ b/src/gprofiler/frontend/src/components/filters/styles.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import LoadingButton from '@mui/lab/LoadingButton'; import { forwardRef } from 'react'; diff --git a/src/gprofiler/frontend/src/components/filters/useHoverState.jsx b/src/gprofiler/frontend/src/components/filters/useHoverState.jsx index 58a30b63..acc0ca38 100644 --- a/src/gprofiler/frontend/src/components/filters/useHoverState.jsx +++ b/src/gprofiler/frontend/src/components/filters/useHoverState.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/filters/utils.js b/src/gprofiler/frontend/src/components/filters/utils.js index e274ca98..8c81b872 100644 --- a/src/gprofiler/frontend/src/components/filters/utils.js +++ b/src/gprofiler/frontend/src/components/filters/utils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { FILTER_OPERATIONS } from '../../utils/filtersUtils'; diff --git a/src/gprofiler/frontend/src/components/installation/InstallationCheckBox.jsx b/src/gprofiler/frontend/src/components/installation/InstallationCheckBox.jsx index 6ed619f4..7c7a322e 100644 --- a/src/gprofiler/frontend/src/components/installation/InstallationCheckBox.jsx +++ b/src/gprofiler/frontend/src/components/installation/InstallationCheckBox.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Checkbox, FormControlLabel, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/installation/InstallationMenu.jsx b/src/gprofiler/frontend/src/components/installation/InstallationMenu.jsx index 6f01154d..7bd658d8 100644 --- a/src/gprofiler/frontend/src/components/installation/InstallationMenu.jsx +++ b/src/gprofiler/frontend/src/components/installation/InstallationMenu.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { List } from '@mui/material'; import PropTypes from 'prop-types'; diff --git a/src/gprofiler/frontend/src/components/installation/InstallationMenuButton.jsx b/src/gprofiler/frontend/src/components/installation/InstallationMenuButton.jsx index 7d7c45e6..52234be9 100644 --- a/src/gprofiler/frontend/src/components/installation/InstallationMenuButton.jsx +++ b/src/gprofiler/frontend/src/components/installation/InstallationMenuButton.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Divider, ListItemButton, ListItemIcon, ListItemText, Typography } from '@mui/material'; import { Fragment } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/InstallationPage.jsx b/src/gprofiler/frontend/src/components/installation/InstallationPage.jsx index e14a44ed..c5986092 100644 --- a/src/gprofiler/frontend/src/components/installation/InstallationPage.jsx +++ b/src/gprofiler/frontend/src/components/installation/InstallationPage.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/InstallationStep.jsx b/src/gprofiler/frontend/src/components/installation/InstallationStep.jsx index 0c62232a..c30fc441 100644 --- a/src/gprofiler/frontend/src/components/installation/InstallationStep.jsx +++ b/src/gprofiler/frontend/src/components/installation/InstallationStep.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Avatar, Box, ListItem, ListItemAvatar, ListItemText, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/InstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/InstallationSteps.jsx index 4a8ffbb1..37249ed0 100644 --- a/src/gprofiler/frontend/src/components/installation/InstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/InstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, List, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/installation/InstallationTextStepForm.jsx b/src/gprofiler/frontend/src/components/installation/InstallationTextStepForm.jsx index 72957ae9..2081ec18 100644 --- a/src/gprofiler/frontend/src/components/installation/InstallationTextStepForm.jsx +++ b/src/gprofiler/frontend/src/components/installation/InstallationTextStepForm.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Input from '@mui/material/Input'; import Typography from '@mui/material/Typography'; diff --git a/src/gprofiler/frontend/src/components/installation/ServiceDataStatus.jsx b/src/gprofiler/frontend/src/components/installation/ServiceDataStatus.jsx index 71475dd1..bae4fa7c 100644 --- a/src/gprofiler/frontend/src/components/installation/ServiceDataStatus.jsx +++ b/src/gprofiler/frontend/src/components/installation/ServiceDataStatus.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/ServiceNameForm.jsx b/src/gprofiler/frontend/src/components/installation/ServiceNameForm.jsx index c14d4c87..80072d63 100644 --- a/src/gprofiler/frontend/src/components/installation/ServiceNameForm.jsx +++ b/src/gprofiler/frontend/src/components/installation/ServiceNameForm.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; import { createFilterOptions } from '@mui/material/Autocomplete'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/AnsibleDeployStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/AnsibleDeployStepContent.jsx index 7844395c..0fc5472a 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/AnsibleDeployStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/AnsibleDeployStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Link, Typography } from '@mui/material'; import { isEmpty } from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/CmdDeployStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/CmdDeployStepContent.jsx index e4f8f2ea..1db87b76 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/CmdDeployStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/CmdDeployStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import { isEmpty } from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/DaemonSetDeployStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/DaemonSetDeployStepContent.jsx index c194ed6b..e6b2014d 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/DaemonSetDeployStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/DaemonSetDeployStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Link } from '@mui/material'; import { isEmpty } from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/DatabricksDeployStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/DatabricksDeployStepContent.jsx index 6d76046b..6a10bffd 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/DatabricksDeployStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/DatabricksDeployStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { isEmpty } from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/DockerComposeInstallStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/DockerComposeInstallStepContent.jsx index a3cf765c..ea10d7cf 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/DockerComposeInstallStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/DockerComposeInstallStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Link } from '@mui/material'; import { isEmpty } from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/DockerDeployStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/DockerDeployStepContent.jsx index d0f8ba20..92360d92 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/DockerDeployStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/DockerDeployStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import { isEmpty } from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDeployStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDeployStepContent.jsx index 626d2c24..d54a6053 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDeployStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDeployStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { List, ListItem, ListItemIcon, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDeployStepTitle.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDeployStepTitle.jsx index 61220042..31815a8a 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDeployStepTitle.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDeployStepTitle.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Link } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDownloadTaskStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDownloadTaskStepContent.jsx index e2fcc9f2..73efb391 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDownloadTaskStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/ECSDownloadTaskStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Link } from '@mui/material'; import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRConsoleStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRConsoleStepContent.jsx index e6429c85..323088b1 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRConsoleStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRConsoleStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; import { isEmpty } from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRDeployStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRDeployStepContent.jsx index 14945f06..c26c825d 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRDeployStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRDeployStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Link, List, ListItem, ListItemIcon, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRDeployStepTitle.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRDeployStepTitle.jsx index 2c4e454b..b9a866f7 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRDeployStepTitle.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRDeployStepTitle.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Link, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRInstallationStepTabs.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRInstallationStepTabs.jsx index edf67f55..3f0b8e2c 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRInstallationStepTabs.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRInstallationStepTabs.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { keyframes } from '@emotion/react'; import { Tab as MuiTab, Tabs as MuiTabs } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRTabsWrapper.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRTabsWrapper.jsx index 6081f0cf..7945c717 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRTabsWrapper.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/EMRTabsWrapper.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/OpenShiftDeployStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/OpenShiftDeployStepContent.jsx index f948cb3c..15d8031c 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/OpenShiftDeployStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/OpenShiftDeployStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Link } from '@mui/material'; import { isEmpty } from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/SystemdInstallStepContent.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/SystemdInstallStepContent.jsx index 42411805..3ffb4b84 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/SystemdInstallStepContent.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/SystemdInstallStepContent.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Typography } from '@mui/material'; import { isEmpty } from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/installation/deployStepContent/SystemdInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/deployStepContent/SystemdInstallationSteps.jsx index 91ea9c89..c16d57aa 100644 --- a/src/gprofiler/frontend/src/components/installation/deployStepContent/SystemdInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/deployStepContent/SystemdInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/AnsibleInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/AnsibleInstallationSteps.jsx index b9d38ed1..689ce1f8 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/AnsibleInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/AnsibleInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/CmdInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/CmdInstallationSteps.jsx index 45aee363..fb6793de 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/CmdInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/CmdInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/DaemonSetInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/DaemonSetInstallationSteps.jsx index 23077d87..1bfaa7cb 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/DaemonSetInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/DaemonSetInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/DatabricksInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/DatabricksInstallationSteps.jsx index acd6dd0e..486c54e8 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/DatabricksInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/DatabricksInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/DataprocInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/DataprocInstallationSteps.jsx index 312d7d95..c4e2989f 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/DataprocInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/DataprocInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/DockerComposeInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/DockerComposeInstallationSteps.jsx index 31b4968f..fa61cae0 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/DockerComposeInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/DockerComposeInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/DockerInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/DockerInstallationSteps.jsx index 437b2c78..0fef356f 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/DockerInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/DockerInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/ECSInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/ECSInstallationSteps.jsx index 9e83e0f1..9c93b31c 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/ECSInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/ECSInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/EMRInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/EMRInstallationSteps.jsx index 970ed9a6..a726ab49 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/EMRInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/EMRInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/installation/steps/OpenShiftInstallationSteps.jsx b/src/gprofiler/frontend/src/components/installation/steps/OpenShiftInstallationSteps.jsx index b065398b..81883393 100644 --- a/src/gprofiler/frontend/src/components/installation/steps/OpenShiftInstallationSteps.jsx +++ b/src/gprofiler/frontend/src/components/installation/steps/OpenShiftInstallationSteps.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/overview/OverviewPage.jsx b/src/gprofiler/frontend/src/components/overview/OverviewPage.jsx index cf9ab60f..a52a1f70 100644 --- a/src/gprofiler/frontend/src/components/overview/OverviewPage.jsx +++ b/src/gprofiler/frontend/src/components/overview/OverviewPage.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Skeleton } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTable.jsx b/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTable.jsx index 3c6a9eae..60264f06 100644 --- a/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTable.jsx +++ b/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTable.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Divider, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableColumns.jsx b/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableColumns.jsx index e87f7698..3a4bb058 100644 --- a/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableColumns.jsx +++ b/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableColumns.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { getLiteralDate } from '@/utils/datetimesUtils'; diff --git a/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableEmptyState.jsx b/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableEmptyState.jsx index 6a6acc74..964b8eee 100644 --- a/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableEmptyState.jsx +++ b/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableEmptyState.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Link } from 'react-router-dom'; diff --git a/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableSearch.jsx b/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableSearch.jsx index d5489281..ee1e4529 100644 --- a/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableSearch.jsx +++ b/src/gprofiler/frontend/src/components/overview/servicesTable/ServicesTableSearch.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { InputAdornment } from '@mui/material'; import Box from '@mui/material/Box'; diff --git a/src/gprofiler/frontend/src/components/overview/servicesTable/cells/ServiceNameCell.jsx b/src/gprofiler/frontend/src/components/overview/servicesTable/cells/ServiceNameCell.jsx index 21ffc933..62048f98 100644 --- a/src/gprofiler/frontend/src/components/overview/servicesTable/cells/ServiceNameCell.jsx +++ b/src/gprofiler/frontend/src/components/overview/servicesTable/cells/ServiceNameCell.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Link, Typography } from '@mui/material'; import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/components/overview/utils.js b/src/gprofiler/frontend/src/components/overview/utils.js index 89f8f32f..ffb5df9a 100644 --- a/src/gprofiler/frontend/src/components/overview/utils.js +++ b/src/gprofiler/frontend/src/components/overview/utils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/FGLoader.jsx b/src/gprofiler/frontend/src/components/profiles/FGLoader.jsx index 4a3633dc..d0a97581 100644 --- a/src/gprofiler/frontend/src/components/profiles/FGLoader.jsx +++ b/src/gprofiler/frontend/src/components/profiles/FGLoader.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import styled from '@emotion/styled'; import { Grid, Skeleton, useTheme } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/NoServices.jsx b/src/gprofiler/frontend/src/components/profiles/NoServices.jsx index cbd881be..8f4a9f1c 100644 --- a/src/gprofiler/frontend/src/components/profiles/NoServices.jsx +++ b/src/gprofiler/frontend/src/components/profiles/NoServices.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/ProfilesEmptyState.jsx b/src/gprofiler/frontend/src/components/profiles/ProfilesEmptyState.jsx index 8b8a4285..997e3f99 100644 --- a/src/gprofiler/frontend/src/components/profiles/ProfilesEmptyState.jsx +++ b/src/gprofiler/frontend/src/components/profiles/ProfilesEmptyState.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/ProfilesPage.jsx b/src/gprofiler/frontend/src/components/profiles/ProfilesPage.jsx index e4e41714..63226d40 100644 --- a/src/gprofiler/frontend/src/components/profiles/ProfilesPage.jsx +++ b/src/gprofiler/frontend/src/components/profiles/ProfilesPage.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/ProfilesViews.jsx b/src/gprofiler/frontend/src/components/profiles/ProfilesViews.jsx index 3dba119a..13c1484c 100644 --- a/src/gprofiler/frontend/src/components/profiles/ProfilesViews.jsx +++ b/src/gprofiler/frontend/src/components/profiles/ProfilesViews.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { useCallback, useContext, useEffect, useMemo, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/ProfilesViewsWrapper.jsx b/src/gprofiler/frontend/src/components/profiles/ProfilesViewsWrapper.jsx index 497b00d5..0946b766 100644 --- a/src/gprofiler/frontend/src/components/profiles/ProfilesViewsWrapper.jsx +++ b/src/gprofiler/frontend/src/components/profiles/ProfilesViewsWrapper.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Box from '@mui/material/Box'; import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/ProfilesWrapper.jsx b/src/gprofiler/frontend/src/components/profiles/ProfilesWrapper.jsx index 0d01f159..2650a433 100644 --- a/src/gprofiler/frontend/src/components/profiles/ProfilesWrapper.jsx +++ b/src/gprofiler/frontend/src/components/profiles/ProfilesWrapper.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useContext, useEffect } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/ClusterTypeIcon.jsx b/src/gprofiler/frontend/src/components/profiles/header/ClusterTypeIcon.jsx index fbaac094..a0ef40a2 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/ClusterTypeIcon.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/ClusterTypeIcon.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Typography } from '@mui/material'; import Box from '@mui/material/Box'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/ProfilesActions.jsx b/src/gprofiler/frontend/src/components/profiles/header/ProfilesActions.jsx index 7a10b681..e3552dff 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/ProfilesActions.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/ProfilesActions.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { ListItemIcon, ListItemText } from '@mui/material'; import MenuItem from '@mui/material/MenuItem'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/ProfilesHeader.jsx b/src/gprofiler/frontend/src/components/profiles/header/ProfilesHeader.jsx index 9c0d4235..54ab6356 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/ProfilesHeader.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/ProfilesHeader.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import { useContext, useEffect } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/ProfilesSearch.jsx b/src/gprofiler/frontend/src/components/profiles/header/ProfilesSearch.jsx index d0e9dbbf..7709376b 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/ProfilesSearch.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/ProfilesSearch.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { InputAdornment, Typography } from '@mui/material'; import TextField from '@mui/material/TextField'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/ProfilesTopPanel.jsx b/src/gprofiler/frontend/src/components/profiles/header/ProfilesTopPanel.jsx index 88aa4743..28a60543 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/ProfilesTopPanel.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/ProfilesTopPanel.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Divider } from '@mui/material'; import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/ProfilesTopPanelInfo.jsx b/src/gprofiler/frontend/src/components/profiles/header/ProfilesTopPanelInfo.jsx index ad72a48b..be9e6e47 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/ProfilesTopPanelInfo.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/ProfilesTopPanelInfo.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Tooltip, Typography } from '@mui/material'; import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/ResetViewButton.jsx b/src/gprofiler/frontend/src/components/profiles/header/ResetViewButton.jsx index 077f6559..a30f0743 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/ResetViewButton.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/ResetViewButton.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/ServicesSelect.jsx b/src/gprofiler/frontend/src/components/profiles/header/ServicesSelect.jsx index 76d14371..a0a245d1 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/ServicesSelect.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/ServicesSelect.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Typography } from '@mui/material'; import Box from '@mui/material/Box'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/filters/FilterDropdown.jsx b/src/gprofiler/frontend/src/components/profiles/header/filters/FilterDropdown.jsx index 70a493a3..397fdee4 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/filters/FilterDropdown.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/filters/FilterDropdown.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Badge, Popover } from '@mui/material'; import { useContext, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/filters/weight/WeightFilterDropdown.jsx b/src/gprofiler/frontend/src/components/profiles/header/filters/weight/WeightFilterDropdown.jsx index f45c837a..3d948ad0 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/filters/weight/WeightFilterDropdown.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/filters/weight/WeightFilterDropdown.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { useMemo } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/filters/weight/WeightFiltersContainer.jsx b/src/gprofiler/frontend/src/components/profiles/header/filters/weight/WeightFiltersContainer.jsx index 43755efa..78599e46 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/filters/weight/WeightFiltersContainer.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/filters/weight/WeightFiltersContainer.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, RadioGroup, Slider, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/filters/weight/consts.js b/src/gprofiler/frontend/src/components/profiles/header/filters/weight/consts.js index 21de3341..6589107f 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/filters/weight/consts.js +++ b/src/gprofiler/frontend/src/components/profiles/header/filters/weight/consts.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export const CUSTOM_PERCENTILE_VALUE = 101; export const THRESHOLD_LIMIT = 20; diff --git a/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenButton.jsx b/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenButton.jsx index 81486827..dd30f319 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenButton.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenButton.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Button from '@/components/common/button/Button'; import { ExpandIcon, MinimizeIcon } from '@/svg/topPanelIcons'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenProfilesTopPanel.jsx b/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenProfilesTopPanel.jsx index 7687d861..6e63b9c1 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenProfilesTopPanel.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenProfilesTopPanel.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Divider } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenProfilesTopPanelInfo.jsx b/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenProfilesTopPanelInfo.jsx index 822b12a1..d2e357cf 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenProfilesTopPanelInfo.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/fullscreen/FullscreenProfilesTopPanelInfo.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ClosePanelButton.jsx b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ClosePanelButton.jsx index f41a709c..90ad21be 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ClosePanelButton.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ClosePanelButton.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/InfoBox.jsx b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/InfoBox.jsx index d7e9e423..da8c4dcb 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/InfoBox.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/InfoBox.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Divider, Typography } from '@mui/material'; import Skeleton from '@mui/material/Skeleton'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/InstanceTypeTooltip.jsx b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/InstanceTypeTooltip.jsx index b1c90128..af06237d 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/InstanceTypeTooltip.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/InstanceTypeTooltip.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { useMemo } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ProfilesMetricsPanel.jsx b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ProfilesMetricsPanel.jsx index b8874126..12aa432d 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ProfilesMetricsPanel.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ProfilesMetricsPanel.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Box from '@mui/material/Box'; import Grow from '@mui/material/Grow'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ShowPanelButton.jsx b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ShowPanelButton.jsx index f9149914..c58c0c9d 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ShowPanelButton.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/ShowPanelButton.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Slide } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/instancesTypeTableColumns.jsx b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/instancesTypeTableColumns.jsx index bf5a7a61..20c29c6d 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/instancesTypeTableColumns.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/metricsPanel/instancesTypeTableColumns.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeper.jsx b/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeper.jsx index a7655a6a..d165ba4e 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeper.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeper.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useContext, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeperSaveButton.jsx b/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeperSaveButton.jsx index bbe84cfc..1c5fb79d 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeperSaveButton.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeperSaveButton.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { ClickAwayListener } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeperToggle.jsx b/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeperToggle.jsx index 40fb28a0..f6212a2e 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeperToggle.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/mineSweeper/MineSweeperToggle.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useContext, useEffect } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/timeSelection/MultiTimeRangeDefinedFilters.jsx b/src/gprofiler/frontend/src/components/profiles/header/timeSelection/MultiTimeRangeDefinedFilters.jsx index 63377492..78fac132 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/timeSelection/MultiTimeRangeDefinedFilters.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/timeSelection/MultiTimeRangeDefinedFilters.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, RadioGroup, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/timeSelection/TimeRangeSelector.jsx b/src/gprofiler/frontend/src/components/profiles/header/timeSelection/TimeRangeSelector.jsx index 19b04753..18d3b817 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/timeSelection/TimeRangeSelector.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/timeSelection/TimeRangeSelector.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, CircularProgress } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/header/viewModeSwitch/ViewModeSwitch.jsx b/src/gprofiler/frontend/src/components/profiles/header/viewModeSwitch/ViewModeSwitch.jsx index c3ca5d6a..c5e8be8d 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/viewModeSwitch/ViewModeSwitch.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/viewModeSwitch/ViewModeSwitch.jsx @@ -1,13 +1,24 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, ListItemButton, ListItemIcon, Menu } from '@mui/material'; import { useContext, useState } from 'react'; -import { useLocation } from "react-router-dom"; +import { useLocation } from 'react-router-dom'; import Button from '@/components/common/button/Button'; import Icon from '@/components/common/icon/Icon'; @@ -26,17 +37,39 @@ const VIEW_TO_ICON_NAME = { [PROFILES_VIEWS.service]: ICONS_NAMES.ServiceView, }; -const getUrlWithOtherViewMode = (viewMode) => { +const ToolTipWrappingThing = ({ viewMode, onChooseView }) => { const { search, pathname } = useLocation(); const safeViewMode = encodeURIComponent(viewMode); + let baseUrl = `${window.location.protocol}//${window.location.host}${pathname}`; const url = new URL(baseUrl); + if (search) { // Remove the leading '?' from the search string before appending url.search = search.substring(1); } + url.searchParams.set('view', safeViewMode); - return url.toString(); + + return ( + + onChooseView(e, viewMode)} + sx={{ margin: 0, px: 3, py: 3, '&:hover': { backgroundColor: 'hoverGrey.main' } }} + href={url.toString()}> + + + + + + ); }; const ViewModeSwitch = () => { @@ -130,28 +163,9 @@ const ViewModeSwitch = () => { vertical: 'top', horizontal: mainClicked ? 'left' : 'right', }}> - {Object.keys(PROFILES_VIEWS).map((view) => { - const url = getUrlWithOtherViewMode(view) - return ( - - onChooseView(e, view)} - sx={{ margin: 0, px: 3, py: 3, '&:hover': { backgroundColor: 'hoverGrey.main' } }} - href={url}> - - - - - - ); - })} + {Object.keys(PROFILES_VIEWS).map((view) => ( + + ))} ); diff --git a/src/gprofiler/frontend/src/components/profiles/header/viewModeSwitch/ViewModeTooltip.jsx b/src/gprofiler/frontend/src/components/profiles/header/viewModeSwitch/ViewModeTooltip.jsx index f4918b91..6ba03e58 100644 --- a/src/gprofiler/frontend/src/components/profiles/header/viewModeSwitch/ViewModeTooltip.jsx +++ b/src/gprofiler/frontend/src/components/profiles/header/viewModeSwitch/ViewModeTooltip.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/utils.js b/src/gprofiler/frontend/src/components/profiles/utils.js index c16fc8c3..66bc6d95 100644 --- a/src/gprofiler/frontend/src/components/profiles/utils.js +++ b/src/gprofiler/frontend/src/components/profiles/utils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} //These are the options we want to let the user choose, but there are more options that are available in the rest flameDB if required diff --git a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FgMenu.jsx b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FgMenu.jsx index 48c935bd..40fb82fb 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FgMenu.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FgMenu.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { styled } from '@mui/material'; import Menu from '@mui/material/Menu'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FgTooltip.jsx b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FgTooltip.jsx index c57825c8..b1f2fedd 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FgTooltip.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FgTooltip.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import styled from '@emotion/styled'; import { Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/Flamegraph.jsx b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/Flamegraph.jsx index cb6ce080..01738fde 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/Flamegraph.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/Flamegraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import FlameChart from 'flame-chart-js/dist/bundle'; import { memo, useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FlamegraphView.jsx b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FlamegraphView.jsx index 36f98af9..5f4dd2e1 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FlamegraphView.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/FlamegraphView.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Grid } from '@mui/material'; import { useCallback, useContext, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/flamegraph.style.jsx b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/flamegraph.style.jsx index 3cf6462c..eb4cb664 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/flamegraph.style.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/flamegraph.style.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} const FlamegraphStyles = { main: { diff --git a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/parsingUtils.jsx b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/parsingUtils.jsx index f83e49ae..bdb0e3f6 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/flamegraph/parsingUtils.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/flamegraph/parsingUtils.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendBox.jsx b/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendBox.jsx index eed1c83a..e7345641 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendBox.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendBox.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Link, Typography } from '@mui/material'; import PropTypes from 'prop-types'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendBoxContainer.jsx b/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendBoxContainer.jsx index 4310724a..d6f5bada 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendBoxContainer.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendBoxContainer.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useContext } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendButtons.jsx b/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendButtons.jsx index a0d6f68e..ec8c921b 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendButtons.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/legendBox/LegendButtons.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Box from '@mui/material/Box'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/ResolutionDropDown.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/ResolutionDropDown.jsx index 951cfb8e..fd91447b 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/ResolutionDropDown.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/ResolutionDropDown.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Select from '@/components/common/selectors/select/Select'; import { ResolutionTimes, ResolutionTimesConvert } from '@/components/profiles/utils'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/ServiceGraph.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/ServiceGraph.jsx index f9f41855..73e7b958 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/ServiceGraph.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/ServiceGraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import TabContext from '@mui/lab/TabContext'; import { Box } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/ServiceView.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/ServiceView.jsx index 4023e49f..c9c68f21 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/ServiceView.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/ServiceView.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Flexbox from '@/components/common/layout/Flexbox'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/CoresGraph.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/CoresGraph.jsx index a66e48b7..004a022b 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/CoresGraph.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/CoresGraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import 'chartjs-adapter-date-fns'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/CpuGraph.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/CpuGraph.jsx index 91909a6f..9add5f14 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/CpuGraph.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/CpuGraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import 'chartjs-adapter-date-fns'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/FunctionCpuGraph.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/FunctionCpuGraph.jsx index c3ac91e4..38d10a1b 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/FunctionCpuGraph.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/FunctionCpuGraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import 'chartjs-adapter-date-fns'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/GraphSkeleton.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/GraphSkeleton.jsx index 6c6639fc..bc929485 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/GraphSkeleton.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/GraphSkeleton.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Skeleton } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/MemoryGraph.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/MemoryGraph.jsx index 5f11dfb4..ad723d15 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/MemoryGraph.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/MemoryGraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import 'chartjs-adapter-date-fns'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/NodesGraph.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/NodesGraph.jsx index 599fbb4b..1c28ded9 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/NodesGraph.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/NodesGraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import 'chartjs-adapter-date-fns'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/SamplesGraph.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/SamplesGraph.jsx index c803cde0..66bb3f00 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/SamplesGraph.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/SamplesGraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import 'chartjs-adapter-date-fns'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/graphUtils.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/graphUtils.jsx index 48c8d69a..9d5608c5 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/graphs/graphUtils.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/graphs/graphUtils.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useContext, useEffect, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/service/serviceGraph.styles.jsx b/src/gprofiler/frontend/src/components/profiles/views/service/serviceGraph.styles.jsx index 468fb14e..a1a7d1a9 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/service/serviceGraph.styles.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/service/serviceGraph.styles.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import TabList from '@mui/lab/TabList'; import TabPanel from '@mui/lab/TabPanel'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/table/FunctionFlamegraph.jsx b/src/gprofiler/frontend/src/components/profiles/views/table/FunctionFlamegraph.jsx index 2302b666..7689a430 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/table/FunctionFlamegraph.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/table/FunctionFlamegraph.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import FlameChart from 'flame-chart-js'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/table/ShortenedFunctionName.jsx b/src/gprofiler/frontend/src/components/profiles/views/table/ShortenedFunctionName.jsx index bf490f28..2da82a0f 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/table/ShortenedFunctionName.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/table/ShortenedFunctionName.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/table/SplitView.jsx b/src/gprofiler/frontend/src/components/profiles/views/table/SplitView.jsx index c4fdcbd0..fa76bdf6 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/table/SplitView.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/table/SplitView.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import { useMemo, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/table/TableView.jsx b/src/gprofiler/frontend/src/components/profiles/views/table/TableView.jsx index 8194f434..1f158ec8 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/table/TableView.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/table/TableView.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box } from '@mui/material'; import PropTypes from 'prop-types'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/table/TableViewColumns.jsx b/src/gprofiler/frontend/src/components/profiles/views/table/TableViewColumns.jsx index f740719b..6d07655c 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/table/TableViewColumns.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/table/TableViewColumns.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Avatar, Box } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/table/TableViewFunctionNameColumn.jsx b/src/gprofiler/frontend/src/components/profiles/views/table/TableViewFunctionNameColumn.jsx index 51eaa69a..9ed68858 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/table/TableViewFunctionNameColumn.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/table/TableViewFunctionNameColumn.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Link } from '@mui/material'; import { useRef } from 'react'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/table/TrendChart.jsx b/src/gprofiler/frontend/src/components/profiles/views/table/TrendChart.jsx index 4a1475fd..05f238fe 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/table/TrendChart.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/table/TrendChart.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { COLORS } from '@/theme/colors'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/table/TrendInformation.jsx b/src/gprofiler/frontend/src/components/profiles/views/table/TrendInformation.jsx index ed1b448f..5a131743 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/table/TrendInformation.jsx +++ b/src/gprofiler/frontend/src/components/profiles/views/table/TrendInformation.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Typography } from '@mui/material'; import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/components/profiles/views/table/utils.js b/src/gprofiler/frontend/src/components/profiles/views/table/utils.js index 9253d816..7f4f8996 100644 --- a/src/gprofiler/frontend/src/components/profiles/views/table/utils.js +++ b/src/gprofiler/frontend/src/components/profiles/views/table/utils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { isDateYesterday } from '@/utils/datetimesUtils'; diff --git a/src/gprofiler/frontend/src/components/sideNavBar/SideNavBar.jsx b/src/gprofiler/frontend/src/components/sideNavBar/SideNavBar.jsx index 867fa871..f98fffa6 100644 --- a/src/gprofiler/frontend/src/components/sideNavBar/SideNavBar.jsx +++ b/src/gprofiler/frontend/src/components/sideNavBar/SideNavBar.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Box from '@mui/material/Box'; import Divider from '@mui/material/Divider'; diff --git a/src/gprofiler/frontend/src/components/sideNavBar/sideNavBar.styles.jsx b/src/gprofiler/frontend/src/components/sideNavBar/sideNavBar.styles.jsx index 7e8603d0..e99692ea 100644 --- a/src/gprofiler/frontend/src/components/sideNavBar/sideNavBar.styles.jsx +++ b/src/gprofiler/frontend/src/components/sideNavBar/sideNavBar.styles.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { ListItemButton } from '@mui/material'; import MuiDrawer from '@mui/material/Drawer'; diff --git a/src/gprofiler/frontend/src/components/welcome/ProductTourIllustration.jsx b/src/gprofiler/frontend/src/components/welcome/ProductTourIllustration.jsx index 6b4cb1cf..c62d1d45 100644 --- a/src/gprofiler/frontend/src/components/welcome/ProductTourIllustration.jsx +++ b/src/gprofiler/frontend/src/components/welcome/ProductTourIllustration.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { keyframes } from '@emotion/react'; import { Box, Link, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/welcome/WelcomePage.jsx b/src/gprofiler/frontend/src/components/welcome/WelcomePage.jsx index f4d84289..a9f1154d 100644 --- a/src/gprofiler/frontend/src/components/welcome/WelcomePage.jsx +++ b/src/gprofiler/frontend/src/components/welcome/WelcomePage.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Box, Grid, Typography } from '@mui/material'; diff --git a/src/gprofiler/frontend/src/components/welcome/cards/AccessPlaygroundCard.jsx b/src/gprofiler/frontend/src/components/welcome/cards/AccessPlaygroundCard.jsx index 816ec49b..72655abe 100644 --- a/src/gprofiler/frontend/src/components/welcome/cards/AccessPlaygroundCard.jsx +++ b/src/gprofiler/frontend/src/components/welcome/cards/AccessPlaygroundCard.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Typography from '@mui/material/Typography'; diff --git a/src/gprofiler/frontend/src/components/welcome/cards/ProfilerVideoCard.jsx b/src/gprofiler/frontend/src/components/welcome/cards/ProfilerVideoCard.jsx index 92bee1e5..249cf019 100644 --- a/src/gprofiler/frontend/src/components/welcome/cards/ProfilerVideoCard.jsx +++ b/src/gprofiler/frontend/src/components/welcome/cards/ProfilerVideoCard.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Link, Typography } from '@mui/material'; import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/components/welcome/cards/StartProfilingCard.jsx b/src/gprofiler/frontend/src/components/welcome/cards/StartProfilingCard.jsx index 547a2291..11f6b544 100644 --- a/src/gprofiler/frontend/src/components/welcome/cards/StartProfilingCard.jsx +++ b/src/gprofiler/frontend/src/components/welcome/cards/StartProfilingCard.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import Typography from '@mui/material/Typography'; diff --git a/src/gprofiler/frontend/src/hooks/useDetectEscHotkey.js b/src/gprofiler/frontend/src/hooks/useDetectEscHotkey.js index a14f4020..f46ec882 100644 --- a/src/gprofiler/frontend/src/hooks/useDetectEscHotkey.js +++ b/src/gprofiler/frontend/src/hooks/useDetectEscHotkey.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useKeyPress } from 'ahooks'; diff --git a/src/gprofiler/frontend/src/hooks/useFiltersQueryParams.js b/src/gprofiler/frontend/src/hooks/useFiltersQueryParams.js index a1298c88..1a48bb63 100644 --- a/src/gprofiler/frontend/src/hooks/useFiltersQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useFiltersQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { useCallback, useEffect, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/hooks/useFlameGraphHotkeys.js b/src/gprofiler/frontend/src/hooks/useFlameGraphHotkeys.js index 78442f7c..6a1a7a2b 100644 --- a/src/gprofiler/frontend/src/hooks/useFlameGraphHotkeys.js +++ b/src/gprofiler/frontend/src/hooks/useFlameGraphHotkeys.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useKeyPress } from 'ahooks'; import { useCallback, useEffect, useMemo, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/hooks/useFullscreenQueryParams.js b/src/gprofiler/frontend/src/hooks/useFullscreenQueryParams.js index bfdf5196..0309c6cc 100644 --- a/src/gprofiler/frontend/src/hooks/useFullscreenQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useFullscreenQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useEffect } from 'react'; import { useLocation } from 'react-router-dom'; diff --git a/src/gprofiler/frontend/src/hooks/useGraphTabsQueryParams.js b/src/gprofiler/frontend/src/hooks/useGraphTabsQueryParams.js index cea10fd7..59cd66cf 100644 --- a/src/gprofiler/frontend/src/hooks/useGraphTabsQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useGraphTabsQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useEffect } from 'react'; import { useLocation } from 'react-router-dom'; diff --git a/src/gprofiler/frontend/src/hooks/useGraphViewQueryParams.js b/src/gprofiler/frontend/src/hooks/useGraphViewQueryParams.js index c0b1917b..9d83b520 100644 --- a/src/gprofiler/frontend/src/hooks/useGraphViewQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useGraphViewQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useEffect } from 'react'; import { useLocation } from 'react-router-dom'; diff --git a/src/gprofiler/frontend/src/hooks/useMainFiltersQueryParams.js b/src/gprofiler/frontend/src/hooks/useMainFiltersQueryParams.js index bbf18fac..f3072b8f 100644 --- a/src/gprofiler/frontend/src/hooks/useMainFiltersQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useMainFiltersQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useEffect } from 'react'; import { useLocation } from 'react-router-dom'; diff --git a/src/gprofiler/frontend/src/hooks/useOpenAndSearchHotkey.js b/src/gprofiler/frontend/src/hooks/useOpenAndSearchHotkey.js index 706b71d7..df26fe6c 100644 --- a/src/gprofiler/frontend/src/hooks/useOpenAndSearchHotkey.js +++ b/src/gprofiler/frontend/src/hooks/useOpenAndSearchHotkey.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useKeyPress } from 'ahooks'; import { useMemo } from 'react'; diff --git a/src/gprofiler/frontend/src/hooks/useOutsideClickHandler.js b/src/gprofiler/frontend/src/hooks/useOutsideClickHandler.js index 2764c11e..5bb86745 100644 --- a/src/gprofiler/frontend/src/hooks/useOutsideClickHandler.js +++ b/src/gprofiler/frontend/src/hooks/useOutsideClickHandler.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useEffect } from 'react'; diff --git a/src/gprofiler/frontend/src/hooks/usePageTitle.js b/src/gprofiler/frontend/src/hooks/usePageTitle.js index c0d3e0ab..2632d33f 100644 --- a/src/gprofiler/frontend/src/hooks/usePageTitle.js +++ b/src/gprofiler/frontend/src/hooks/usePageTitle.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useContext, useEffect } from 'react'; diff --git a/src/gprofiler/frontend/src/hooks/useRightClickContextMenu.js b/src/gprofiler/frontend/src/hooks/useRightClickContextMenu.js index 1e8977e7..1a3c7577 100644 --- a/src/gprofiler/frontend/src/hooks/useRightClickContextMenu.js +++ b/src/gprofiler/frontend/src/hooks/useRightClickContextMenu.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useState } from 'react'; diff --git a/src/gprofiler/frontend/src/hooks/useSearchHotkey.js b/src/gprofiler/frontend/src/hooks/useSearchHotkey.js index 683a1e5f..9dddabeb 100644 --- a/src/gprofiler/frontend/src/hooks/useSearchHotkey.js +++ b/src/gprofiler/frontend/src/hooks/useSearchHotkey.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useKeyPress } from 'ahooks'; import { useMemo } from 'react'; diff --git a/src/gprofiler/frontend/src/hooks/useSearchHotkeyWithAction.js b/src/gprofiler/frontend/src/hooks/useSearchHotkeyWithAction.js index 427fede8..72429370 100644 --- a/src/gprofiler/frontend/src/hooks/useSearchHotkeyWithAction.js +++ b/src/gprofiler/frontend/src/hooks/useSearchHotkeyWithAction.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useKeyPress } from 'ahooks'; import { useMemo } from 'react'; diff --git a/src/gprofiler/frontend/src/hooks/useSearchQueryParams.js b/src/gprofiler/frontend/src/hooks/useSearchQueryParams.js index 70cec20d..479ac2fb 100644 --- a/src/gprofiler/frontend/src/hooks/useSearchQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useSearchQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useEffect } from 'react'; import { useLocation } from 'react-router-dom'; diff --git a/src/gprofiler/frontend/src/hooks/useServicePickQueryParams.js b/src/gprofiler/frontend/src/hooks/useServicePickQueryParams.js index 8a9824e3..e5fc54b9 100644 --- a/src/gprofiler/frontend/src/hooks/useServicePickQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useServicePickQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useEffect } from 'react'; import { StringParam, useQueryParam } from 'use-query-params'; diff --git a/src/gprofiler/frontend/src/hooks/useSnapshotQueryParams.js b/src/gprofiler/frontend/src/hooks/useSnapshotQueryParams.js index 2c91d120..24209320 100644 --- a/src/gprofiler/frontend/src/hooks/useSnapshotQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useSnapshotQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useQueryParam } from 'use-query-params'; diff --git a/src/gprofiler/frontend/src/hooks/useTimePickQueryParams.js b/src/gprofiler/frontend/src/hooks/useTimePickQueryParams.js index 717dfb9e..c2cc1025 100644 --- a/src/gprofiler/frontend/src/hooks/useTimePickQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useTimePickQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useEffect } from 'react'; import { useLocation } from 'react-router-dom'; diff --git a/src/gprofiler/frontend/src/hooks/useTruncationQueryParams.js b/src/gprofiler/frontend/src/hooks/useTruncationQueryParams.js index 937fe841..cb6db0d0 100644 --- a/src/gprofiler/frontend/src/hooks/useTruncationQueryParams.js +++ b/src/gprofiler/frontend/src/hooks/useTruncationQueryParams.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useCallback, useEffect } from 'react'; import { BooleanParam, useQueryParam } from 'use-query-params'; diff --git a/src/gprofiler/frontend/src/hooks/useWindowSize.js b/src/gprofiler/frontend/src/hooks/useWindowSize.js index 4b2102dc..31a3bff2 100644 --- a/src/gprofiler/frontend/src/hooks/useWindowSize.js +++ b/src/gprofiler/frontend/src/hooks/useWindowSize.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { useEffect, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/index.jsx b/src/gprofiler/frontend/src/index.jsx index d6050c36..442294c0 100644 --- a/src/gprofiler/frontend/src/index.jsx +++ b/src/gprofiler/frontend/src/index.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import './index.css'; diff --git a/src/gprofiler/frontend/src/router/ConsoleRouter.jsx b/src/gprofiler/frontend/src/router/ConsoleRouter.jsx index 7797c169..cd3cbf29 100644 --- a/src/gprofiler/frontend/src/router/ConsoleRouter.jsx +++ b/src/gprofiler/frontend/src/router/ConsoleRouter.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Redirect, Route, Switch } from 'react-router-dom'; diff --git a/src/gprofiler/frontend/src/router/routes.jsx b/src/gprofiler/frontend/src/router/routes.jsx index 942f6333..1dc99e94 100644 --- a/src/gprofiler/frontend/src/router/routes.jsx +++ b/src/gprofiler/frontend/src/router/routes.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import InstallationPage from '../components/installation/InstallationPage'; import OverviewPage from '../components/overview/OverviewPage'; diff --git a/src/gprofiler/frontend/src/states/filters/FiltersContext.jsx b/src/gprofiler/frontend/src/states/filters/FiltersContext.jsx index 3f77aa28..8bfbd73b 100644 --- a/src/gprofiler/frontend/src/states/filters/FiltersContext.jsx +++ b/src/gprofiler/frontend/src/states/filters/FiltersContext.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { createContext, useCallback, useReducer } from 'react'; diff --git a/src/gprofiler/frontend/src/states/filters/FiltersTagsContext.jsx b/src/gprofiler/frontend/src/states/filters/FiltersTagsContext.jsx index 5db158de..a8f0fee9 100644 --- a/src/gprofiler/frontend/src/states/filters/FiltersTagsContext.jsx +++ b/src/gprofiler/frontend/src/states/filters/FiltersTagsContext.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { createContext, useCallback, useContext, useEffect, useReducer, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/states/filters/index.js b/src/gprofiler/frontend/src/states/filters/index.js index b0f1699d..ae20ff68 100644 --- a/src/gprofiler/frontend/src/states/filters/index.js +++ b/src/gprofiler/frontend/src/states/filters/index.js @@ -1,8 +1,19 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export * from './FiltersContext'; diff --git a/src/gprofiler/frontend/src/states/filters/initialState.js b/src/gprofiler/frontend/src/states/filters/initialState.js index fb39cb99..3e8ddb9e 100644 --- a/src/gprofiler/frontend/src/states/filters/initialState.js +++ b/src/gprofiler/frontend/src/states/filters/initialState.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { getRuntimesList } from '../../utils/filtersUtils'; diff --git a/src/gprofiler/frontend/src/states/flamegraph/FgContext.jsx b/src/gprofiler/frontend/src/states/flamegraph/FgContext.jsx index 1b21df57..93c534bf 100644 --- a/src/gprofiler/frontend/src/states/flamegraph/FgContext.jsx +++ b/src/gprofiler/frontend/src/states/flamegraph/FgContext.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { createContext, useContext, useEffect, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/states/flamegraph/FgHoverContext.jsx b/src/gprofiler/frontend/src/states/flamegraph/FgHoverContext.jsx index 5cc8fdf9..fd91cbfd 100644 --- a/src/gprofiler/frontend/src/states/flamegraph/FgHoverContext.jsx +++ b/src/gprofiler/frontend/src/states/flamegraph/FgHoverContext.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { createContext, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/states/flamegraph/SplitViewFgHoverContext.jsx b/src/gprofiler/frontend/src/states/flamegraph/SplitViewFgHoverContext.jsx index 6685a9de..93213014 100644 --- a/src/gprofiler/frontend/src/states/flamegraph/SplitViewFgHoverContext.jsx +++ b/src/gprofiler/frontend/src/states/flamegraph/SplitViewFgHoverContext.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { createContext, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/states/flamegraph/index.js b/src/gprofiler/frontend/src/states/flamegraph/index.js index 4b6c5af6..30292abe 100644 --- a/src/gprofiler/frontend/src/states/flamegraph/index.js +++ b/src/gprofiler/frontend/src/states/flamegraph/index.js @@ -1,8 +1,19 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export * from './FgContext'; diff --git a/src/gprofiler/frontend/src/states/index.js b/src/gprofiler/frontend/src/states/index.js index eee9e8d2..91321326 100644 --- a/src/gprofiler/frontend/src/states/index.js +++ b/src/gprofiler/frontend/src/states/index.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export * from './filters'; export * from './flamegraph'; diff --git a/src/gprofiler/frontend/src/states/search/SearchContext.jsx b/src/gprofiler/frontend/src/states/search/SearchContext.jsx index 97b944e2..b78cbcd6 100644 --- a/src/gprofiler/frontend/src/states/search/SearchContext.jsx +++ b/src/gprofiler/frontend/src/states/search/SearchContext.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { createContext, useRef, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/states/search/index.js b/src/gprofiler/frontend/src/states/search/index.js index e97c46de..e874ddcb 100644 --- a/src/gprofiler/frontend/src/states/search/index.js +++ b/src/gprofiler/frontend/src/states/search/index.js @@ -1,8 +1,19 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export * from './SearchContext'; diff --git a/src/gprofiler/frontend/src/states/selectors/SelectorsContext.jsx b/src/gprofiler/frontend/src/states/selectors/SelectorsContext.jsx index 0933c9fe..b6f5ca84 100644 --- a/src/gprofiler/frontend/src/states/selectors/SelectorsContext.jsx +++ b/src/gprofiler/frontend/src/states/selectors/SelectorsContext.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { createContext, useEffect, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/states/selectors/index.js b/src/gprofiler/frontend/src/states/selectors/index.js index fca1dcd0..75835796 100644 --- a/src/gprofiler/frontend/src/states/selectors/index.js +++ b/src/gprofiler/frontend/src/states/selectors/index.js @@ -1,8 +1,19 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export * from './SelectorsContext'; diff --git a/src/gprofiler/frontend/src/states/selectors/initialState.js b/src/gprofiler/frontend/src/states/selectors/initialState.js index 64828d82..b2b17514 100644 --- a/src/gprofiler/frontend/src/states/selectors/initialState.js +++ b/src/gprofiler/frontend/src/states/selectors/initialState.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} const initialState = { services: [], diff --git a/src/gprofiler/frontend/src/svg/index.js b/src/gprofiler/frontend/src/svg/index.js index 215a9afe..72492e36 100644 --- a/src/gprofiler/frontend/src/svg/index.js +++ b/src/gprofiler/frontend/src/svg/index.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export { ReactComponent as ArrowRight } from './arrow-right.svg'; export { ReactComponent as CardIconAccessPlayground } from './card-icon-access-playground.svg'; diff --git a/src/gprofiler/frontend/src/svg/sideMenuIcons.jsx b/src/gprofiler/frontend/src/svg/sideMenuIcons.jsx index 5b60f33e..ec615637 100644 --- a/src/gprofiler/frontend/src/svg/sideMenuIcons.jsx +++ b/src/gprofiler/frontend/src/svg/sideMenuIcons.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import SvgIcon from '@mui/material/SvgIcon'; diff --git a/src/gprofiler/frontend/src/svg/topPanelIcons.jsx b/src/gprofiler/frontend/src/svg/topPanelIcons.jsx index b05253a3..daf0b2d2 100644 --- a/src/gprofiler/frontend/src/svg/topPanelIcons.jsx +++ b/src/gprofiler/frontend/src/svg/topPanelIcons.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import SvgIcon from '@mui/material/SvgIcon'; diff --git a/src/gprofiler/frontend/src/theme/buttonStyles.js b/src/gprofiler/frontend/src/theme/buttonStyles.js index 87093304..c23ed048 100644 --- a/src/gprofiler/frontend/src/theme/buttonStyles.js +++ b/src/gprofiler/frontend/src/theme/buttonStyles.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { COLORS } from './colors'; diff --git a/src/gprofiler/frontend/src/theme/colors.js b/src/gprofiler/frontend/src/theme/colors.js index 773ffe2e..ec36f5eb 100644 --- a/src/gprofiler/frontend/src/theme/colors.js +++ b/src/gprofiler/frontend/src/theme/colors.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export const COLORS = { WHITE: '#FFFFFF', diff --git a/src/gprofiler/frontend/src/theme/theme.jsx b/src/gprofiler/frontend/src/theme/theme.jsx index 336678f6..73fcfe86 100644 --- a/src/gprofiler/frontend/src/theme/theme.jsx +++ b/src/gprofiler/frontend/src/theme/theme.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { createTheme } from '@mui/material/styles'; diff --git a/src/gprofiler/frontend/src/theme/typography.js b/src/gprofiler/frontend/src/theme/typography.js index e99c7b81..03a2914c 100644 --- a/src/gprofiler/frontend/src/theme/typography.js +++ b/src/gprofiler/frontend/src/theme/typography.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} const TypographyTheme = { fontFamily: '"Poppins", "Lato", sans-serif', diff --git a/src/gprofiler/frontend/src/utils/consts.js b/src/gprofiler/frontend/src/utils/consts.js index 5736f83f..cda16660 100644 --- a/src/gprofiler/frontend/src/utils/consts.js +++ b/src/gprofiler/frontend/src/utils/consts.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export const PAGES = { profiles: { diff --git a/src/gprofiler/frontend/src/utils/contexts.jsx b/src/gprofiler/frontend/src/utils/contexts.jsx index 78e49866..9786f474 100644 --- a/src/gprofiler/frontend/src/utils/contexts.jsx +++ b/src/gprofiler/frontend/src/utils/contexts.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { createContext, useContext, useState } from 'react'; diff --git a/src/gprofiler/frontend/src/utils/datetimesUtils.js b/src/gprofiler/frontend/src/utils/datetimesUtils.js index 3e4036f5..a90075f1 100644 --- a/src/gprofiler/frontend/src/utils/datetimesUtils.js +++ b/src/gprofiler/frontend/src/utils/datetimesUtils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { add, diff --git a/src/gprofiler/frontend/src/utils/fgUtils.js b/src/gprofiler/frontend/src/utils/fgUtils.js index ec1bd98b..8b766880 100644 --- a/src/gprofiler/frontend/src/utils/fgUtils.js +++ b/src/gprofiler/frontend/src/utils/fgUtils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; import { parse, stringify } from 'query-string'; diff --git a/src/gprofiler/frontend/src/utils/filtersUtils.jsx b/src/gprofiler/frontend/src/utils/filtersUtils.jsx index 1010b39a..a34f44bb 100644 --- a/src/gprofiler/frontend/src/utils/filtersUtils.jsx +++ b/src/gprofiler/frontend/src/utils/filtersUtils.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import ContainerEnvNameDescription from '../components/filters/descriptions/ContainerEnvNameDescription'; import ContainerNameDescription from '../components/filters/descriptions/ContainerNameDescription'; diff --git a/src/gprofiler/frontend/src/utils/generalUtils.js b/src/gprofiler/frontend/src/utils/generalUtils.js index 1e0f2c81..06b7562b 100644 --- a/src/gprofiler/frontend/src/utils/generalUtils.js +++ b/src/gprofiler/frontend/src/utils/generalUtils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} /* eslint-disable no-loop-func */ /* diff --git a/src/gprofiler/frontend/src/utils/installationUtils.jsx b/src/gprofiler/frontend/src/utils/installationUtils.jsx index 8275d44d..2c09fc6b 100644 --- a/src/gprofiler/frontend/src/utils/installationUtils.jsx +++ b/src/gprofiler/frontend/src/utils/installationUtils.jsx @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import { Checkbox, FormControlLabel, Link } from '@mui/material'; import { concat, includes } from 'lodash'; diff --git a/src/gprofiler/frontend/src/utils/mergeUtils.js b/src/gprofiler/frontend/src/utils/mergeUtils.js index bbf7bff2..ac91be4c 100644 --- a/src/gprofiler/frontend/src/utils/mergeUtils.js +++ b/src/gprofiler/frontend/src/utils/mergeUtils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/utils/metricsUtils.js b/src/gprofiler/frontend/src/utils/metricsUtils.js index 1f47c7f5..a9779d02 100644 --- a/src/gprofiler/frontend/src/utils/metricsUtils.js +++ b/src/gprofiler/frontend/src/utils/metricsUtils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} const toFixedNumber = (num) => parseFloat(Number.parseFloat(num).toFixed(1)); diff --git a/src/gprofiler/frontend/src/utils/splitViewUtils.js b/src/gprofiler/frontend/src/utils/splitViewUtils.js index 666d6e4e..45377b0c 100644 --- a/src/gprofiler/frontend/src/utils/splitViewUtils.js +++ b/src/gprofiler/frontend/src/utils/splitViewUtils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import _ from 'lodash'; diff --git a/src/gprofiler/frontend/src/utils/tableViewUtils.js b/src/gprofiler/frontend/src/utils/tableViewUtils.js index 5cd99a34..e22e63cb 100644 --- a/src/gprofiler/frontend/src/utils/tableViewUtils.js +++ b/src/gprofiler/frontend/src/utils/tableViewUtils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export const getFunctioNameEdges = (functionName, coreFunctionName) => { const coreFunctionIndex = functionName.indexOf(coreFunctionName); diff --git a/src/gprofiler/frontend/src/utils/timeRangeUtils.js b/src/gprofiler/frontend/src/utils/timeRangeUtils.js index 45be7535..cdc5be5a 100644 --- a/src/gprofiler/frontend/src/utils/timeRangeUtils.js +++ b/src/gprofiler/frontend/src/utils/timeRangeUtils.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} export const MAP_TIME_TO_FILTER_QUERY = { '15min': '15min', diff --git a/src/gprofiler/frontend/vite.config.js b/src/gprofiler/frontend/vite.config.js index 8df57fbb..cafefacf 100644 --- a/src/gprofiler/frontend/vite.config.js +++ b/src/gprofiler/frontend/vite.config.js @@ -1,9 +1,20 @@ -{/* - * INTEL CONFIDENTIAL - * Copyright (C) 2023 Intel Corporation - * This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. - * This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. -*/} +{ + /* + * Copyright (C) 2023 Intel Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +} import react from '@vitejs/plugin-react'; import { defineConfig } from 'vite'; diff --git a/src/gprofiler/requirements.txt b/src/gprofiler/requirements.txt index 6558bf78..f572939a 100644 --- a/src/gprofiler/requirements.txt +++ b/src/gprofiler/requirements.txt @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# gprofiler_dev[postgres] PyYAML==6.0.1 diff --git a/src/gprofiler/run.sh b/src/gprofiler/run.sh index bf57c4f9..a10918fe 100755 --- a/src/gprofiler/run.sh +++ b/src/gprofiler/run.sh @@ -1,9 +1,20 @@ #!/usr/bin/env bash -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# set -ueo pipefail diff --git a/src/gprofiler/run_local.sh b/src/gprofiler/run_local.sh index f1afc087..947c67da 100755 --- a/src/gprofiler/run_local.sh +++ b/src/gprofiler/run_local.sh @@ -1,9 +1,20 @@ #!/usr/bin/env bash -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" diff --git a/src/gprofiler/setup.py b/src/gprofiler/setup.py index f5d6a9bc..71761230 100644 --- a/src/gprofiler/setup.py +++ b/src/gprofiler/setup.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import os diff --git a/src/gprofiler_flamedb_rest/common/misc.go b/src/gprofiler_flamedb_rest/common/misc.go index 01d0964e..f9c9c6b8 100644 --- a/src/gprofiler_flamedb_rest/common/misc.go +++ b/src/gprofiler_flamedb_rest/common/misc.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package common diff --git a/src/gprofiler_flamedb_rest/common/params.go b/src/gprofiler_flamedb_rest/common/params.go index 63611daa..d3b16e4a 100644 --- a/src/gprofiler_flamedb_rest/common/params.go +++ b/src/gprofiler_flamedb_rest/common/params.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package common diff --git a/src/gprofiler_flamedb_rest/config/vars.go b/src/gprofiler_flamedb_rest/config/vars.go index ba7b4a1a..1ccbe36b 100644 --- a/src/gprofiler_flamedb_rest/config/vars.go +++ b/src/gprofiler_flamedb_rest/config/vars.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package config diff --git a/src/gprofiler_flamedb_rest/db/clickhouse.go b/src/gprofiler_flamedb_rest/db/clickhouse.go index 4d8fd8e4..ddbe038f 100644 --- a/src/gprofiler_flamedb_rest/db/clickhouse.go +++ b/src/gprofiler_flamedb_rest/db/clickhouse.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package db diff --git a/src/gprofiler_flamedb_rest/db/common.go b/src/gprofiler_flamedb_rest/db/common.go index cea6189b..53c45651 100644 --- a/src/gprofiler_flamedb_rest/db/common.go +++ b/src/gprofiler_flamedb_rest/db/common.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package db diff --git a/src/gprofiler_flamedb_rest/db/common_test.go b/src/gprofiler_flamedb_rest/db/common_test.go index ca906920..c00004c3 100644 --- a/src/gprofiler_flamedb_rest/db/common_test.go +++ b/src/gprofiler_flamedb_rest/db/common_test.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package db diff --git a/src/gprofiler_flamedb_rest/db/graph.go b/src/gprofiler_flamedb_rest/db/graph.go index 23fb03b7..c638229f 100644 --- a/src/gprofiler_flamedb_rest/db/graph.go +++ b/src/gprofiler_flamedb_rest/db/graph.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package db diff --git a/src/gprofiler_flamedb_rest/db/lang_ident.go b/src/gprofiler_flamedb_rest/db/lang_ident.go index 8a082cb6..976c5f41 100644 --- a/src/gprofiler_flamedb_rest/db/lang_ident.go +++ b/src/gprofiler_flamedb_rest/db/lang_ident.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package db diff --git a/src/gprofiler_flamedb_rest/handlers/common.go b/src/gprofiler_flamedb_rest/handlers/common.go index c6b333f1..c28e2ba7 100644 --- a/src/gprofiler_flamedb_rest/handlers/common.go +++ b/src/gprofiler_flamedb_rest/handlers/common.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package handlers diff --git a/src/gprofiler_flamedb_rest/handlers/common_test.go b/src/gprofiler_flamedb_rest/handlers/common_test.go index b7065bf1..f0d12adb 100644 --- a/src/gprofiler_flamedb_rest/handlers/common_test.go +++ b/src/gprofiler_flamedb_rest/handlers/common_test.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package handlers diff --git a/src/gprofiler_flamedb_rest/handlers/handlers.go b/src/gprofiler_flamedb_rest/handlers/handlers.go index 8b272a18..bddf7903 100644 --- a/src/gprofiler_flamedb_rest/handlers/handlers.go +++ b/src/gprofiler_flamedb_rest/handlers/handlers.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package handlers diff --git a/src/gprofiler_flamedb_rest/handlers/responses.go b/src/gprofiler_flamedb_rest/handlers/responses.go index f4cf0692..e3460f93 100644 --- a/src/gprofiler_flamedb_rest/handlers/responses.go +++ b/src/gprofiler_flamedb_rest/handlers/responses.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package handlers diff --git a/src/gprofiler_flamedb_rest/main.go b/src/gprofiler_flamedb_rest/main.go index 422be35b..3b4aa2b1 100644 --- a/src/gprofiler_flamedb_rest/main.go +++ b/src/gprofiler_flamedb_rest/main.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/args.go b/src/gprofiler_indexer/args.go index 89f7ec86..0ed18bae 100644 --- a/src/gprofiler_indexer/args.go +++ b/src/gprofiler_indexer/args.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/callstacks.go b/src/gprofiler_indexer/callstacks.go index 8c3c1152..2dee5430 100644 --- a/src/gprofiler_indexer/callstacks.go +++ b/src/gprofiler_indexer/callstacks.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/clickhouse.go b/src/gprofiler_indexer/clickhouse.go index 2a083769..995aacb7 100644 --- a/src/gprofiler_indexer/clickhouse.go +++ b/src/gprofiler_indexer/clickhouse.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/clickhouse_test.go b/src/gprofiler_indexer/clickhouse_test.go index 02e81c70..0af2889b 100644 --- a/src/gprofiler_indexer/clickhouse_test.go +++ b/src/gprofiler_indexer/clickhouse_test.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/common.go b/src/gprofiler_indexer/common.go index 47076d47..dcaeb358 100644 --- a/src/gprofiler_indexer/common.go +++ b/src/gprofiler_indexer/common.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/common_test.go b/src/gprofiler_indexer/common_test.go index 3176e22b..7e24e835 100644 --- a/src/gprofiler_indexer/common_test.go +++ b/src/gprofiler_indexer/common_test.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/conf/replace.yaml b/src/gprofiler_indexer/conf/replace.yaml index 65b59005..8017432f 100644 --- a/src/gprofiler_indexer/conf/replace.yaml +++ b/src/gprofiler_indexer/conf/replace.yaml @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# # CallStack(s) squash/merge rules # To verify this yaml, please use: go run main.go --verify diff --git a/src/gprofiler_indexer/consts.go b/src/gprofiler_indexer/consts.go index c6168eb6..ffd4944c 100644 --- a/src/gprofiler_indexer/consts.go +++ b/src/gprofiler_indexer/consts.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/frame_replacer.go b/src/gprofiler_indexer/frame_replacer.go index 123ae864..e025a98a 100644 --- a/src/gprofiler_indexer/frame_replacer.go +++ b/src/gprofiler_indexer/frame_replacer.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/main.go b/src/gprofiler_indexer/main.go index be80c924..0c5dae2e 100644 --- a/src/gprofiler_indexer/main.go +++ b/src/gprofiler_indexer/main.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/queue.go b/src/gprofiler_indexer/queue.go index 58dd043f..f0b054c1 100644 --- a/src/gprofiler_indexer/queue.go +++ b/src/gprofiler_indexer/queue.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/reloader.go b/src/gprofiler_indexer/reloader.go index 90f76288..ff51a892 100644 --- a/src/gprofiler_indexer/reloader.go +++ b/src/gprofiler_indexer/reloader.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/run_tests.sh b/src/gprofiler_indexer/run_tests.sh index ce4c2453..b2bb1ec5 100755 --- a/src/gprofiler_indexer/run_tests.sh +++ b/src/gprofiler_indexer/run_tests.sh @@ -1,9 +1,20 @@ #!/usr/bin/env bash -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# RED='\033[0;31m' NC='\033[0m' diff --git a/src/gprofiler_indexer/s3.go b/src/gprofiler_indexer/s3.go index 9206b701..af6e42c1 100644 --- a/src/gprofiler_indexer/s3.go +++ b/src/gprofiler_indexer/s3.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_indexer/sql/create_ch_schema.sql b/src/gprofiler_indexer/sql/create_ch_schema.sql index 468a99db..a3516d81 100644 --- a/src/gprofiler_indexer/sql/create_ch_schema.sql +++ b/src/gprofiler_indexer/sql/create_ch_schema.sql @@ -1,7 +1,18 @@ --- INTEL CONFIDENTIAL +-- -- Copyright (C) 2023 Intel Corporation --- This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. --- This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +-- +-- 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 +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- -- create database on cluster CREATE DATABASE IF NOT EXISTS diff --git a/src/gprofiler_indexer/sql/create_ch_schema_cluster_mode.sql b/src/gprofiler_indexer/sql/create_ch_schema_cluster_mode.sql index b2bf1be9..13f04144 100644 --- a/src/gprofiler_indexer/sql/create_ch_schema_cluster_mode.sql +++ b/src/gprofiler_indexer/sql/create_ch_schema_cluster_mode.sql @@ -1,7 +1,18 @@ --- INTEL CONFIDENTIAL +-- -- Copyright (C) 2023 Intel Corporation --- This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. --- This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +-- +-- 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 +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- -- create database on cluster CREATE DATABASE IF NOT EXISTS diff --git a/src/gprofiler_indexer/worker.go b/src/gprofiler_indexer/worker.go index cd349955..ec018ba1 100644 --- a/src/gprofiler_indexer/worker.go +++ b/src/gprofiler_indexer/worker.go @@ -1,7 +1,18 @@ -// INTEL CONFIDENTIAL +// // Copyright (C) 2023 Intel Corporation -// This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -// This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +// +// 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 +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// package main diff --git a/src/gprofiler_logging/app/__init__.py b/src/gprofiler_logging/app/__init__.py index ffcf4429..f9ec4f37 100644 --- a/src/gprofiler_logging/app/__init__.py +++ b/src/gprofiler_logging/app/__init__.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import functools diff --git a/src/gprofiler_logging/app/config.py b/src/gprofiler_logging/app/config.py index a9ff8ecc..4c9da69f 100644 --- a/src/gprofiler_logging/app/config.py +++ b/src/gprofiler_logging/app/config.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from pathlib import Path diff --git a/src/gprofiler_logging/app/main.py b/src/gprofiler_logging/app/main.py index 446b4f6b..a5614597 100644 --- a/src/gprofiler_logging/app/main.py +++ b/src/gprofiler_logging/app/main.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import logging import signal diff --git a/src/gprofiler_logging/app/routers/__init__.py b/src/gprofiler_logging/app/routers/__init__.py index a0a14b8c..7b43d819 100644 --- a/src/gprofiler_logging/app/routers/__init__.py +++ b/src/gprofiler_logging/app/routers/__init__.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from app.routers import health_check, logs from fastapi import APIRouter diff --git a/src/gprofiler_logging/app/routers/health_check.py b/src/gprofiler_logging/app/routers/health_check.py index 701da0ce..bb283140 100644 --- a/src/gprofiler_logging/app/routers/health_check.py +++ b/src/gprofiler_logging/app/routers/health_check.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from logging import getLogger diff --git a/src/gprofiler_logging/app/routers/logs.py b/src/gprofiler_logging/app/routers/logs.py index e616aad9..fe546721 100644 --- a/src/gprofiler_logging/app/routers/logs.py +++ b/src/gprofiler_logging/app/routers/logs.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from logging import getLogger diff --git a/src/gprofiler_logging/app/schemas/__init__.py b/src/gprofiler_logging/app/schemas/__init__.py index f42358f9..79eb19cf 100644 --- a/src/gprofiler_logging/app/schemas/__init__.py +++ b/src/gprofiler_logging/app/schemas/__init__.py @@ -1,4 +1,15 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# diff --git a/src/gprofiler_logging/app/schemas/common.py b/src/gprofiler_logging/app/schemas/common.py index 105dafe2..9d6dd876 100644 --- a/src/gprofiler_logging/app/schemas/common.py +++ b/src/gprofiler_logging/app/schemas/common.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from pydantic import BaseModel diff --git a/src/gprofiler_logging/app/schemas/logs.py b/src/gprofiler_logging/app/schemas/logs.py index c3cef919..b6d42446 100644 --- a/src/gprofiler_logging/app/schemas/logs.py +++ b/src/gprofiler_logging/app/schemas/logs.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# from datetime import datetime diff --git a/src/gprofiler_logging/app/utils/__init__.py b/src/gprofiler_logging/app/utils/__init__.py index f42358f9..79eb19cf 100644 --- a/src/gprofiler_logging/app/utils/__init__.py +++ b/src/gprofiler_logging/app/utils/__init__.py @@ -1,4 +1,15 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# diff --git a/src/gprofiler_logging/app/utils/gzip_router.py b/src/gprofiler_logging/app/utils/gzip_router.py index 62fb8c05..7ef9ad4d 100644 --- a/src/gprofiler_logging/app/utils/gzip_router.py +++ b/src/gprofiler_logging/app/utils/gzip_router.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import asyncio import gzip diff --git a/src/gprofiler_logging/app/utils/logs_handler.py b/src/gprofiler_logging/app/utils/logs_handler.py index ef170888..29cb16fa 100644 --- a/src/gprofiler_logging/app/utils/logs_handler.py +++ b/src/gprofiler_logging/app/utils/logs_handler.py @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# import asyncio from logging import getLogger diff --git a/src/gprofiler_logging/requirements.txt b/src/gprofiler_logging/requirements.txt index 9a0a573c..65c17f81 100644 --- a/src/gprofiler_logging/requirements.txt +++ b/src/gprofiler_logging/requirements.txt @@ -1,7 +1,18 @@ -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# pydantic[email]==1.10.14 fastapi==0.109.0 diff --git a/src/gprofiler_logging/run.sh b/src/gprofiler_logging/run.sh index 89c6450c..55249702 100755 --- a/src/gprofiler_logging/run.sh +++ b/src/gprofiler_logging/run.sh @@ -1,9 +1,20 @@ #!/usr/bin/env bash -# INTEL CONFIDENTIAL +# # Copyright (C) 2023 Intel Corporation -# This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you ("License"). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission. -# This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License. +# +# 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# set -ueo pipefail