Re: [GIT PULL 00/12] perf/urgent fixes
From: Arnaldo Carvalho de Melo
Date: Thu Jan 05 2017 - 10:03:20 EST
Em Thu, Jan 05, 2017 at 08:36:36AM +0100, Ingo Molnar escreveu:
>
> * Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
>
> > Hi Ingo,
> >
> > Please consider pulling,
> >
> > - Arnaldo
> >
> > Test results at the end of this message, as usual, news about it:
> >
> > Has two new targets, debian:experimental-x-mipsel and
> > debian:experimental-x-arm64.
> >
> > Those use debian's multi-arch packages allowing cross building more than with
> > the other crossbuild containers.
> >
> > This still doesn't generate a full featured tool, as there are some buggy
> > multi-arch packages, such as the devel packages for perl, gtk2, etc.
> >
> > The following changes since commit 3705b97505bcbf6440f38119c0e7d6058f585b54:
> >
> > Merge tag 'perf-urgent-for-mingo-20161222' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2016-12-23 20:23:29 +0100)
> >
> > are available in the git repository at:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-4.10-20170104
> >
> > for you to fetch changes up to 8a937a25a7e3c19d5fb3f9d92f605cf5fda219d8:
> >
> > perf probe: Fix to probe on gcc generated symbols for offline kernel (2017-01-04 11:44:22 -0300)
> >
> > ----------------------------------------------------------------
> > perf/urgent fixes and one improvement:
> >
> > Fixes:
> >
> > - Fix prev/next_prio formatting for deadline tasks in libtraceevent (Daniel Bristot de Oliveira)
> >
> > - Robustify reading of build-ids from /sys/kernel/note (Arnaldo Carvalho de Melo)
> >
> > - Fix building some sample/bpf in Alpine Linux 3.4 (Arnaldo Carvalho de Melo)
> >
> > - Fix 'make install-bin' to install libtraceevent plugins (Arnaldo Carvalho de Melo)
> >
> > - Fix 'perf record --switch-output' documentation and comment (Jiri Olsa)
> >
> > - 'perf probe' fixes for cross arch probing (Masami Hiramatsu)
> >
> > Improvement:
> >
> > - Show total scheduling time in 'perf sched timehist' (Namhyumg Kim)
> >
> > Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> >
> > ----------------------------------------------------------------
> > Arnaldo Carvalho de Melo (4):
> > samples/bpf sock_example: Avoid getting ethhdr from two includes
> > samples/bpf trace_output_user: Remove duplicate sys/ioctl.h include
> > perf tools: Install tools/lib/traceevent plugins with install-bin
> > perf symbols: Robustify reading of build-id from sysfs
> >
> > Daniel Bristot de Oliveira (1):
> > tools lib traceevent: Fix prev/next_prio for deadline tasks
> >
> > Jiri Olsa (3):
> > tools lib subcmd: Add OPT_STRING_OPTARG_SET option
> > perf record: Make __record_options static
> > perf record: Fix --switch-output documentation and comment
> >
> > Masami Hiramatsu (3):
> > perf probe: Fix to get correct modname from elf header
> > perf probe: Fix --funcs to show correct symbols for offline module
> > perf probe: Fix to probe on gcc generated symbols for offline kernel
> >
> > Namhyung Kim (1):
> > perf sched timehist: Show total scheduling time
> >
> > samples/bpf/sock_example.h | 2 +-
> > samples/bpf/trace_output_user.c | 1 -
> > tools/lib/subcmd/parse-options.c | 3 +
> > tools/lib/subcmd/parse-options.h | 5 ++
> > tools/lib/traceevent/plugin_sched_switch.c | 4 +-
> > tools/perf/Documentation/perf-record.txt | 4 ++
> > tools/perf/Makefile.perf | 4 +-
> > tools/perf/builtin-record.c | 4 +-
> > tools/perf/builtin-sched.c | 17 ++++-
> > tools/perf/util/probe-event.c | 105 +++++++++++++++++++----------
> > tools/perf/util/symbol-elf.c | 6 ++
> > 11 files changed, 108 insertions(+), 47 deletions(-)
>
> Pulled, thanks a lot Arnaldo!
>
> JFYI, I noticed these new warnings in the build log, we should probably take care
> of these out of sync headers eventually:
>
> Warning: arch/x86/include/asm/cpufeatures.h differs from kernel
> Warning: arch/x86/include/uapi/asm/vmx.h differs from kernel
> Warning: arch/powerpc/include/uapi/asm/kvm.h differs from kernel
> Warning: arch/arm/include/uapi/asm/kvm.h differs from kernel
>
> ... but it's not a showstopper.
Right, one has to look at the changes, see if they should trigger
changes in tools, do it if needed, then do the copy, checking that all
continues to work as expected.
I've been doing that, and in some cases some other people as well, like
Joe Stringer did for the bpf headers when making samples/bpf/ use
tools/bpf/.
- Arnaldo