From a7b85ea4635ae594f65bb03149d1153de03890fb Mon Sep 17 00:00:00 2001 From: Dehao Chen Date: Wed, 23 Apr 2014 16:04:28 -0700 Subject: [PATCH] add copyright. --- dump_gcov.cc | 14 ++++++++++++++ profile_diff.cc | 14 ++++++++++++++ profile_merger.cc | 14 ++++++++++++++ profile_reader.cc | 14 ++++++++++++++ profile_reader.h | 14 ++++++++++++++ profile_update.cc | 14 ++++++++++++++ 6 files changed, 84 insertions(+) diff --git a/dump_gcov.cc b/dump_gcov.cc index beefb02..2af7bbf 100644 --- a/dump_gcov.cc +++ b/dump_gcov.cc @@ -1,3 +1,17 @@ +// Copyright 2014 Google Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Read the gcda file and dump the information. #include diff --git a/profile_diff.cc b/profile_diff.cc index dfcfd5a..3c87a17 100644 --- a/profile_diff.cc +++ b/profile_diff.cc @@ -1,3 +1,17 @@ +// Copyright 2014 Google Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT 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 two .afdo files. #include diff --git a/profile_merger.cc b/profile_merger.cc index fad92c3..a79c4c9 100644 --- a/profile_merger.cc +++ b/profile_merger.cc @@ -1,3 +1,17 @@ +// Copyright 2014 Google Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Merge the .afdo files. #include diff --git a/profile_reader.cc b/profile_reader.cc index b04c11b..812d809 100644 --- a/profile_reader.cc +++ b/profile_reader.cc @@ -1,3 +1,17 @@ +// Copyright 2014 Google Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "base/common.h" #include "addr2line.h" #include "gcov.h" diff --git a/profile_reader.h b/profile_reader.h index 6f55cf6..ad84220 100644 --- a/profile_reader.h +++ b/profile_reader.h @@ -1,3 +1,17 @@ +// Copyright 2014 Google Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Read profile from the .afdo file. The format of .afdo file is in // profile_writer.h. diff --git a/profile_update.cc b/profile_update.cc index d96d19c..b068da8 100644 --- a/profile_update.cc +++ b/profile_update.cc @@ -1,3 +1,17 @@ +// Copyright 2014 Google Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Updates the AutoFDO profile using the module info and debug info stored // in the new binary.