Re: [RFC] perf tools: Filter out hidden symbols from labels

Arnaldo Carvalho de Melo
2019-01-16T16:04:32Z

Em Wed, Jan 16, 2019 at 03:47:50PM +0000, Nick Clifton escreveu:
> Hi Arnaldo,
>
> >> Unfortunately the annobin notes will probably not be very helpful as they
> >> only record a minor subset of the typical gcc command line options.
> >> (Specifically: -O, -g, -D_FORTIFY_SOURCE, -D_GLIBCXX_ASSERTIONS,
> >> -fcf-protection, -fpic (and variants), -fshort-enum, -fstack-clash-protection,
> >> -fstack-protector, -mstackrealign, -fexceptions).
> >
> > Humm, is -fno-omit-frame-pointer there by any chance? :-)
>
> Not at the moment, although it could be added. All of the options
> mentioned in the above list are recorded because they have an impact
> on the security hardening of the binary. Other options are ignored
> because, at least for now, they have no security implications.

Would be interestint to have that info, as we could hint the user that
backtraces should be done with something else than '--call-graph fp' :-)

- Arnaldo