Sync from SUSE:SLFO:Main pprof revision 4a9c8705c7011b01828723357484ff66

This commit is contained in:
Adrian Schröter 2024-05-03 19:35:56 +02:00
commit 1d25295e01
7 changed files with 143 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

19
_service Normal file
View File

@ -0,0 +1,19 @@
<services>
<service name="tar_scm" mode="manual">
<param name="url">https://github.com/google/pprof.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">0.0.0+git%cd.%h</param>
<param name="filename">pprof</param>
<param name="revision">d04f2422c8a17569c14e84da0fae252d9529826b</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="manual">
</service>
<service name="go_modules" mode="manual">
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/google/pprof.git</param>
<param name="changesrevision">d04f2422c8a17569c14e84da0fae252d9529826b</param></service></servicedata>

BIN
pprof-0.0.0+git20220520.d04f242.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

43
pprof.changes Normal file
View File

@ -0,0 +1,43 @@
-------------------------------------------------------------------
Sun Jul 10 12:00:20 UTC 2022 - gmbr3@opensuse.org
- Update to version 0.0.0+git20220520.d04f242:
* Make config menu entries relative.
* Made flamegraph test less brittle.
* all: update dependencies
* Generalize the unit support in pprof a bit further.
* Split monolithic webhtml.go into multiple files.
* Update minimum Go version to 1.17 in go.mod.
* Fix doc comments format to become compatible with tip gofmt.
* allow rendering big flame graphs by avoiding stack overflow in JS parser
* Fix tagroot to properly format unitless numeric tags.
* Add Go 1.18 to testing, remove Go 1.16.
* third_party: fix typo
* internal/graph: Support comments with double quotes
* Handle either _text or _stext as the kernel relocation symbol.
* Parse and propagate the name of the kernel relocation symbol
* doc: clarify graph view docs to note negative values appear in profile comparison
* internal/elfexec: Fix typos in elfexec.go
* Log build ID in local symbolization error messages.
* Update d3-flame-graph from 2.0.0-alpha to 4.1.3
* Add badge link to Go API docs in pkg.go.dev
* Update instructions to use "git clone" instead of "go get".
* proto/profile.proto: fix typo
* Update mapassign regex to match both call variants
-------------------------------------------------------------------
Tue Mar 23 18:13:51 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Use single %doc
- Don't use if for %license
- Don't %check there are no tests
-------------------------------------------------------------------
Tue Mar 23 13:23:54 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Fix double %setup.
-------------------------------------------------------------------
Thu Mar 18 18:15:25 UTC 2021 - gmbr3@opensuse.org
- Initial packaging 0.0.20210226

48
pprof.spec Normal file
View File

@ -0,0 +1,48 @@
#
# spec file for package pprof
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: pprof
Version: 0.0.0+git20220520.d04f242
Release: 0
Summary: CLI tool for visualization and analysis of profiling data
License: Apache-2.0
Group: Development/Languages/Other
URL: https://github.com/google/pprof
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: golang(API) >= 1.14
%description
pprof reads a collection of profiling samples in profile.proto format and generates reports to visualize and help analyze the data.
It can generate both text and graphical reports (through the use of the dot visualization package).
%prep
%autosetup -a1
%build
go build
%install
install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md CONTRIBUTORS CONTRIBUTING.md AUTHORS
%license LICENSE
%{_bindir}/%{name}
%changelog

BIN
vendor.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.