Re: [GIT PULL 00/10] perf/core improvements

From: Arnaldo Carvalho de Melo
Date: Thu Dec 17 2015 - 12:37:28 EST


Em Wed, Dec 16, 2015 at 09:47:53PM -0300, Arnaldo Carvalho de Melo escreveu:
> Hi Ingo,
>
> Please consider pulling, this is on top of the perf-core-for-mingo
> tag, that is not yet merged.

Ingo, this wasn't building on older distros such as RHEL6.7 due to a
typedef problem, a one-liner, so to preserve bisection in such systems,
I ammended the commit, kept this perf-core-for-mingo-2 tag, but now
there is a perf-core-for-mingo-2.1 signed tag pointing to the good
stuff, take your pick.

- Arnaldo

> - Arnaldo
>
> The following changes since commit 7efe0e034c713716060bc7794c7e332589980c70:
>
> perf record: Support custom vmlinux path (2015-12-14 13:04:12 -0300)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-2
>
> for you to fetch changes up to 5c560cfcf1c0f897f78aa5955e3eb05418891f34:
>
> tools subcmd: Rename subcmd header include guards (2015-12-16 21:39:01 -0300)
>
> ----------------------------------------------------------------
> perf/core improvements
>
> User visible:
>
> - Add record.build-id config option to 'perf record', to allow configuring
> in the ~/.perfconfig file if and how build-ids should be processed, allowing
> a permanent setting for options such as -B and -N: (Namhyung Kim)
>
> $ perf record -h -B -N
>
> Usage: perf record [<options>] [<command>]
> or: perf record [<options>] -- <command> [<options>]
>
> -B, --no-buildid do not collect buildids in perf.data
> -N, --no-buildid-cache do not update the buildid cache
>
> $
>
> Infrastructure:
>
> - Move code for options parsing and subcommand handling from tools/perf/
> to tools/lib/subcmd/, so that it can be used by other tools/ living
> utilities (Josh Poimboeuf)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Josh Poimboeuf (9):
> tools build: Fix feature Makefile issues with 'O='
> perf tools: Move strlcpy() from perf to tools/lib/string.c
> perf tools: Document the fact that parse_options*() may exit
> perf tools: Provide subcmd configuration at runtime
> perf tools: Remove subcmd dependencies on strbuf
> perf tools: Remove 'perf' from subcmd function and variable names
> perf tools: Finalize subcmd independence
> perf subcmd: Create subcmd library
> tools subcmd: Rename subcmd header include guards
>
> Namhyung Kim (1):
> perf record: Add record.build-id config option
>
> tools/build/Makefile.feature | 2 +-
> tools/build/feature/Makefile | 93 +++++------
> tools/include/linux/string.h | 4 +
> tools/lib/string.c | 27 +++
> tools/lib/subcmd/Build | 7 +
> tools/lib/subcmd/Makefile | 48 ++++++
> tools/lib/subcmd/exec-cmd.c | 209 ++++++++++++++++++++++++
> tools/lib/subcmd/exec-cmd.h | 16 ++
> tools/{perf/util => lib/subcmd}/help.c | 63 +++++--
> tools/{perf/util => lib/subcmd}/help.h | 10 +-
> tools/{perf/util => lib/subcmd}/pager.c | 15 +-
> tools/lib/subcmd/pager.h | 9 +
> tools/{perf/util => lib/subcmd}/parse-options.c | 116 +++++++------
> tools/{perf/util => lib/subcmd}/parse-options.h | 12 +-
> tools/{perf/util => lib/subcmd}/run-command.c | 24 ++-
> tools/{perf/util => lib/subcmd}/run-command.h | 12 +-
> tools/{perf/util => lib/subcmd}/sigchain.c | 3 +-
> tools/{perf/util => lib/subcmd}/sigchain.h | 6 +-
> tools/lib/subcmd/subcmd-config.c | 11 ++
> tools/lib/subcmd/subcmd-config.h | 14 ++
> tools/lib/subcmd/subcmd-util.h | 91 +++++++++++
> tools/perf/Build | 5 +-
> tools/perf/Documentation/perf-record.txt | 14 +-
> tools/perf/MANIFEST | 1 +
> tools/perf/Makefile.perf | 20 ++-
> tools/perf/arch/x86/util/intel-pt.c | 2 +-
> tools/perf/bench/futex-hash.c | 2 +-
> tools/perf/bench/futex-lock-pi.c | 2 +-
> tools/perf/bench/futex-requeue.c | 2 +-
> tools/perf/bench/futex-wake-parallel.c | 2 +-
> tools/perf/bench/futex-wake.c | 2 +-
> tools/perf/bench/mem-functions.c | 2 +-
> tools/perf/bench/numa.c | 2 +-
> tools/perf/bench/sched-messaging.c | 2 +-
> tools/perf/bench/sched-pipe.c | 2 +-
> tools/perf/builtin-annotate.c | 2 +-
> tools/perf/builtin-bench.c | 2 +-
> tools/perf/builtin-buildid-cache.c | 2 +-
> tools/perf/builtin-buildid-list.c | 2 +-
> tools/perf/builtin-config.c | 2 +-
> tools/perf/builtin-data.c | 2 +-
> tools/perf/builtin-evlist.c | 2 +-
> tools/perf/builtin-help.c | 10 +-
> tools/perf/builtin-inject.c | 2 +-
> tools/perf/builtin-kmem.c | 2 +-
> tools/perf/builtin-kvm.c | 2 +-
> tools/perf/builtin-list.c | 2 +-
> tools/perf/builtin-lock.c | 2 +-
> tools/perf/builtin-mem.c | 2 +-
> tools/perf/builtin-probe.c | 2 +-
> tools/perf/builtin-record.c | 15 +-
> tools/perf/builtin-report.c | 2 +-
> tools/perf/builtin-sched.c | 2 +-
> tools/perf/builtin-script.c | 12 +-
> tools/perf/builtin-stat.c | 2 +-
> tools/perf/builtin-timechart.c | 2 +-
> tools/perf/builtin-top.c | 2 +-
> tools/perf/builtin-trace.c | 4 +-
> tools/perf/perf.c | 18 +-
> tools/perf/tests/attr.c | 4 +-
> tools/perf/tests/builtin-test.c | 2 +-
> tools/perf/util/Build | 7 -
> tools/perf/util/auxtrace.c | 2 +-
> tools/perf/util/cache.h | 10 +-
> tools/perf/util/cgroup.c | 2 +-
> tools/perf/util/config.c | 2 +-
> tools/perf/util/evlist.c | 2 +-
> tools/perf/util/exec_cmd.c | 149 -----------------
> tools/perf/util/exec_cmd.h | 13 --
> tools/perf/util/help-unknown-cmd.c | 2 +-
> tools/perf/util/pager.h | 7 -
> tools/perf/util/parse-branch-options.c | 2 +-
> tools/perf/util/parse-events.c | 4 +-
> tools/perf/util/parse-regs-options.c | 2 +-
> tools/perf/util/path.c | 18 --
> tools/perf/util/sort.h | 2 +-
> tools/perf/util/util.h | 14 --
> 77 files changed, 775 insertions(+), 418 deletions(-)
> create mode 100644 tools/lib/subcmd/Build
> create mode 100644 tools/lib/subcmd/Makefile
> create mode 100644 tools/lib/subcmd/exec-cmd.c
> create mode 100644 tools/lib/subcmd/exec-cmd.h
> rename tools/{perf/util => lib/subcmd}/help.c (81%)
> rename tools/{perf/util => lib/subcmd}/help.h (87%)
> rename tools/{perf/util => lib/subcmd}/pager.c (85%)
> create mode 100644 tools/lib/subcmd/pager.h
> rename tools/{perf/util => lib/subcmd}/parse-options.c (90%)
> rename tools/{perf/util => lib/subcmd}/parse-options.h (96%)
> rename tools/{perf/util => lib/subcmd}/run-command.c (90%)
> rename tools/{perf/util => lib/subcmd}/run-command.h (86%)
> rename tools/{perf/util => lib/subcmd}/sigchain.c (95%)
> rename tools/{perf/util => lib/subcmd}/sigchain.h (55%)
> create mode 100644 tools/lib/subcmd/subcmd-config.c
> create mode 100644 tools/lib/subcmd/subcmd-config.h
> create mode 100644 tools/lib/subcmd/subcmd-util.h
> delete mode 100644 tools/perf/util/exec_cmd.c
> delete mode 100644 tools/perf/util/exec_cmd.h
> delete mode 100644 tools/perf/util/pager.h
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/