Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755320AbbDNMrA (ORCPT ); Tue, 14 Apr 2015 08:47:00 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:36754 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753196AbbDNMqu (ORCPT ); Tue, 14 Apr 2015 08:46:50 -0400 Date: Tue, 14 Apr 2015 14:46:44 +0200 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Arnaldo Carvalho de Melo , Jiri Olsa , Thomas Gleixner , Andrew Morton Subject: Re: [GIT PULL] perf updates for v4.1 Message-ID: <20150414124644.GA32678@gmail.com> References: <20150414120052.GA14759@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150414120052.GA14759@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 58180 Lines: 847 So PeterZ noticed that I messed up the shortlog and the diffstat, find below the correct one. I suspect the merge of timers/core and the resulting weird merge base was the culprit that confused my scripts. Sorry about that! Thanks, Ingo ============================> Adrian Hunter (1): perf tools: Initialize cpu set in pthread_attr_setaffinity_np feature test Alexander Shishkin (13): perf: Add data_{offset,size} to user_page perf: Support high-order allocations for AUX space perf: Add a capability for AUX_NO_SG pmus to do software double buffering perf: Add a pmu capability for "exclusive" events perf: Add AUX record perf: Add API for PMUs to write to the AUX area perf: Support overwrite mode for the AUX area perf: Add wakeup watermark control to the AUX area perf: Add ITRACE_START record to indicate that tracing has started x86: Add Intel Processor Trace (INTEL_PT) cpu feature detection perf/x86: Mark Intel PT and LBR/BTS as mutually exclusive perf/x86/intel/pt: Add Intel PT PMU driver perf/x86/intel/bts: Add BTS PMU driver Alexei Starovoitov (8): tracing: Add kprobe flag tracing, perf: Implement BPF programs attached to kprobes tracing: Allow BPF programs to call bpf_ktime_get_ns() tracing: Allow BPF programs to call bpf_trace_printk() samples/bpf: Add simple non-portable kprobe filter example samples/bpf: Add counting example for kfree_skb() function calls and the write() syscall samples/bpf: Add IO latency analysis (iosnoop/heatmap) tool samples/bpf: Add kmem_alloc()/free() tracker tool Andi Kleen (12): perf record: Support recording running/enabled time perf stat: Output running time and run/enabled ratio in CSV mode perf stat: Fix IPC and other formulas with -A perf stat: Always correctly indent ratio column perf/x86/intel: Add new cache events table for Haswell perf/x86/intel: Add Broadwell core support perf/x86/intel: Add INST_RETIRED.ALL workarounds perf/x86/intel: Reset more state in PMU reset perf/x86: Dump DEBUGCTL in PMU dump perf/x86: Only dump PEBS register when PEBS has been detected perf/x86/intel: Streamline LBR MSR handling in PMI perf/x86/intel: Avoid rewriting DEBUGCTL with the same value for LBRs Aravind Gopalakrishnan (1): perf/x86/amd/ibs: Convert force_ibs_eilvt_setup() to void Arnaldo Carvalho de Melo (51): tools lib traceevent: Introduce trace_seq_do_fprintf function perf tools: Introduce event_format__fprintf method perf trace: No need to enable evsels for workload started from perf perf evlist: Fix typo in comment perf trace: Print thread info when following children perf trace: Handle multiple threads better wrt syscalls being intermixed perf trace: Allow mixing with other events perf trace: Support --events foo:bar --no-syscalls perf trace: Only insert blank duration bracket when tracing syscalls perf evlist: Introduce set_filter_pid method perf trace: Filter out the trace pid when no threads are specified perf evlist: Introduce set_filter_pids method perf trace: Introduce --filter-pids perf trace: Add man page entry for --event perf trace: Separate routine that handles an event from the one that reads it perf session: Remove wrappers to machines__find perf evlist: Adopt events_stats from perf_session perf session: Remove perf_session from warn_errors signature perf session: Remove perf_session from some deliver event routines perf session: Remove perf_session from dump_event perf ordered_events: Stop using tool->ordered_events perf tools: Introduce dump_stack signal helper perf trace: Dump stack on segfaults perf tools: Print the thread's tid on PERF_RECORD_COMM events when -D is asked perf probe: Handle strdup() failure perf tools: Fix FORK after COMM when synthesizing records for pre-existing threads perf tools: Reference count struct thread perf sched: No need to keep the session around perf ordered_events: Untangle from perf_session perf ordered_events: Shorten function signatures perf ordered_events: Allow tools to specify a deliver method perf tools: tool->finished_round() doesn't need perf_session perf ordered_events: Adopt queue() method perf tools: Output feature detection's gcc output to a file perf hists browser: Simplify symbol annotation menu setup perf hists browser: Fix up some branch alignment perf hists: Remove hist_entry->used, not used anymore perf hists browser: Allow annotating entries in callchains perf trace: Handle legacy syscalls tracepoints perf hists browser: Indicate which callchain entries are annotated perf target: Simplify handling of strerror_r return perf symbols: Save DSO loading errno to better report errors perf evlist: Return the first evsel with an invalid filter in apply_filters() perf trace: Fix syscall enter formatting bug perf session: Always initialize ordered_events perf ordered_samples: Remove references to perf_{evlist,tool} and machines perf script: No need to lookup thread twice perf scripting: No need to pass thread twice to the scripting callbacks perf db-export: No need to pass thread twice to db_export__sample perf db-export: No need to have ->thread twice in struct export_sample perf tools: Fix error path to do closedir() when synthesizing threads Daniel Borkmann (1): bpf: Make internal bpf API independent of CONFIG_BPF_SYSCALL #ifdefs David Ahern (17): perf trace: Fix SIGBUS failures due to misaligned accesses perf tools: Only include tsc file for x86 perf tools: Compare JOBS to 0 after grep perf probe: Fix compiles due to declarations using perf_probe_point perf trace: Fix summary_only option tools lib traceevent: Add destructor for format_field perf diff: Add kallsyms option perf tools: Add pid/tid filtering to report and script commands perf timechart: Fix SIBGUS error on sparc64 perf: Bump max number of cpus to 1024 perf tools: Set JOBS based on CPU or processor perf/x86: Remove redundant calls to perf_pmu_{dis|en}able() perf tools: Refactor comm/tgid lookup perf tools: Fix ppid for synthesized fork events perf tools: Fix synthesizing fork_event.ppid for non-main thread perf tools: Fix cross-endian analysis perf evlist: Fix type for references to data_head/tail David Hildenbrand (1): perf callchain: Fix kernel symbol resolution by remembering the cpumode Eugene Shatokhin (1): kprobes/x86: Return correct length in __copy_instruction() H.J. Lu (1): perf tools: Fix perf-read-vdsox32 not building and lib64 install dir He Kuang (8): perf probe: Fix a precedence bug perf report: Fix branch stack mode cannot be set perf probe: Fix possible double free on error perf hists browser: Fix UI bug after zoom into thread/dso/symbol perf hists browser: Fix UI bug after fold/unfold perf probe: Fix failure to add multiple probes without debuginfo perf evlist: Fix inverted logic in perf_mmap__empty perf buildid-list: Fix segfault when show DSOs with hits Ingo Molnar (10): perf tools: Add PERF-FEATURES to the .gitignore file perf tools: Remove annoying extra message from the features build perf tools: Improve Python feature detection messages perf tools: Improve libperl detection message perf tools: Improve libbfd detection message perf tools: Improve feature test debuggability perf tools: Improve 'libbabel' feature check failure message bpf: Fix the build on BPF_SYSCALL=y && !CONFIG_TRACING kernels, make it more configurable perf/x86/intel/pt: Fix the 32-bit build perf/x86/intel/pt: Clean up the control flow in pt_pmu_hw_init() Javi Merino (2): tools lib traceevent: Factor out allocating and processing args tools lib traceevent: Add support for __print_array() Jiri Olsa (72): tools build: Add new build support tools build: Add detected config support tools build: Add subdir support perf tools: Remove api fs object from python build perf build: Disable make's built-in rules perf build: Add bench objects building perf build: Add tests objects building perf build: Add builtin objects building perf build: Add libperf objects building perf build: Add probe objects building perf build: Add dwarf objects building perf build: Add dwarf unwind objects building perf build: Add ui objects building perf build: Add slang objects building perf build: Add gtk objects building perf build: Add scripts objects building perf build: Add perf regs objects building perf build: Add zlib objects building perf build: Add perf.o object building perf build: Add arch x86 objects building perf build: Add arch arm objects building perf build: Add arch arm64 objects building perf build: Add arch powerpc objects building perf build: Add arch s390 objects building perf build: Add arch sh objects building perf build: Add arch sparc objects building perf build: Add single target build framework support perf build: Remove directory dependency rules perf build: Remove uneeded variables perf build: Remove PERF-CFLAGS file perf build: Add build documentation tools lib api: Use tools build framework tools lib api: Rename libapikfs.a to libapi.a tools lib traceevent: Use tools build framework tools lib lockdep: Use tools build framework perf build: Display make commands on V=1 perf tools: Add feature check for libbabeltrace perf tools: Add new 'perf data' command perf data: Add perf data to CTF conversion support perf tools: Remove superfluous thread->comm_set setting perf build: Fix libbabeltrace detection perf build: Disable default check for libbabeltrace perf build: Move features build output under features directory perf build: Fix pthread-attr-setaffinity-np include in test-all perf build: Get rid of LIB_INCLUDE variable perf build: Rename CORE_FEATURE_TESTS to FEATURE_TESTS perf build: Get rid of VF_FEATURE_TESTS perf build: Rename display_lib into feature_display perf build: Rename display_vf to feature_verbose perf build: Rename PERF-FEATURES into FEATURE-DUMP perf build: Rename feature_print_var_code to print_var_code perf build: Fix feature_check name clash perf build: Separate feature make support into config/Makefile.feature perf build: Make features checks directory configurable perf build: Move feature checks code under tools/build tools build: Add feature check for lzma library perf tools: Add lzma decompression support for kernel module perf tools: Add kmod_path__parse function perf tools: Add dsos__addnew function perf tools: Add machine__module_dso function perf tools: Use kmod_path__parse for machine__new_dso perf tools: Use kmod_path__parse in map_groups__set_modules_path_dir perf tools: Use kmod_path__parse in decompress_kmodule perf tools: Use kmod_path__parse in is_kernel_module perf tools: Remove compressed argument from is_kernel_module perf tools: Remove is_kmodule_extension function perf tools: Try to lookup kernel module map before creating one perf annotate: Allow annotation for decompressed kernel modules perf build: Disable libbabeltrace check by default perf kmem: Respect -i option perf tests: Fix attr tests perf tools: Add 'I' event modifier for exclude_idle bit Josef Bacik (1): tools lib traceevent: Handle NULL comm name Josh Boyer (1): perf tools: Define _GNU_SOURCE on pthread_attr_setaffinity_np feature check Kaixu Xia (1): perf: Remove the extra validity check on nr_pages Kan Liang (4): perf tools: Enable LBR call stack support perf tools: Construct LBR call chain perf diff: Support for different binaries Revert "perf: Remove the extra validity check on nr_pages" Maria Dimakopoulou (5): perf/x86: Add 3 new scheduling callbacks perf/x86/intel: Add cross-HT counter exclusion infrastructure perf/x86/intel: Implement cross-HT corruption bug workaround perf/x86/intel: Enforce HT bug workaround for SNB/IVB/HSW perf/x86/intel: Enforce HT bug workaround with PEBS for SNB/IVB/HSW Markus Elfring (1): perf/x86/intel/uncore: Delete an unnecessary check before pci_dev_put() call Masami Hiramatsu (19): perf probe: Fix to handle optimized not-inlined functions perf probe: Update man page perf buildid-cache: Remove unneeded debugdir parameters perf buildid-cache: Consolidate .build-id cache path generators perf probe: Check kprobes blacklist when adding new events perf probe: Fix get_real_path to free allocated memory in error path perf buildid-cache: Add new buildid cache if update target is not cached perf buildid-cache: Add --purge FILE to remove all caches of FILE perf buildid-cache: Use pr_debug instead of verbose && pr_info perf buildid-cache: Show usage with incorrect params perf probe: Warn if given uprobe event accesses memory on older kernel perf probe: Remove bias offset to find probe point by address perf probe: Fix to handle aliased symbols in glibc perf probe: Fix --line to handle aliased symbols in glibc Revert "perf probe: Fix to fall back to find probe point in symbols" perf probe: Fix to get ummapped symbol address on kernel perf probe: Fix to track down unnamed union/structure members perf probe: Support multiple probes on different binaries perf probe: Check the orphaned -x option Matt Fleming (9): perf: Make perf_cgroup_from_task() global perf: Add ->count() function to read per-package counters perf: Move cgroup init before PMU ->event_init() perf/x86/intel: Add Intel Cache QoS Monitoring support perf/x86/intel: Implement LRU monitoring ID allocation for CQM perf/x86/intel: Support task events with Intel CQM perf/x86/intel: Perform rotation on Intel CQM RMIDs perf/x86/intel: Enable conflicting event scheduling for CQM perf/x86/intel: Fix Makefile to actually build the cqm driver Milos Vyletel (1): perf tools: Fix race in build_id_cache__add_s() Namhyung Kim (13): perf test: Fix dso cache testcase perf tests: Do not rely on dso__data_read_offset() to open dso perf tools: Fix a dso open fail message perf tools: Fix build error on ARCH=i386/x86_64/sparc64 perf record: Get rid of -l option from Documentation perf record: Document --group option perf symbols: Allow symbol alias when loading map for symbol name perf probe: Allow weak symbols to be probed perf kmem: Fix segfault when invalid sort key is given perf kmem: Allow -v option perf kmem: Fix alignment of slab result table perf kmem: Print big numbers using thousands' group tools lib traceevent: Honor operator priority Peter P Waskiewicz Jr (1): x86: Add support for Intel Cache QoS Monitoring (CQM) detection Peter Zijlstra (8): perf/x86/intel: Expose LBR callstack to user space tooling perf, powerpc: Fix up flush_branch_stack() users perf: Remove type specific target pointers perf: Fix racy group access perf: Add per event clockid support perf: Add AUX area to ring buffer for raw data streams perf record: Add clockid parameter perf tools: Merge all perf_event_attr print functions Sebastian Andrzej Siewior (2): perf data: Add a 'perf' prefix to the generic fields perf data: Add tracepoint events fields CTF conversion support Shaohua Li (2): perf: Update shadow timestamp before add event perf: Update userspace page info for software event Stephane Eranian (7): perf/x86: Rename x86_pmu::er_flags to 'flags' perf/x86: Vectorize cpuc->kfree_on_online perf/x86: Add 'index' param to get_event_constraint() callback perf/x86/intel: Fix intel_get_event_constraints() for dynamic constraints perf/x86/intel: Limit to half counters when the HT workaround is enabled, to avoid exclusive mode starvation watchdog: Add watchdog enable/disable all functions perf/x86/intel: Make the HT bug workaround conditional on HT enabled Steven Rostedt (2): tools lib traceevent: Make plugin options either string or boolean tools lib traceevent: Zero should not be considered "not found" in eval_flag() Steven Rostedt (Red Hat) (12): perf tools: Do not check debugfs MAGIC for tracing files tools lib fs: Add helper to find mounted file systems tools lib api fs: Add tracefs mount helper functions tools lib api debugfs: Add DEBUGFS_DEFAULT_PATH macro tools lib api fs: Add {tracefs,debugfs}_configured() functions perf tools: Make perf aware of tracefs tools lib traceevent: Copy trace_clock and free it tools lib traceevent: Handle %z in bprint format tools lib traceevent: Add pevent_data_pid_from_comm() tools lib traceevent kbuffer: Remove extra update to data pointer in PADDING tools lib traceevent: Add way to find sub buffer boundary tools lib traceevent: Free filter tokens in process_filter() Suzuki K. Poulose (1): perf stat: Report unsupported events properly Victor Kamensky (2): perf symbols: Ignore mapping symbols on aarch64 perf symbols: debuglink should take symfs option into account Vinson Lee (2): perf symbols: Define STT_GNU_IFUNC for glibc 2.9 and older. perf tools: Work around lack of sched_getcpu in glibc < 2.6. Wang Nan (7): perf tools: Fix building error for arm64. perf callchain: Separate eh/debug frame offset cache. perf report: Don't allow empty argument for '-t'. perf tools: Don't allow empty argument for field-separator perf kmaps: Check kmaps to make code more robust perf probe: Fix ARM 32 building error perf report: Don't call map__kmap if map is NULL. Yan, Zheng (13): perf/x86/intel: Reduce lbr_sel_map[] size perf: Introduce pmu context switch callback perf/x86/intel: Use context switch callback to flush LBR stack perf/x86/intel: Add basic Haswell LBR call stack support perf: Add pmu specific data for perf task context perf: Always switch pmu specific data during context switch perf/x86/intel: Allocate space for storing LBR stack perf/x86/intel: Track number of events that use the LBR callstack perf/x86/intel: Save/restore LBR stack during context switch perf: Simplify the branch stack check perf/x86/intel: Re-organize code that implicitly enables LBR/PEBS perf/x86/intel: Disable FREEZE_LBRS_ON_PMI when LBR operates in callstack mode perf/x86/intel: Discard zero length call entries in LBR call stack Yunlong Song (45): perf tools: Fix a bug of segmentation fault perf list: Place the header text in its right position perf data: Fix sentinel setting for data_cmds array perf list: Sort the output of 'perf list' to view more clearly perf list: Allow listing events with 'tracepoint' prefix perf list: Avoid confusion of perf output and the next command prompt perf tools: Remove the '--(null)' long_name for --list-opts perf list: Clean up the printing functions of hardware/software events perf list: Extend raw-dump to certain kind of events perf tools: Fix the bash completion problem of 'perf --*' perf tools: Fix the bash completion for listing options of perf subcommand perf tools: Fix the bash completion for listing subsubcommands of perf subcommand perf tools: Provide the right bash completion for listing options of perf subcommand subsubcommand perf tools: Fix the bash completion for listing events of perf subcommand record|stat|top -e perf tools: Fix the bash completion to support listing events for --event perf tools: Fix the bash completion for listing subcommands of perf perf tools: Add the bash completion for listing subsubcommands of perf data perf tools: Add the bash completion for listing subsubcommands of perf help perf tools: Add the bash completion for listing subsubcommands of perf script perf tools: Add the bash completion for listing subsubcommands of perf test perf tools: Add the bash completion for listing subsubcommands of perf timechart perf tools: Add the bash completion for listing subsubcommands of perf trace perf tools: Avoid confusion with preloaded bash function for perf bash completion perf build: Use FEATURE-DUMP instead of PERF-FEATURES in the .gitignore file perf build: Add config/feature-checks/*.output to the .gitignore file perf tools: Remove (null) value of "Sort order" for perf mem report perf evlist: Support using -f to override perf.data file ownership perf inject: Support using -f to override perf.data file ownership perf kmem: Support using -f to override perf.data file ownership perf kvm: Support using -f to override perf.data.guest file ownership perf lock: Support using -f to override perf.data file ownership perf mem: Support using -f to override perf.data file ownership perf script: Support using -f to override perf.data file ownership perf timechart: Support using -f to override perf.data file ownership perf trace: Support using -f to override perf.data file ownership perf data: Support using -f to override perf.data file ownership for 'convert' perf sched replay: Use struct task_desc instead of struct task_task for correct meaning perf sched replay: Increase the MAX_PID value to fix assertion failure problem perf sched replay: Alloc the memory of pid_to_task dynamically to adapt to the unexpected change of pid_max perf sched replay: Realloc the memory of pid_to_task stepwise to adapt to the different pid_max configurations perf sched replay: Fix the segmentation fault problem caused by pr_err in threads perf sched replay: Handle the dead halt of sem_wait when create_tasks() fails for any task perf sched replay: Fix the EMFILE error caused by the limitation of the maximum open files perf sched replay: Support using -f to override perf.data file ownership perf sched replay: Use replay_repeat to calculate the runavg of cpu usage instead of the default value 10 arch/arm/kernel/hw_breakpoint.c | 2 +- arch/arm64/kernel/hw_breakpoint.c | 2 +- arch/powerpc/perf/core-book3s.c | 13 +- arch/x86/include/asm/cpufeature.h | 10 +- arch/x86/include/asm/processor.h | 3 + arch/x86/include/uapi/asm/msr-index.h | 18 + arch/x86/kernel/cpu/Makefile | 3 +- arch/x86/kernel/cpu/common.c | 39 +++ arch/x86/kernel/cpu/intel_pt.h | 131 +++++++ arch/x86/kernel/cpu/perf_event.c | 205 +++++++---- arch/x86/kernel/cpu/perf_event.h | 167 ++++++++- arch/x86/kernel/cpu/perf_event_amd.c | 9 +- arch/x86/kernel/cpu/perf_event_amd_ibs.c | 12 +- arch/x86/kernel/cpu/perf_event_intel.c | 908 +++++++++++++++++++++++++++++++++++++++++++++---- arch/x86/kernel/cpu/perf_event_intel_bts.c | 525 ++++++++++++++++++++++++++++ arch/x86/kernel/cpu/perf_event_intel_cqm.c | 1379 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/x86/kernel/cpu/perf_event_intel_ds.c | 31 +- arch/x86/kernel/cpu/perf_event_intel_lbr.c | 321 +++++++++++++---- arch/x86/kernel/cpu/perf_event_intel_pt.c | 1103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c | 3 +- arch/x86/kernel/cpu/scattered.c | 1 + arch/x86/kernel/kprobes/core.c | 9 +- include/linux/bpf.h | 20 +- include/linux/ftrace_event.h | 14 + include/linux/perf_event.h | 121 ++++++- include/linux/watchdog.h | 8 + include/uapi/linux/bpf.h | 5 + include/uapi/linux/perf_event.h | 115 ++++++- init/Kconfig | 2 +- kernel/bpf/syscall.c | 7 +- kernel/events/core.c | 752 +++++++++++++++++++++++++++++++--------- kernel/events/hw_breakpoint.c | 8 +- kernel/events/internal.h | 33 ++ kernel/events/ring_buffer.c | 327 +++++++++++++++++- kernel/trace/Kconfig | 8 + kernel/trace/Makefile | 1 + kernel/trace/bpf_trace.c | 222 ++++++++++++ kernel/trace/trace_kprobe.c | 10 +- kernel/trace/trace_uprobe.c | 10 +- kernel/watchdog.c | 28 ++ samples/bpf/Makefile | 16 + samples/bpf/bpf_helpers.h | 6 + samples/bpf/bpf_load.c | 125 ++++++- samples/bpf/bpf_load.h | 3 + samples/bpf/libbpf.c | 14 +- samples/bpf/libbpf.h | 5 +- samples/bpf/sock_example.c | 2 +- samples/bpf/test_verifier.c | 2 +- samples/bpf/tracex1_kern.c | 50 +++ samples/bpf/tracex1_user.c | 25 ++ samples/bpf/tracex2_kern.c | 86 +++++ samples/bpf/tracex2_user.c | 95 ++++++ samples/bpf/tracex3_kern.c | 89 +++++ samples/bpf/tracex3_user.c | 150 ++++++++ samples/bpf/tracex4_kern.c | 54 +++ samples/bpf/tracex4_user.c | 69 ++++ tools/build/Build.include | 81 +++++ tools/build/Documentation/Build.txt | 139 ++++++++ tools/build/Makefile.build | 130 +++++++ tools/build/Makefile.feature | 171 ++++++++++ tools/{perf/config/feature-checks => build/feature}/.gitignore | 1 + tools/{perf/config/feature-checks => build/feature}/Makefile | 31 +- tools/{perf/config/feature-checks => build/feature}/test-all.c | 19 +- tools/{perf/config/feature-checks => build/feature}/test-backtrace.c | 0 tools/{perf/config/feature-checks => build/feature}/test-bionic.c | 0 tools/{perf/config/feature-checks => build/feature}/test-compile.c | 0 tools/{perf/config/feature-checks => build/feature}/test-cplus-demangle.c | 0 tools/{perf/config/feature-checks => build/feature}/test-dwarf.c | 0 tools/{perf/config/feature-checks => build/feature}/test-fortify-source.c | 0 tools/{perf/config/feature-checks => build/feature}/test-glibc.c | 0 tools/{perf/config/feature-checks => build/feature}/test-gtk2-infobar.c | 0 tools/{perf/config/feature-checks => build/feature}/test-gtk2.c | 0 tools/{perf/config/feature-checks => build/feature}/test-hello.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libaudit.c | 0 tools/build/feature/test-libbabeltrace.c | 9 + tools/{perf/config/feature-checks => build/feature}/test-libbfd.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libdw-dwarf-unwind.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libelf-getphdrnum.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libelf-mmap.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libelf.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libnuma.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libperl.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libpython-version.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libpython.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libslang.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libunwind-debug-frame.c | 0 tools/{perf/config/feature-checks => build/feature}/test-libunwind.c | 0 tools/build/feature/test-lzma.c | 10 + tools/{perf/config/feature-checks => build/feature}/test-pthread-attr-setaffinity-np.c | 4 +- tools/{perf/config/feature-checks => build/feature}/test-stackprotector-all.c | 0 tools/{perf/config/feature-checks => build/feature}/test-sync-compare-and-swap.c | 0 tools/{perf/config/feature-checks => build/feature}/test-timerfd.c | 0 tools/{perf/config/feature-checks => build/feature}/test-zlib.c | 0 tools/build/tests/ex/Build | 8 + tools/build/tests/ex/Makefile | 23 ++ tools/build/tests/ex/a.c | 5 + tools/build/tests/ex/arch/Build | 2 + tools/build/tests/ex/arch/e.c | 5 + tools/build/tests/ex/arch/f.c | 5 + tools/build/tests/ex/b.c | 5 + tools/build/tests/ex/c.c | 5 + tools/build/tests/ex/d.c | 5 + tools/build/tests/ex/empty/Build | 0 tools/build/tests/ex/ex.c | 19 ++ tools/build/tests/run.sh | 42 +++ tools/lib/api/Build | 2 + tools/lib/api/Makefile | 58 ++-- tools/lib/api/fd/Build | 1 + tools/lib/api/fs/Build | 4 + tools/lib/api/fs/debugfs.c | 69 ++-- tools/lib/api/fs/debugfs.h | 13 +- tools/lib/api/fs/findfs.c | 63 ++++ tools/lib/api/fs/findfs.h | 23 ++ tools/lib/api/fs/tracefs.c | 78 +++++ tools/lib/api/fs/tracefs.h | 21 ++ tools/lib/lockdep/Build | 1 + tools/lib/lockdep/Makefile | 132 ++----- tools/lib/traceevent/Build | 17 + tools/lib/traceevent/Makefile | 169 +++------ tools/lib/traceevent/event-parse.c | 305 ++++++++++++++--- tools/lib/traceevent/event-parse.h | 24 +- tools/lib/traceevent/event-plugin.c | 60 +++- tools/lib/traceevent/kbuffer-parse.c | 12 +- tools/lib/traceevent/kbuffer.h | 1 + tools/lib/traceevent/parse-filter.c | 2 + tools/lib/traceevent/trace-seq.c | 13 +- tools/perf/.gitignore | 1 + tools/perf/Build | 44 +++ tools/perf/Documentation/Build.txt | 49 +++ tools/perf/Documentation/perf-buildid-cache.txt | 24 +- tools/perf/Documentation/perf-data.txt | 40 +++ tools/perf/Documentation/perf-diff.txt | 8 + tools/perf/Documentation/perf-kmem.txt | 4 + tools/perf/Documentation/perf-list.txt | 7 + tools/perf/Documentation/perf-probe.txt | 16 +- tools/perf/Documentation/perf-record.txt | 30 +- tools/perf/Documentation/perf-report.txt | 5 + tools/perf/Documentation/perf-script.txt | 6 + tools/perf/Documentation/perf-trace.txt | 6 + tools/perf/Documentation/perf.txt | 7 +- tools/perf/MANIFEST | 1 + tools/perf/Makefile | 4 +- tools/perf/Makefile.perf | 622 +++++---------------------------- tools/perf/arch/Build | 2 + tools/perf/arch/arm/Build | 2 + tools/perf/arch/arm/Makefile | 11 - tools/perf/arch/arm/tests/Build | 2 + tools/perf/arch/arm/util/Build | 4 + tools/perf/arch/arm64/Build | 1 + tools/perf/arch/arm64/Makefile | 4 - tools/perf/arch/arm64/util/Build | 2 + tools/perf/arch/powerpc/Build | 1 + tools/perf/arch/powerpc/Makefile | 3 - tools/perf/arch/powerpc/util/Build | 4 + tools/perf/arch/s390/Build | 1 + tools/perf/arch/s390/Makefile | 3 - tools/perf/arch/s390/util/Build | 4 + tools/perf/arch/sh/Build | 1 + tools/perf/arch/sh/Makefile | 1 - tools/perf/arch/sh/util/Build | 1 + tools/perf/arch/sparc/Build | 1 + tools/perf/arch/sparc/Makefile | 1 - tools/perf/arch/sparc/util/Build | 1 + tools/perf/arch/x86/Build | 2 + tools/perf/arch/x86/Makefile | 15 - tools/perf/arch/x86/tests/Build | 2 + tools/perf/arch/x86/util/Build | 8 + tools/perf/bench/Build | 11 + tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-buildid-cache.c | 107 ++++-- tools/perf/builtin-buildid-list.c | 2 +- tools/perf/builtin-data.c | 123 +++++++ tools/perf/builtin-diff.c | 6 +- tools/perf/builtin-evlist.c | 2 + tools/perf/builtin-help.c | 17 +- tools/perf/builtin-inject.c | 16 +- tools/perf/builtin-kmem.c | 38 ++- tools/perf/builtin-kvm.c | 15 +- tools/perf/builtin-list.c | 28 +- tools/perf/builtin-lock.c | 7 +- tools/perf/builtin-mem.c | 7 +- tools/perf/builtin-probe.c | 19 +- tools/perf/builtin-record.c | 108 +++++- tools/perf/builtin-report.c | 16 +- tools/perf/builtin-sched.c | 101 ++++-- tools/perf/builtin-script.c | 34 +- tools/perf/builtin-stat.c | 98 +++--- tools/perf/builtin-timechart.c | 12 +- tools/perf/builtin-top.c | 10 +- tools/perf/builtin-trace.c | 281 ++++++++++++--- tools/perf/builtin.h | 1 + tools/perf/command-list.txt | 1 + tools/perf/config/Makefile | 293 +++++----------- tools/perf/config/Makefile.arch | 29 +- tools/perf/config/utilities.mak | 3 +- tools/perf/perf-completion.sh | 94 +++-- tools/perf/perf.c | 29 ++ tools/perf/perf.h | 5 +- tools/perf/scripts/Build | 2 + tools/perf/scripts/perl/Perf-Trace-Util/Build | 3 + tools/perf/scripts/python/Perf-Trace-Util/Build | 3 + tools/perf/tests/Build | 43 +++ tools/perf/tests/attr/base-record | 2 +- tools/perf/tests/attr/base-stat | 2 +- tools/perf/tests/builtin-test.c | 9 +- tools/perf/tests/dso-data.c | 22 +- tools/perf/tests/kmod-path.c | 73 ++++ tools/perf/tests/make | 2 +- tools/perf/tests/open-syscall-all-cpus.c | 7 +- tools/perf/tests/open-syscall.c | 7 +- tools/perf/tests/parse-events.c | 53 ++- tools/perf/tests/tests.h | 1 + tools/perf/ui/Build | 14 + tools/perf/ui/browsers/Build | 10 + tools/perf/ui/browsers/annotate.c | 8 +- tools/perf/ui/browsers/hists.c | 88 +++-- tools/perf/ui/gtk/Build | 9 + tools/perf/ui/tui/Build | 4 + tools/perf/util/Build | 145 ++++++++ tools/perf/util/annotate.c | 32 +- tools/perf/util/build-id.c | 209 ++++++++---- tools/perf/util/build-id.h | 8 +- tools/perf/util/cache.h | 1 + tools/perf/util/callchain.c | 8 + tools/perf/util/callchain.h | 1 + tools/perf/util/cloexec.c | 6 + tools/perf/util/cloexec.h | 6 + tools/perf/util/data-convert-bt.c | 857 ++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/util/data-convert-bt.h | 8 + tools/perf/util/db-export.c | 4 +- tools/perf/util/db-export.h | 3 +- tools/perf/util/debug.c | 2 + tools/perf/util/debug.h | 1 + tools/perf/util/dso.c | 159 +++++++-- tools/perf/util/dso.h | 49 ++- tools/perf/util/dwarf-aux.c | 29 +- tools/perf/util/dwarf-aux.h | 3 + tools/perf/util/event.c | 190 +++++++---- tools/perf/util/event.h | 1 - tools/perf/util/evlist.c | 49 ++- tools/perf/util/evlist.h | 14 +- tools/perf/util/evsel.c | 354 ++++++++++--------- tools/perf/util/evsel.h | 11 + tools/perf/util/header.c | 35 +- tools/perf/util/hist.c | 11 +- tools/perf/util/hist.h | 11 +- tools/perf/util/kvm-stat.h | 1 + tools/perf/util/lzma.c | 95 ++++++ tools/perf/util/machine.c | 332 +++++++++++------- tools/perf/util/machine.h | 2 +- tools/perf/util/map.c | 20 ++ tools/perf/util/map.h | 6 +- tools/perf/util/ordered-events.c | 65 ++-- tools/perf/util/ordered-events.h | 19 +- tools/perf/util/parse-events.c | 242 ++++++++----- tools/perf/util/parse-events.h | 13 +- tools/perf/util/parse-events.l | 2 +- tools/perf/util/parse-options.c | 32 +- tools/perf/util/parse-options.h | 2 + tools/perf/util/probe-event.c | 373 +++++++++++++++++--- tools/perf/util/probe-event.h | 6 +- tools/perf/util/probe-finder.c | 25 +- tools/perf/util/python-ext-sources | 1 - tools/perf/util/scripting-engines/Build | 6 + tools/perf/util/scripting-engines/trace-event-perl.c | 10 +- tools/perf/util/scripting-engines/trace-event-python.c | 21 +- tools/perf/util/session.c | 320 +++++++++-------- tools/perf/util/session.h | 18 +- tools/perf/util/setup.py | 2 +- tools/perf/util/sort.c | 9 + tools/perf/util/sort.h | 2 +- tools/perf/util/symbol-elf.c | 87 +++-- tools/perf/util/symbol-minimal.c | 7 +- tools/perf/util/symbol.c | 65 +++- tools/perf/util/symbol.h | 8 + tools/perf/util/target.c | 7 +- tools/perf/util/thread.c | 15 +- tools/perf/util/thread.h | 24 ++ tools/perf/util/tool.h | 8 +- tools/perf/util/trace-event-parse.c | 12 +- tools/perf/util/trace-event-scripting.c | 1 - tools/perf/util/trace-event.h | 6 +- tools/perf/util/unwind-libunwind.c | 8 +- tools/perf/util/util.c | 67 +++- tools/perf/util/util.h | 6 + 285 files changed, 13237 insertions(+), 2906 deletions(-) create mode 100644 arch/x86/kernel/cpu/intel_pt.h create mode 100644 arch/x86/kernel/cpu/perf_event_intel_bts.c create mode 100644 arch/x86/kernel/cpu/perf_event_intel_cqm.c create mode 100644 arch/x86/kernel/cpu/perf_event_intel_pt.c create mode 100644 kernel/trace/bpf_trace.c create mode 100644 samples/bpf/tracex1_kern.c create mode 100644 samples/bpf/tracex1_user.c create mode 100644 samples/bpf/tracex2_kern.c create mode 100644 samples/bpf/tracex2_user.c create mode 100644 samples/bpf/tracex3_kern.c create mode 100644 samples/bpf/tracex3_user.c create mode 100644 samples/bpf/tracex4_kern.c create mode 100644 samples/bpf/tracex4_user.c create mode 100644 tools/build/Build.include create mode 100644 tools/build/Documentation/Build.txt create mode 100644 tools/build/Makefile.build create mode 100644 tools/build/Makefile.feature rename tools/{perf/config/feature-checks => build/feature}/.gitignore (52%) rename tools/{perf/config/feature-checks => build/feature}/Makefile (72%) rename tools/{perf/config/feature-checks => build/feature}/test-all.c (87%) rename tools/{perf/config/feature-checks => build/feature}/test-backtrace.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-bionic.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-compile.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-cplus-demangle.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-dwarf.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-fortify-source.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-glibc.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-gtk2-infobar.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-gtk2.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-hello.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libaudit.c (100%) create mode 100644 tools/build/feature/test-libbabeltrace.c rename tools/{perf/config/feature-checks => build/feature}/test-libbfd.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libdw-dwarf-unwind.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libelf-getphdrnum.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libelf-mmap.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libelf.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libnuma.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libperl.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libpython-version.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libpython.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libslang.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libunwind-debug-frame.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-libunwind.c (100%) create mode 100644 tools/build/feature/test-lzma.c rename tools/{perf/config/feature-checks => build/feature}/test-pthread-attr-setaffinity-np.c (77%) rename tools/{perf/config/feature-checks => build/feature}/test-stackprotector-all.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-sync-compare-and-swap.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-timerfd.c (100%) rename tools/{perf/config/feature-checks => build/feature}/test-zlib.c (100%) create mode 100644 tools/build/tests/ex/Build create mode 100644 tools/build/tests/ex/Makefile create mode 100644 tools/build/tests/ex/a.c create mode 100644 tools/build/tests/ex/arch/Build create mode 100644 tools/build/tests/ex/arch/e.c create mode 100644 tools/build/tests/ex/arch/f.c create mode 100644 tools/build/tests/ex/b.c create mode 100644 tools/build/tests/ex/c.c create mode 100644 tools/build/tests/ex/d.c create mode 100644 tools/build/tests/ex/empty/Build create mode 100644 tools/build/tests/ex/ex.c create mode 100755 tools/build/tests/run.sh create mode 100644 tools/lib/api/Build create mode 100644 tools/lib/api/fd/Build create mode 100644 tools/lib/api/fs/Build create mode 100644 tools/lib/api/fs/findfs.c create mode 100644 tools/lib/api/fs/findfs.h create mode 100644 tools/lib/api/fs/tracefs.c create mode 100644 tools/lib/api/fs/tracefs.h create mode 100644 tools/lib/lockdep/Build create mode 100644 tools/lib/traceevent/Build create mode 100644 tools/perf/Build create mode 100644 tools/perf/Documentation/Build.txt create mode 100644 tools/perf/Documentation/perf-data.txt create mode 100644 tools/perf/arch/Build create mode 100644 tools/perf/arch/arm/Build create mode 100644 tools/perf/arch/arm/tests/Build create mode 100644 tools/perf/arch/arm/util/Build create mode 100644 tools/perf/arch/arm64/Build create mode 100644 tools/perf/arch/arm64/util/Build create mode 100644 tools/perf/arch/powerpc/Build create mode 100644 tools/perf/arch/powerpc/util/Build create mode 100644 tools/perf/arch/s390/Build create mode 100644 tools/perf/arch/s390/util/Build create mode 100644 tools/perf/arch/sh/Build create mode 100644 tools/perf/arch/sh/util/Build create mode 100644 tools/perf/arch/sparc/Build create mode 100644 tools/perf/arch/sparc/util/Build create mode 100644 tools/perf/arch/x86/Build create mode 100644 tools/perf/arch/x86/tests/Build create mode 100644 tools/perf/arch/x86/util/Build create mode 100644 tools/perf/bench/Build create mode 100644 tools/perf/builtin-data.c create mode 100644 tools/perf/scripts/Build create mode 100644 tools/perf/scripts/perl/Perf-Trace-Util/Build create mode 100644 tools/perf/scripts/python/Perf-Trace-Util/Build create mode 100644 tools/perf/tests/Build create mode 100644 tools/perf/tests/kmod-path.c create mode 100644 tools/perf/ui/Build create mode 100644 tools/perf/ui/browsers/Build create mode 100644 tools/perf/ui/gtk/Build create mode 100644 tools/perf/ui/tui/Build create mode 100644 tools/perf/util/Build create mode 100644 tools/perf/util/data-convert-bt.c create mode 100644 tools/perf/util/data-convert-bt.h create mode 100644 tools/perf/util/lzma.c create mode 100644 tools/perf/util/scripting-engines/Build -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/