[RFC PATCH v2 09/26] perf bpf: Implement empty instruction handler and build bpf-vm

2016-06-26 Thread He Kuang
oo much kernel structures and headers. CFLAGS are modified for supressing warnings of the existing bpf code. Signed-off-by: Wang Nan Signed-off-by: He Kuang --- tools/perf/util/Build| 2 ++ tools/perf/util/bpf-vm.c | 34 ++ tools/perf/util/bpf-vm.h | 7 +++

[RFC PATCH v2 20/26] perf bpf: Accept uBPF programs

2016-06-26 Thread He Kuang
= "Hello! receive %d samples\n"; ubpf_printf(fmt, *samples); } Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Alexei Starovoitov Cc: Brendan Gregg Cc: Jiri Olsa Cc: Li Zefan Signed-off-by: He Kuang --- tools/perf/util/bpf-loader.c | 22 ++ 1 file c

[RFC PATCH v2 07/26] perf bpf: Add map related BPF helper

2016-06-26 Thread He Kuang
: Brendan Gregg Cc: Jiri Olsa Cc: Li Zefan Signed-off-by: He Kuang --- tools/lib/bpf/bpf.c | 24 tools/lib/bpf/bpf.h | 2 ++ 2 files changed, 26 insertions(+) diff --git a/tools/lib/bpf/bpf.c b/tools/lib/bpf/bpf.c index 1f91cc9..337d9dc 100644 --- a/tools/lib/bpf/bpf.c

[RFC PATCH v2 11/26] perf bpf: Store arbitrary entries instread fd array in bpf_program

2016-06-26 Thread He Kuang
The bpf progs loaded into kernel are represented by fd, but we need new types for storing the entity of userspace bpf progs. This patch uses a void pointer to make it more generic so we can store any new types and cast back to its original type when used. Signed-off-by: He Kuang Signed-off-by

[RFC PATCH v2 06/26] tools include: Add (atomic|atomic64)_add implementation from the kernel sources

2016-06-26 Thread He Kuang
Uses the arch/x86/ kernel code for x86_64/i386, fallbacking to a gcc intrinsics implementation. Signed-off-by: He Kuang Signed-off-by: Wang Nan --- tools/arch/x86/include/asm/atomic.h| 28 tools/include/asm-generic/atomic-gcc.h | 10 ++ tools/include

[RFC PATCH v2 26/26] perf tests: Add uBPF test case

2016-06-26 Thread He Kuang
From: Wang Nan Introduce a BPF script use uBPF, test compiling, helper and hook. Validate passing information through helper and hooks. Signed-off-by: Wang Nan Signed-off-by: He Kuang --- tools/perf/tests/Build | 8 +++ tools/perf/tests/bpf-script-test-ubpf.c | 88

[RFC PATCH v2 23/26] perf record: Add uBPF hooks at beginning and end of perf record

2016-06-26 Thread He Kuang
Like tracepoint in kernel code, uBPF hooks can be added in perf code and trigger uBPF programs passed by BPF scripts. The first two uBPF hooks added are record start/end. uBPF scripts can initial BPF maps in record start, and report result when record finished. Signed-off-by: He Kuang Signed-off

[RFC PATCH v2 14/26] perf bpf: Add -Wextra to cflags for more warnings and fix them

2016-06-26 Thread He Kuang
Since -Wextra is used in perf tools, this patch adopts this cflags into lib/bpf. It also fixes 'comparison between signed and unsigned integer' errors reported afterward. Signed-off-by: He Kuang --- tools/lib/bpf/Makefile | 2 +- tools/lib/bpf/libbpf.c | 7 --- 2 files changed, 5

[RFC PATCH v2 16/26] perf bpf: Add method for fetching nth ubpf vm

2016-06-26 Thread He Kuang
Same as bpf_program__fd() and bpf_program__nth_fd(), add methods for fetching the nth ubpf entry. Signed-off-by: He Kuang Signed-off-by: Wang Nan --- tools/lib/bpf/libbpf.c | 14 ++ tools/lib/bpf/libbpf.h | 1 + 2 files changed, 15 insertions(+) diff --git a/tools/lib/bpf

[RFC PATCH v2 18/26] perf bpf: Add ubpf helper function slots and set/get methods

2016-06-26 Thread He Kuang
slots. Signed-off-by: Wang Nan Signed-off-by: He Kuang --- tools/lib/bpf/engine-ubpf.c | 25 + tools/lib/bpf/libbpf.h | 16 2 files changed, 41 insertions(+) diff --git a/tools/lib/bpf/engine-ubpf.c b/tools/lib/bpf/engine-ubpf.c index 9a0b425..e63a267

[RFC PATCH v2 15/26] perf bpf: Introduce the entity and engine for userspace bpf

2016-06-26 Thread He Kuang
ned-off-by: He Kuang Signed-off-by: Wang Nan --- tools/lib/bpf/Build | 1 + tools/lib/bpf/engine-ubpf.c | 97 + tools/lib/bpf/libbpf.c | 1 + tools/lib/bpf/libbpf.h | 6 +++ 4 files changed, 105 insertions(+) create mode 100644 too

[RFC PATCH v2 22/26] perf bpf: Implement boundary check code in ubpf

2016-06-26 Thread He Kuang
Make sure that ubpf load/store instructions only access the context and stack region. Signed-off-by: He Kuang --- tools/perf/util/bpf-vm.c | 35 +++ tools/perf/util/bpf-vm.h | 3 ++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/tools/perf/util

[RFC PATCH v2 08/26] perf bpf: Add UBPF flags and makefile options

2016-06-26 Thread He Kuang
From: Wang Nan UBPF are not built by default, unless user explicitly build perf with UBPF defined. Signed-off-by: Wang Nan Signed-off-by: He Kuang --- tools/lib/bpf/Makefile | 4 tools/perf/Makefile.perf | 2 ++ tools/perf/config/Makefile | 4 3 files changed, 10 insertions

[RFC PATCH v2 19/26] perf tools: Register basic uBPF helpers

2016-06-26 Thread He Kuang
From: Wang Nan Reigster basic extern functions for uBPF programs. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Alexei Starovoitov Cc: Brendan Gregg Cc: Jiri Olsa Cc: Li Zefan Signed-off-by: He Kuang --- tools/perf/perf.c | 3 ++ tools/perf/util/Build

[RFC PATCH v2 24/26] perf bpf: Fillup bpf jmp_call handler

2016-06-26 Thread He Kuang
Let ubpf invoke function calls. The function index is stored in insns->imm, use it to fetch the corresponding functions in libbpf and make the function call. Signed-off-by: He Kuang --- tools/perf/util/bpf-vm.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deleti

[RFC PATCH v2 21/26] bpf: Support bpf load/store boundary check for ubpf

2016-06-26 Thread He Kuang
A boundary check is added before each store/load instruction, since we don't have a verifier in userspace bpf. There's no functionality change without UBPF_BUILD flag. Signed-off-by: He Kuang --- kernel/bpf/vm.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) di

[RFC PATCH v2 25/26] perf bpf: Implement run_ubpf_program

2016-06-26 Thread He Kuang
Fill up the run_ubpf_program slot by fetching the ubpf entry and call __bpf_prog_run(). Signed-off-by: He Kuang Signed-off-by: Wang Nan --- tools/perf/util/ubpf-hooks.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/ubpf-hooks.c b/tools

[RFC PATCH v2 13/26] perf bpf: Add abstraction for bpf program methods

2016-06-26 Thread He Kuang
Supporting different bpf program types loaded into kernel and userspace, this patch abstracts the operations to related to bpf program into bpf_engine. The methods set for bpf loaded into kernel are included in engine-kbpf.c, which is used as the default value. Signed-off-by: He Kuang Signed-off

[RFC PATCH v2 17/26] perf bpf: Add methods to set/check ubpf engine for bpf programs

2016-06-26 Thread He Kuang
Add methods to set ubpf engine for a bpf program and to check whether a program's engine is ubpf. Signed-off-by: He Kuang Signed-off-by: Wang Nan --- tools/lib/bpf/engine-ubpf.c | 12 tools/lib/bpf/libbpf.h | 17 + 2 files changed, 29 insertions(+) diff

[RFC PATCH v2 12/26] perf bpf: Add libbpf-internal.h header file

2016-06-26 Thread He Kuang
Split part of codes in libbpf.c out for internal usage, debug print functions are changed to non-static for other files to use. Signed-off-by: He Kuang --- tools/lib/bpf/libbpf-internal.h | 65 +++ tools/lib/bpf/libbpf.c | 68

[RFC PATCH v2 10/26] perf bpf: Remove unused code in libbpf

2016-06-26 Thread He Kuang
Clean up unnecessary assignments to local variable 'result.pfd', and remove 'pfd' field in 'struct bpf_prog_prep_result' since no one else uses it. Signed-off-by: He Kuang --- tools/lib/bpf/libbpf.c | 4 tools/lib/bpf/libbpf.h | 3 --- tools/p

[RFC PATCH v2 05/26] tools include: Sync math64.h and div64.h

2016-06-26 Thread He Kuang
/MANIFEST is also updated for 'make perf-*-src-pkg'. Signed-off-by: Wang Nan Signed-off-by: He Kuang --- tools/include/asm-generic/div64.h | 234 tools/include/linux/math64.h | 247 ++ tools/perf/MA

[RFC PATCH v2 00/26] perf tools: Support uBPF script

2016-06-26 Thread He Kuang
t samples) +struct perf_record_end_ctx { + int samples; + int dummy; +}; +int perf_record_end(struct perf_record_end_ctx *ctx) And the argument 'samples' should be referenced as 'ctx->samples'. Thank you. He Kuang (17): bpf: extract jmp and default handler and introduce

[RFC PATCH v2 03/26] bpf: split __bpf_prog_run code into new file

2016-06-26 Thread He Kuang
From: Wang Nan Split out function __bpf_prog_run() and related macros from bpf/core.c into bpf/vm.c. Signed-off-by: Wang Nan Signed-off-by: He Kuang --- include/linux/filter.h | 1 + kernel/bpf/Makefile| 2 +- kernel/bpf/core.c | 487

[RFC PATCH v2 02/26] tools include: Fix wrong macro definitions for cpu_to_le* for big endian

2016-06-26 Thread He Kuang
From: Wang Nan The cpu_to_le* macros in kernel.h are defined without considering endianese. This patch includes "byteoder/generic.h" instead to fix the bug, and removes redundant definitions of those macros in intel-bts.c and intel-pt-pkt-decoder.c. Signed-off-by: Wang Nan Signed-

[RFC PATCH v2 04/26] bpf: extract jmp and default handler and introduce UBPF_BUILD flag

2016-06-26 Thread He Kuang
This patch is a preparation for compiling bpf vm into external libraries. Parts of the instruction handlers are wrapped into macros or functions so that userspace libraries can override them. There's no functionality change without UBPF_BUILD flag. Signed-off-by: He Kuang Signed-off-by: Wan

[RFC PATCH v2 01/26] tools include: Adopt byte ordering macros from byteorder/generic.h

2016-06-26 Thread He Kuang
From: Wang Nan This patch adopts the macros for byte order conversion from "include/linux/byteorder/generic.h" to "tools/include/linux/byteorder/generic.h" tools/perf/MANIFEST is also updated for 'make perf-*-src-pkg'. Signed-off-by: Wang Nan Signed-off-by: He K

[PATCH] dcache.c: Replace smp_read_barrier_depends() with lockless_dereference()

2016-03-26 Thread He Kuang
lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: He Kuang --- fs/dcache.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index 32ceae3

[PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread He Kuang
found at the following URL: "http://thread.gmane.org/gmane.linux.kernel/2167918"; This patch pushes watchpoint status and disables single step if it is triggered in irq handler and restores them back after irq is handled. Signed-off-by: Wang Nan Signed-off-by: He Kuang --- arch/arm

[PATCH 1/2] arm64: Store breakpoint single step state into pstate

2016-03-21 Thread He Kuang
From: Wang Nan Store breakpoint single step state into pstate to fix the recursion issue on ARM64. Signed-off-by: Kaixu Xia Signed-off-by: Hanjun Guo --- arch/arm64/include/asm/debug-monitors.h | 9 ++ arch/arm64/include/uapi/asm/ptrace.h| 10 +++ arch/arm64/kernel/hw_breakpoint.

[PATCH v3 3/4] perf tools: Adds the tracepoint name parsing support

2015-09-27 Thread He Kuang
Adds rules for parsing tracepoint names. Change rules of tracepoint which derives of PE_NAMEs into tracepoint names directly, so adding more rules based on tracepoint names will be easier. Signed-off-by: He Kuang --- Changes v2-v3: - Change __event_legacy_tracepoint label in bison file to

[PATCH v3 1/4] perf tools: Adds the config_term callback for different type events

2015-09-27 Thread He Kuang
we can use separate check routines for each type of events. Signed-off-by: He Kuang --- tools/perf/util/parse-events.c | 38 ++ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c

[PATCH v3 4/4] perf tools: Enable event_config terms to tracepoint events

2015-09-27 Thread He Kuang
% dd [unknown] [.] 0x34202c7320393039 Signed-off-by: He Kuang --- Changes v2-v3: - Join improper wrap line. --- tools/perf/util/parse-events.c | 84 +- tools/perf/util/parse-events.h | 3 +- tools/perf/util/parse-events.y | 26 ++

[PATCH v3 2/4] perf tools: Prompt proper error message for wrong terms of hw/sw events

2015-09-27 Thread He Kuang
me,period,freq,branch_type,time,call-graph,stack-size Run 'perf list' for a list of valid events usage: perf record [] [] or: perf record [] -- [] -e, --eventevent selector. use 'perf list' to list available events Signed-off-by: He Kuang --- Change

Re: [tip:perf/core] tools: Add err.h with ERR_PTR PTR_ERR interface

2015-09-29 Thread He Kuang
I'll send out fix shortly and here it is.. He Kuang, this might collide with your recent fixes.. Do I need to send new ones based on your patch below now? jirka --- The error variable breaks build on CentOS 6.7, due to collision with global error symbol: CC util/parse-

[PATCH 2/2] perf tools: Enable event_config terms to tracepoint events

2015-09-24 Thread He Kuang
% dd [unknown] [.] 0x34202c7320393039 Signed-off-by: He Kuang --- tools/perf/util/parse-events.c | 89 -- tools/perf/util/parse-events.h | 3 +- tools/perf/util/parse-events.y | 46 +- 3 files changed, 107 inserti

[PATCH 1/2] perf tools: Prompt error message for wrong terms of hw/sw events

2015-09-24 Thread He Kuang
config,config1,config2,name,period,freq,branch_type,time,call-graph,stack-size Run 'perf list' for a list of valid events usage: perf record [] [] or: perf record [] -- [] -e, --eventevent selector. use 'perf list' to list available events Signe

[PATCH v2 1/4] perf tools: Adds the config_term callback for different type events

2015-09-25 Thread He Kuang
we can use separate check routines for each type of events. Signed-off-by: He Kuang --- tools/perf/util/parse-events.c | 34 -- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index

[PATCH v2 2/4] perf tools: Prompt error message for wrong terms of hw/sw events

2015-09-25 Thread He Kuang
ig1,config2,name,period,freq,branch_type,time,call-graph,stack-size Run 'perf list' for a list of valid events usage: perf record [] [] or: perf record [] -- [] -e, --eventevent selector. use 'perf list' to list available events Signe

[PATCH v2 4/4] perf tools: Enable event_config terms to tracepoint events

2015-09-25 Thread He Kuang
% dd [unknown] [.] 0x34202c7320393039 Signed-off-by: He Kuang --- tools/perf/util/parse-events.c | 89 -- tools/perf/util/parse-events.h | 3 +- tools/perf/util/parse-events.y | 26 ++-- 3 files changed, 93 insertions(+), 25 deleti

[PATCH v2 3/4] perf tools: Adds the tracepoint name parsing support

2015-09-25 Thread He Kuang
Adds rules for parsing tracepoint names. Change rules of tracepoint which derives of PE_NAMEs into tracepoint names directly, so adding more rules based on tracepoint names will be easier. Signed-off-by: He Kuang --- tools/perf/util/parse-events.y | 38 +++--- 1

[PATCH] bpf: Put perf_events check ahead of bpf prog

2015-06-26 Thread He Kuang
k count=3 $ cat /sys/kernel/debug/tracing/trace dd-994 [000] d...46.386754: : generic_perform_write: tgid=994, pid=994 dd-994 [000] d...46.389167: : generic_perform_write: tgid=994, pid=994 dd-994 [000] d...46.389551: : generic_perform_write: tgid=994, pid=994

[RFC PATCH v3 1/2] tracing: Add new trace type for bpf data output

2015-07-07 Thread He Kuang
attributes can be adjusted to those events directly without touching the original kprobe events. Signed-off-by: He Kuang --- kernel/trace/trace.h | 1 + kernel/trace/trace_entries.h | 18 ++ 2 files changed, 19 insertions(+) diff --git a/kernel/trace/trace.h b/kernel/trace

[RFC PATCH v3 2/2] bpf: Introduce function for outputing data to perf event

2015-07-07 Thread He Kuang
cords. Signed-off-by: He Kuang --- include/uapi/linux/bpf.h | 3 +++ kernel/trace/bpf_trace.c | 43 +++ kernel/trace/trace.h | 5 + samples/bpf/bpf_helpers.h | 2 ++ 4 files changed, 53 insertions(+) diff --git a/include/uapi/linux/bpf.h b/include

[RFC PATCH v3 0/2] Make eBPF programs output data to perf event

2015-07-07 Thread He Kuang
166.686779: ftrace:bpf: 8: (0542b426, ...) dd 994 [000] 166.686779: ftrace:bpf: 8: (001011ef, ...) dd 994 [000] 166.686779: ftrace:bpf: 8: (0007a2b6, ...) Thank you. He Kuang (2): tracing: Add new trace type for bpf data output bpf: Introduce funct

[RFC PATCH v5 0/3] Make eBPF programs output data to perf

2015-07-13 Thread He Kuang
01 00 00 1b bd 41 04 00 00 00 00 Users can interpret their own formats and get the result: last=0x12dc6aaca7a, cur=0x12dcaec8795, del=0x441bd1b v3-v4: - Change u64 array in trace event to u8. - Remove misleading 'perf event' in subject. Thank you. He Kuang (3): tracing/events:

[RFC PATCH v5 1/3] tracing/events: Fix wrong sample output by storing array length instead of size

2015-07-13 Thread He Kuang
{0x1,0x2} Gandalf (,) ^ Array length fixed. Signed-off-by: He Kuang --- include/trace/trace_events.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/trace/trace_events.h b/include/trace/trace

[RFC PATCH v5 3/3] bpf: Introduce function for outputing trace event data

2015-07-13 Thread He Kuang
ility to output data as perf sample event. This helper simple call the new trace event and userspace perf tools can record the BPF ftrace event to collect those records. Signed-off-by: He Kuang --- include/trace/events/bpf.h | 30 ++ include/uapi/linux/bpf.h

[RFC PATCH v5 2/3] tools lib traceevent: Add function to get dynamic arrays length

2015-07-13 Thread He Kuang
PRINT_DYNAMIC_ARRAY_LEN which returns the array length embedded in the __data_loc_##item field to eval_num_arg(). Signed-off-by: He Kuang --- tools/lib/traceevent/event-parse.c | 52 ++ tools/lib/traceevent/event-parse.h | 1 + .../util

Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-14 Thread He Kuang
Hi, Alexei On 2015/7/14 9:43, Alexei Starovoitov wrote: On 7/13/15 7:29 AM, pi3orama wrote: I was thinking about providing custom event formats for each bpf >>>program (if needed). The event format definitions might be in a >>>specific directory or a bpf object itself. Then perf can read thos

[RFC PATCH v4 0/3] Make eBPF programs output data to perf event

2015-07-10 Thread He Kuang
84 [000]60.657552: bpf:bpf_output_data: 60654629075 60657510709 2881634 dd 984 [000]60.657898: bpf:bpf_output_data: 60657510709 60657829953 319244 Thank you. He Kuang (3): tracing/events: Fix wrong sample output by storing array length instead of size tools lib trac

[RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-10 Thread He Kuang
ility to output data as perf sample event. This helper simple call the new trace event and userspace perf tools can record the BPF ftrace event to collect those records. Signed-off-by: He Kuang --- include/trace/events/bpf.h | 30 ++ include/uapi/linux/bpf.h

[RFC PATCH v4 2/3] tools lib traceevent: Add function to get dynamic arrays length

2015-07-10 Thread He Kuang
PRINT_DYNAMIC_ARRAY_LEN which returns the array length embedded in the __data_loc_##item field to eval_num_arg(). Signed-off-by: He Kuang --- tools/lib/traceevent/event-parse.c | 52 ++ tools/lib/traceevent/event-parse.h | 1 + .../util

[RFC PATCH v4 1/3] tracing/events: Fix wrong sample output by storing array length instead of size

2015-07-10 Thread He Kuang
{0x1,0x2} Gandalf (,) ^ Array length fixed. Signed-off-by: He Kuang --- include/trace/trace_events.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/trace/trace_events.h b/include/trace/trace

Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-12 Thread He Kuang
hi, Alexei On 2015/7/11 6:10, Alexei Starovoitov wrote: On 7/10/15 3:03 AM, He Kuang wrote: There're scenarios that we need an eBPF program to record not only kprobe point args, but also the PMU counters, time latencies or the number of cache misses between two probe points and

[PATCH] perf symbols: Fix wrong symbol offset according to p_addr

2016-01-06 Thread He Kuang
nger3runEv (/system/lib64/libsurfaceflinger.so) 11a0 main (/system/bin/surfaceflinger) 1c3fc __libc_init (/system/lib64/libc.so) fd0 _start (/system/bin/surfaceflinger) 29ec __dl__start (/system/bin/linker64) Signed-

[tip:perf/core] tools lib traceevent: Support function __get_dynamic_array_len

2015-09-08 Thread tip-bot for He Kuang
Commit-ID: 76055940c1afc8d445992fb0278b80cf205bbf97 Gitweb: http://git.kernel.org/tip/76055940c1afc8d445992fb0278b80cf205bbf97 Author: He Kuang AuthorDate: Sat, 29 Aug 2015 04:22:05 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 2 Sep 2015 16:30:46 -0300 tools lib

[tip:perf/core] perf tools: Copy linux/filter.h to tools/include

2015-09-08 Thread tip-bot for He Kuang
Commit-ID: dabf626f7f0e5cbef0d1cfb5143e40213f079bb8 Gitweb: http://git.kernel.org/tip/dabf626f7f0e5cbef0d1cfb5143e40213f079bb8 Author: He Kuang AuthorDate: Sat, 29 Aug 2015 04:21:55 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 2 Sep 2015 16:30:46 -0300 perf tools: Copy

[tip:perf/core] perf probe: Fix failure to add multiple probes without debuginfo

2015-03-22 Thread tip-bot for He Kuang
Commit-ID: 0560a0c4a12a45def9700e7ec3215da102cf914b Gitweb: http://git.kernel.org/tip/0560a0c4a12a45def9700e7ec3215da102cf914b Author: He Kuang AuthorDate: Fri, 20 Mar 2015 09:56:56 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Sat, 21 Mar 2015 14:53:21 -0300 perf probe: Fix

[tip:perf/urgent] perf probe: Fix segfault when probe with lazy_line to file

2015-04-14 Thread tip-bot for He Kuang
Commit-ID: f19e80c640d58ddfd70f2454ee597f81ba966690 Gitweb: http://git.kernel.org/tip/f19e80c640d58ddfd70f2454ee597f81ba966690 Author: He Kuang AuthorDate: Mon, 13 Apr 2015 19:41:30 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Apr 2015 20:12:21 -0300 perf probe: Fix

[tip:perf/urgent] perf probe: Set retprobe flag when probe in address-based alternative mode

2015-04-14 Thread tip-bot for He Kuang
Commit-ID: 9d7b45c5721dfd524666bc1f07cf7d0855edb4d5 Gitweb: http://git.kernel.org/tip/9d7b45c5721dfd524666bc1f07cf7d0855edb4d5 Author: He Kuang AuthorDate: Mon, 13 Apr 2015 19:41:28 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13 Apr 2015 17:25:22 -0300 perf probe: Set

[tip:perf/core] perf evlist: Fix inverted logic in perf_mmap__empty

2015-04-08 Thread tip-bot for He Kuang
Commit-ID: 8ea92ceb748535799e3e9f35afb85bdc23bf6d7c Gitweb: http://git.kernel.org/tip/8ea92ceb748535799e3e9f35afb85bdc23bf6d7c Author: He Kuang AuthorDate: Tue, 7 Apr 2015 17:31:10 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 8 Apr 2015 09:06:58 -0300 perf evlist: Fix

[tip:perf/core] perf buildid-list: Fix segfault when show DSOs with hits

2015-04-10 Thread tip-bot for He Kuang
Commit-ID: 5e78c69b72276853ac64070a010e6df64723dba9 Gitweb: http://git.kernel.org/tip/5e78c69b72276853ac64070a010e6df64723dba9 Author: He Kuang AuthorDate: Fri, 10 Apr 2015 17:35:00 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 10 Apr 2015 10:13:59 -0300 perf buildid-list

[tip:perf/core] perf tools: Fix build failure on 32-bit arch

2015-06-12 Thread tip-bot for He Kuang
Commit-ID: 6ba29c2fa5adcc33b201faec99057b6a72bd5029 Gitweb: http://git.kernel.org/tip/6ba29c2fa5adcc33b201faec99057b6a72bd5029 Author: He Kuang AuthorDate: Thu, 11 Jun 2015 12:44:24 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 11 Jun 2015 11:14:21 -0300 perf tools: Fix

[tip:perf/core] perf probe: Fix failure to probe events on arm

2015-06-25 Thread tip-bot for He Kuang
Commit-ID: 7c31bb8c95ed269062ff7c7cc4a28b84a2b0f3a6 Gitweb: http://git.kernel.org/tip/7c31bb8c95ed269062ff7c7cc4a28b84a2b0f3a6 Author: He Kuang AuthorDate: Thu, 18 Jun 2015 02:49:10 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 23 Jun 2015 18:21:44 -0300 perf probe: Fix

[tip:perf/core] tools lib traceevent: Export dynamic symbols used by traceevent plugins

2015-06-09 Thread tip-bot for He Kuang
Commit-ID: e3d09ec8126fe2c9a3ade661e2126e215ca27a80 Gitweb: http://git.kernel.org/tip/e3d09ec8126fe2c9a3ade661e2126e215ca27a80 Author: He Kuang AuthorDate: Thu, 28 May 2015 13:28:54 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jun 2015 10:30:31 -0300 tools lib

[tip:perf/core] perf record: Fix perf.data size in no-buildid mode

2015-06-09 Thread tip-bot for He Kuang
Commit-ID: 457ae94ae047330e75c13f28ead6de31eab245ed Gitweb: http://git.kernel.org/tip/457ae94ae047330e75c13f28ead6de31eab245ed Author: He Kuang AuthorDate: Thu, 28 May 2015 13:17:30 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jun 2015 10:30:32 -0300 perf record: Fix

[tip:perf/core] tools lib traceevent: Ignore libtrace-dynamic-list file

2015-06-09 Thread tip-bot for He Kuang
Commit-ID: 38e096249b4fca1a26ca8908ea2018a5faf366e2 Gitweb: http://git.kernel.org/tip/38e096249b4fca1a26ca8908ea2018a5faf366e2 Author: He Kuang AuthorDate: Thu, 28 May 2015 13:28:55 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Jun 2015 10:30:32 -0300 tools lib

[tip:perf/core] perf report: Don't shadow inlined symbol with different addr range

2019-02-27 Thread tip-bot for He Kuang
Commit-ID: 7346195e8643482968f547483e0d823ec1982fab Gitweb: https://git.kernel.org/tip/7346195e8643482968f547483e0d823ec1982fab Author: He Kuang AuthorDate: Tue, 19 Feb 2019 21:05:31 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Feb 2019 12:30:12 -0300 perf report

[tip:perf/core] perf callchain: Recording 'dwarf' callchains do not need DWARF unwinding support

2016-05-10 Thread tip-bot for He Kuang
Commit-ID: 841e3558b2de6d8c53dae4f01c7a81cd53e42e5c Gitweb: http://git.kernel.org/tip/841e3558b2de6d8c53dae4f01c7a81cd53e42e5c Author: He Kuang AuthorDate: Fri, 6 May 2016 08:59:07 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 9 May 2016 13:29:36 -0300 perf callchain

[tip:perf/core] perf build: Add build-test for libunwind cross-platforms support

2016-05-12 Thread tip-bot for He Kuang
Commit-ID: b1d96ca12508c25776f1fd375ee81578ae1f Gitweb: http://git.kernel.org/tip/b1d96ca12508c25776f1fd375ee81578ae1f Author: He Kuang AuthorDate: Tue, 10 May 2016 07:40:31 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 May 2016 12:24:58 -0300 perf build: Add

[tip:perf/core] perf build: Add build-test for debug-frame on arm/arm64

2016-05-12 Thread tip-bot for He Kuang
Commit-ID: f9be7eefcce9de7323c922bea6b45183eb9ef5f0 Gitweb: http://git.kernel.org/tip/f9be7eefcce9de7323c922bea6b45183eb9ef5f0 Author: He Kuang AuthorDate: Tue, 10 May 2016 07:40:32 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 11 May 2016 12:24:58 -0300 perf build: Add

[tip:perf/urgent] perf tools: Set buildid dir under symfs when --symfs is provided

2016-05-20 Thread tip-bot for He Kuang
Commit-ID: a706670900073d236938d539d1109338d64b47bb Gitweb: http://git.kernel.org/tip/a706670900073d236938d539d1109338d64b47bb Author: He Kuang AuthorDate: Thu, 19 May 2016 11:47:37 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 20 May 2016 11:43:58 -0300 perf tools: Set

[tip:perf/urgent] perf symbols: Store vdso buildid unconditionally

2016-05-19 Thread tip-bot for He Kuang
Commit-ID: 6ae98ba611ed1c11ddc5645475bc03b46a3c04e7 Gitweb: http://git.kernel.org/tip/6ae98ba611ed1c11ddc5645475bc03b46a3c04e7 Author: He Kuang AuthorDate: Thu, 12 May 2016 08:43:11 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 16 May 2016 23:11:45 -0300 perf symbols

[tip:perf/core] perf record: Support custom vmlinux path

2015-12-18 Thread tip-bot for He Kuang
Commit-ID: 7efe0e034c713716060bc7794c7e332589980c70 Gitweb: http://git.kernel.org/tip/7efe0e034c713716060bc7794c7e332589980c70 Author: He Kuang AuthorDate: Mon, 14 Dec 2015 10:39:23 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 14 Dec 2015 13:04:12 -0300 perf record

[tip:perf/core] bpf tools: Add helper function for updating bpf maps elements

2015-11-26 Thread tip-bot for He Kuang
Commit-ID: 43798bf37215fe242e592fd4605d804e2da0781b Gitweb: http://git.kernel.org/tip/43798bf37215fe242e592fd4605d804e2da0781b Author: He Kuang AuthorDate: Tue, 24 Nov 2015 13:36:08 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 26 Nov 2015 17:21:24 -0300 bpf tools: Add

[tip:perf/core] perf probe: Remove length limitation for showing available variables

2015-05-14 Thread tip-bot for He Kuang
Commit-ID: fb9596d1731cc37da6489de439f8b876f3a12db2 Gitweb: http://git.kernel.org/tip/fb9596d1731cc37da6489de439f8b876f3a12db2 Author: He Kuang AuthorDate: Mon, 11 May 2015 09:25:02 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 12 May 2015 09:59:49 -0300 perf probe

[tip:perf/core] perf trace: Removed duplicated NULL test

2015-05-14 Thread tip-bot for He Kuang
Commit-ID: ff8f695c0ec9d73d8a9f92fe634d6476ad74e3a1 Gitweb: http://git.kernel.org/tip/ff8f695c0ec9d73d8a9f92fe634d6476ad74e3a1 Author: He Kuang AuthorDate: Mon, 11 May 2015 12:28:36 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 12 May 2015 09:59:49 -0300 perf trace

[tip:perf/core] perf probe: Show better error message when failed to find variable

2015-05-14 Thread tip-bot for He Kuang
Commit-ID: 7d5eaba9b33682b734e3a79c21c4a9a5f91624b1 Gitweb: http://git.kernel.org/tip/7d5eaba9b33682b734e3a79c21c4a9a5f91624b1 Author: He Kuang AuthorDate: Mon, 11 May 2015 09:25:04 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 12 May 2015 09:59:50 -0300 perf probe: Show

[tip:perf/core] perf probe: Add --range option to show a variable 's location range

2015-05-14 Thread tip-bot for He Kuang
Commit-ID: 349e8d2611316cce11c0b9d0830ebb585c9b82b8 Gitweb: http://git.kernel.org/tip/349e8d2611316cce11c0b9d0830ebb585c9b82b8 Author: He Kuang AuthorDate: Mon, 11 May 2015 09:25:03 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 12 May 2015 09:59:50 -0300 perf probe: Add

[tip:perf/core] perf tests: Fix to get negative exit codes

2015-05-14 Thread tip-bot for He Kuang
Commit-ID: 189c466f77d421aef5c196454ab2e9517af7abc9 Gitweb: http://git.kernel.org/tip/189c466f77d421aef5c196454ab2e9517af7abc9 Author: He Kuang AuthorDate: Mon, 11 May 2015 12:28:35 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 12 May 2015 09:59:50 -0300 perf tests: Fix

[tip:perf/core] perf data: Show error message when conversion failed

2015-05-05 Thread tip-bot for He Kuang
Commit-ID: c21410554ee1a8e12fbc99f578d720b641cd1c74 Gitweb: http://git.kernel.org/tip/c21410554ee1a8e12fbc99f578d720b641cd1c74 Author: He Kuang AuthorDate: Sat, 18 Apr 2015 17:50:14 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 29 Apr 2015 10:37:45 -0300 perf data: Show

[tip:perf/urgent] perf probe: Fix bug with global variables handling

2015-05-01 Thread tip-bot for He Kuang
Commit-ID: d13855ef18e1852b2c4dc86ddf5759c5b34628cb Gitweb: http://git.kernel.org/tip/d13855ef18e1852b2c4dc86ddf5759c5b34628cb Author: He Kuang AuthorDate: Sat, 25 Apr 2015 16:08:58 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 27 Apr 2015 13:57:29 -0300 perf probe: Fix

[tip:perf/core] perf probe: Fix possible double free on error

2015-03-14 Thread tip-bot for He Kuang
Commit-ID: a78604defffbc1da1497a8c8b48275b723eb5946 Gitweb: http://git.kernel.org/tip/a78604defffbc1da1497a8c8b48275b723eb5946 Author: He Kuang AuthorDate: Wed, 4 Mar 2015 18:01:42 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 12 Mar 2015 12:39:58 -0300 perf probe: Fix

[tip:perf/core] perf hists browser: Fix UI bug after zoom into thread/dso/symbol

2015-03-14 Thread tip-bot for He Kuang
Commit-ID: a8cd1f4393032cd87e98803346865cdbceb15ad3 Gitweb: http://git.kernel.org/tip/a8cd1f4393032cd87e98803346865cdbceb15ad3 Author: He Kuang AuthorDate: Wed, 11 Mar 2015 20:36:03 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 12 Mar 2015 12:39:59 -0300 perf hists

[tip:perf/core] perf hists browser: Fix UI bug after fold/unfold

2015-03-14 Thread tip-bot for He Kuang
Commit-ID: 4fabf3d19cec11d9faa567f8cf0290298c5a93ea Gitweb: http://git.kernel.org/tip/4fabf3d19cec11d9faa567f8cf0290298c5a93ea Author: He Kuang AuthorDate: Thu, 12 Mar 2015 15:21:49 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 12 Mar 2015 13:18:38 -0300 perf hists

[tip:perf/core] perf probe: Fix a precedence bug

2015-02-28 Thread tip-bot for He Kuang
Commit-ID: f56847c2e99810781f6941d01baff9ae223eeac3 Gitweb: http://git.kernel.org/tip/f56847c2e99810781f6941d01baff9ae223eeac3 Author: He Kuang AuthorDate: Fri, 27 Feb 2015 18:52:53 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Feb 2015 10:31:09 -0300 perf probe: Fix a

[tip:perf/core] perf report: Fix branch stack mode cannot be set

2015-02-28 Thread tip-bot for He Kuang
Commit-ID: fefd2d9619de3bf0bf02a8622e9f445c3d19cc3f Gitweb: http://git.kernel.org/tip/fefd2d9619de3bf0bf02a8622e9f445c3d19cc3f Author: He Kuang AuthorDate: Sun, 15 Feb 2015 10:33:37 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 27 Feb 2015 15:52:42 -0300 perf report: Fix

[tip:perf/core] perf bpf: Add prologue for BPF programs for fetching arguments

2015-11-23 Thread tip-bot for He Kuang
Commit-ID: bfc077b4cf106793b30bf942e426ee99f1f4ac44 Gitweb: http://git.kernel.org/tip/bfc077b4cf106793b30bf942e426ee99f1f4ac44 Author: He Kuang AuthorDate: Mon, 16 Nov 2015 12:10:12 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 18 Nov 2015 17:51:04 -0300 perf bpf: Add

[tip:perf/core] perf tools: Adds the config_term callback for different type events

2015-09-29 Thread tip-bot for He Kuang
Commit-ID: 0b8891a8e62cb537b65ebc55cfbbb4ec22333c44 Gitweb: http://git.kernel.org/tip/0b8891a8e62cb537b65ebc55cfbbb4ec22333c44 Author: He Kuang AuthorDate: Mon, 28 Sep 2015 03:52:13 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 28 Sep 2015 17:25:53 -0300 perf tools: Adds

[tip:perf/core] perf tools: Show proper error message for wrong terms of hw/sw events

2015-09-29 Thread tip-bot for He Kuang
Commit-ID: ffeb883e5662e94b14948078e85812261277ad67 Gitweb: http://git.kernel.org/tip/ffeb883e5662e94b14948078e85812261277ad67 Author: He Kuang AuthorDate: Mon, 28 Sep 2015 03:52:14 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 28 Sep 2015 17:26:54 -0300 perf tools: Show

[tip:perf/core] perf tools: Adds the tracepoint name parsing support

2015-09-29 Thread tip-bot for He Kuang
Commit-ID: 865582c3f48e12b7ab9e260161868313e4a37f44 Gitweb: http://git.kernel.org/tip/865582c3f48e12b7ab9e260161868313e4a37f44 Author: He Kuang AuthorDate: Mon, 28 Sep 2015 03:52:15 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 28 Sep 2015 17:29:38 -0300 perf tools: Adds

[tip:perf/core] perf tools: Enable event_config terms to tracepoint events

2015-09-29 Thread tip-bot for He Kuang
Commit-ID: e637d17757a10732fa5d573c18f20b3cd4d31245 Gitweb: http://git.kernel.org/tip/e637d17757a10732fa5d573c18f20b3cd4d31245 Author: He Kuang AuthorDate: Mon, 28 Sep 2015 03:52:16 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 28 Sep 2015 17:30:07 -0300 perf tools

[tip:perf/urgent] perf top: Fix wrong hottest instruction highlighted

2019-01-22 Thread tip-bot for He Kuang
Commit-ID: da06d568386877809532e8ec678f4a5e300f0951 Gitweb: https://git.kernel.org/tip/da06d568386877809532e8ec678f4a5e300f0951 Author: He Kuang AuthorDate: Mon, 21 Jan 2019 00:05:22 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 11:29:07 -0300 perf top: Fix

[tip:perf/core] perf probe: Fix wrong register name for arm64

2017-01-26 Thread tip-bot for He Kuang
Commit-ID: 1b29dfbba124be5077a24996a272205baec1c008 Gitweb: http://git.kernel.org/tip/1b29dfbba124be5077a24996a272205baec1c008 Author: He Kuang AuthorDate: Tue, 24 Jan 2017 10:30:14 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 26 Jan 2017 11:42:43 -0300 perf probe: Fix

[tip:perf/core] perf unwind: Fix compile error for static cross build

2016-06-16 Thread tip-bot for He Kuang
Commit-ID: 906a8276429c7eb3b53676dab4e2acb632ffcc5a Gitweb: http://git.kernel.org/tip/906a8276429c7eb3b53676dab4e2acb632ffcc5a Author: He Kuang AuthorDate: Wed, 15 Jun 2016 11:03:56 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:27:11 -0300 perf unwind: Fix

[tip:perf/core] perf tools arm64: Add support for generating bpf prologue

2017-02-09 Thread tip-bot for He Kuang
Commit-ID: 3bb53c9f124bd9297f18d58a395cff59dfaf8541 Gitweb: http://git.kernel.org/tip/3bb53c9f124bd9297f18d58a395cff59dfaf8541 Author: He Kuang AuthorDate: Tue, 7 Feb 2017 07:34:11 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 8 Feb 2017 08:55:01 -0300 perf tools arm64

[tip:perf/core] perf script: Show call graphs when 1st event doesn't have it but some other has

2016-06-08 Thread tip-bot for He Kuang
Commit-ID: 40f20e5074b035c7111e135aa939d1d1a96a2480 Gitweb: http://git.kernel.org/tip/40f20e5074b035c7111e135aa939d1d1a96a2480 Author: He Kuang AuthorDate: Mon, 16 May 2016 04:51:19 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Jun 2016 14:53:46 -0300 perf script: Show

[tip:perf/core] perf unwind: Use LIBUNWIND_DIR for remote libunwind feature check

2016-06-08 Thread tip-bot for He Kuang
Commit-ID: 195106b9ff87da6da600b2c33d6a8b38281e1af3 Gitweb: http://git.kernel.org/tip/195106b9ff87da6da600b2c33d6a8b38281e1af3 Author: He Kuang AuthorDate: Fri, 3 Jun 2016 03:33:10 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 7 Jun 2016 12:08:51 -0300 perf unwind: Use

[tip:perf/core] perf unwind: Decouple thread->address_space on libunwind

2016-06-08 Thread tip-bot for He Kuang
Commit-ID: c1d1d0d9b302cb5f0365f4de78dd7fcbf7983c05 Gitweb: http://git.kernel.org/tip/c1d1d0d9b302cb5f0365f4de78dd7fcbf7983c05 Author: He Kuang AuthorDate: Fri, 3 Jun 2016 03:33:11 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 7 Jun 2016 12:08:51 -0300 perf unwind

<    1   2   3   4   5   >