-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add install target to libbpf-tools #3263
Conversation
We plan to put those tools in separate rpm, so we need a way to install them. Adding install target with standard DESTDIR and prefix make variables. Signed-off-by: Jiri Olsa <[email protected]>
We'd like to have these tools available in package due to Also I'd like to start the discussion about packaging these
Would you guys agree or propose another location? thanks, |
Changes look good to me. As for the location, I don't have much of an opinion, tbh :) |
[buildbot, test this please] |
@olsajiri For ALT Linux I wanted to create a package named Example temporary rpm build (not yet committed to the repository): http://git.altlinux.org/tasks/265490/build/400/x86_64/rpms/libbpf-tools-0.18.0-alt2.x86_64.rpm Why not 'bcc- About binaries names, I thought, that no prefix would be confusing since there is already |
JFYI. I already packaged it for ALT like this: https://altlinux.pkgs.org/sisyphus/classic-x86_64/libbpf-tools-0.18.0-alt2.x86_64.rpm.html (Changelog date does not reflect that package is committed 13 Feb.) |
Hi!
(Cc-ing Vasudev, we're talking about #3263 :))
* Andrii Nakryiko [Sun Mar 07, 2021 at 09:54:51PM -0800]:
@olsajiri, @vt-alt, @mika A friendly ping. All of you expressed
desire to package libbpf-tools. It would be great if you managed
to do it in a consistent manner. :)
Thanks for the friendly ping! Vasudev thankfully showed up at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978727#20
and seems to be working on libbpf-tools in Debian, so including him
in the loop. :)
regards
-mika-
|
Also adding Ritesh who is also my co-maintainer of bcc package in Debian
to the loop.
Michael Prokop ***@***.***> writes:
Hi!
(Cc-ing Vasudev, we're talking about #3263 :))
* Andrii Nakryiko [Sun Mar 07, 2021 at 09:54:51PM -0800]:
> @olsajiri, @vt-alt, @mika A friendly ping. All of you expressed
> desire to package libbpf-tools. It would be great if you managed
> to do it in a consistent manner. :)
Thanks for the friendly ping! Vasudev thankfully showed up at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978727#20
and seems to be working on libbpf-tools in Debian, so including him
in the loop. :)
Thanks for looping me in. If every other distro has agreed on to using
bpf- prefix to the tool name I think we can do the same in Debian.
PS: As of now tools shipped by bcc are named bpfcc-tools and all tools have
-bpfcc suffix (bcc name was taken already by some unrelated package).
Same set of tools provided by bpftrace has suffix .bt and -perf suffix
for perf-tools-unstable package.
Cheers,
Vasudev
|
Super confusing seeing replies from two people under the same account... Do you guys share the same computer? :) Regarding the rest, I think |
hi, I did not push the package yet for fedora/rhel, because I was waiting for new bcc release,
assuming libbpf will not come up with its own tools ;-) @anakryiko ? makes sense, I'll check with bcc maintainer, but I think we could go with libbpf-tools
sounds good to me.. also easy for user to type bpf- and tab completion will do the job thanks, |
no, of course.
yep, sounds like a pretty nice convenience |
Hi,
* Andrii Nakryiko [Mon Mar 28, 2022 at 09:47:43AM -0700]:
@mika, @vt-alt as packagers, I was wondering what you thought
about #3889 ? This should allow
to package libbpf-tools on much bigger variety of distros and
kernels, but I'm not sure if it's relevant to you at all. Would
love to hear comments, thanks!
Thanks for keeping us in the loop and reaching out, @anakryiko!
I'm here-by Cc-ing (via mail) Vasudev and Ritesh, who do the actual
packaging work in Debian. :)
(Vasudev + Ritesh, see
#3263 (comment) for
the details, sorry, I didn't know your github handles, if you should
have any)
regards
Mika
|
BTW, in ALT we build newer kernels (of the two main flavours) with |
Fedora adds prefix bpf- to the tool names, mainly to distinguish them from the old tools written in Python. Alpine Linux is going to do the same, but for a slightly different reason - there are dozens of these tools, so it's a good idea to add them a common prefix, to make it easier to recognize them among all other commands. See-Also: iovisor#3263 See-Also: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/35688
Fedora adds prefix bpf- to the tool names, mainly to distinguish them from the old tools written in Python. Alpine Linux is going to do the same, but for a slightly different reason - there are dozens of these tools, so it's a good idea to add them a common prefix, to make it easier to recognize them among all other commands. See-Also: #3263 See-Also: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/35688
Fedora adds prefix bpf- to the tool names, mainly to distinguish them from the old tools written in Python. Alpine Linux is going to do the same, but for a slightly different reason - there are dozens of these tools, so it's a good idea to add them a common prefix, to make it easier to recognize them among all other commands. See-Also: iovisor#3263 See-Also: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/35688
We plan to put those tools in separate rpm, so we need a way to install them.
Adding install target with standard DESTDIR and prefix make variables.