Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: v_2e@×××.net
Subject: Re: [gentoo-user] 'profile' USE-flag - what for?
Date: Mon, 23 Jul 2012 10:00:03
Message-Id: 20120723115720.65eb2e4a@khamul.example.com
In Reply to: [gentoo-user] 'profile' USE-flag - what for? by v_2e@ukr.net
1 On Mon, 23 Jul 2012 12:52:43 +0300
2 v_2e@×××.net wrote:
3
4 > Hello!
5 > Could somebody please explain me the role of "profile' USE-flag for
6 > a regular user's PC?
7 >
8 > "profile : Adds support for software performance analysis (will
9 > likely vary from ebuild to ebuild)"
10
11 It's a generic catch-all USE flag and it has nothing to do with gentoo
12 profiles at all.
13
14 Because it's so generic, each ebuild will use it differently. Each
15 package will have it's own idea on how to enable profiling, and each
16 package will be different. You have to know how eacjh package does
17 profiling for this flag to be any use at all
18
19 > * Is if of any use in such case at all?
20
21 Are you running the software through a performance profiler?
22
23 If not, then you don't need the flag enabled.
24
25 > * If it is, what does it provide for a regular user?
26
27 Run "equery hasuse profile" on your host and read each ebuild listed.
28
29 For regular users, the flag ius highly unlikely to be of any use at all
30
31 > * Is it safe to turn it off?
32
33 Yes
34
35
36
37 --
38 Alan McKinnon
39 alan.mckinnon@×××××.com