[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111020081451.GC14464@moon>
Date: Thu, 20 Oct 2011 12:14:51 +0400
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Pekka Enberg <penberg@...helsinki.fi>
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>,
a.p.zijlstra@...llo.nl, paulus@...ba.org, mingo@...e.hu,
acme@...stprotocols.net, anton@...ba.org, daahern@...co.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools/perf: Increase symbol KSYM_NAME_LEN size
On Thu, Oct 20, 2011 at 10:54:40AM +0300, Pekka Enberg wrote:
...
>
> Is there some specified maximum length for symbols (e.g. in ELF spec)?
> I'm OK with the patch but I'd prefer we didn't bump up the number
> blindly there's something "official" number we can use.
>
> Pekka
Elf restricts offsets in string table by 4 bytes, so probably the option
is to have complete .strtab being read somewhere and use indices when needed.
(note I didn't check where perf tool need those names).
Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists