[PATCH v2] perf gtk: Print dlerror() and reverse the loading order

2016-04-30 Thread Kyeongmin Cho
ctory. Signed-off-by: Kyeongmin Cho --- This patch refers to the previous discussion Re: [PATCH 1/2] perf report: Find lib path correctly for gtk option >From Namhyung Kim AFAIK this fallback code is only needed if perf was not installed in the standard directory (and system has no perf package i

Re: [PATCH 2/2] perf report: Add gcc option '-rdynamic' to define symbol callchain_param

2016-04-28 Thread Kyeongmin Cho
but could not find libperf-gtk.so After applying this patch, compiling rdynamically to make libperf-gtk.so find out the symbol, it works. 2016-04-28 23:12 GMT+09:00 Jiri Olsa : > On Thu, Apr 28, 2016 at 10:00:01PM +0900, Kyeongmin Cho wrote: >> As libperf-gtk.so cannot find out undefin

[PATCH 1/2] perf report: Find lib path correctly for gtk option

2016-04-28 Thread Kyeongmin Cho
When "perf report --gtk", it cannot find libperf-gtk.so. This patch apply correct path of LIBDIR to setup_gtk_browser(). Signed-off-by: Kyeongmin Cho --- tools/perf/config/Makefile | 2 +- tools/perf/ui/Build| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --g

[PATCH 2/2] perf report: Add gcc option '-rdynamic' to define symbol callchain_param

2016-04-28 Thread Kyeongmin Cho
As libperf-gtk.so cannot find out undefined symbol 'callchain_param', '-rdynamic' option is needed to add the symbol to the dynamic symbol table. Signed-off-by: Kyeongmin Cho --- tools/perf/Makefile.perf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH] Documentation: Fix typos on several lines

2016-04-27 Thread Kyeongmin Cho
There are many lines containing incorrect spelling words and needless spaces. They should be fixed. Signed-off-by: Kyeongmin Cho --- Documentation/cpu-hotplug.txt | 2 +- Documentation/devices.txt | 4 ++-- Documentation/hsi.txt | 2 +- Documentation/kasan.txt

[PATCH] gitignore: Fix typo on the line about git files

2016-04-27 Thread Kyeongmin Cho
Git files are the files that we don't want to ignore even if they are dot-files. It must be "even if" but it says "even it". Signed-off-by: Kyeongmin Cho --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore inde