Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Namhyung Kim
On Tue, 4 Nov 2014 11:15:08 -0300, Arnaldo Carvalho de Melo wrote:
> Em Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim escreveu:
>> Now my Archlinux box shows module symbols correctly.
>
> Now my RHEL6 box doesn't build:
>
>> +++ b/tools/perf/util/dso.c
>> @@ -141,17 +141,13 @@ int dso__read_binary_type_filename(const struct dso 
>> *dso,
>>  return ret;
>
>>  static const struct {
>>  const char *fmt;
>>  int (*decompress)(const char *input, int output);
>>  } compressions[] = {
>> -{ "gz", decompress_dummy },
>> +#ifdef HAVE_ZLIB_SUPPORT
>> +{ "gz", gzip_decompress_to_file },
>> +#endif
>>  { NULL, },
>>  };
>
>   CC   /tmp/build/perf/util/dso.o
> cc1: warnings being treated as errors
> util/dso.c:151: error: missing initializer
> util/dso.c:151: error: (near initialization for
> ‘compressions[1].decompress’)
> make[1]: *** [/tmp/build/perf/util/dso.o] Error 1
> make: Leaving directory `/home/gita/perf-3.18.0-rc1/tools/perf'
> make: *** [install] Error 2
> [acme@zoo linux]$
>
> Will try and fix it, nevermind :-)

Also fixed and pushed to perf/vmlinux-v7 branch.

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Namhyung Kim
On Tue, 4 Nov 2014 10:42:29 -0300, Arnaldo Carvalho de Melo wrote:
> Em Tue, Nov 04, 2014 at 12:00:17PM +0100, Jiri Olsa escreveu:
>> On Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim wrote:
>> > Now my Archlinux box shows module symbols correctly.
>> 
>> with the last comment addressed (-lz in test-all.bin):
>> 
>> Acked-by: Jiri Olsa 
>
> Thanks, applied the series.

Oh-oh, wait.  I need to add -lz to test-all.bin target in Makefile so
you need to apply this hunk, sorry. :-/


diff --git a/tools/perf/config/feature-checks/Makefile 
b/tools/perf/config/feature-checks/Mak
efile
index 7c68ec74a808..53f19b5dbc37 100644
--- a/tools/perf/config/feature-checks/Makefile
+++ b/tools/perf/config/feature-checks/Makefile
@@ -41,7 +42,7 @@ BUILD = $(CC) $(CFLAGS) -o $(OUTPUT)$@ $(patsubst 
%.bin,%.c,$@) $(LDFLAGS)
 ###
 
 test-all.bin:
-   $(BUILD) -Werror -fstack-protector-all -O2 -Werror -D_FORTIFY_SOURCE=2 
-ldw -lelf -lnuma -lelf -laudit -I/usr/include/slang -lslang $(shell 
$(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) 
$(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl
+   $(BUILD) -Werror -fstack-protector-all -O2 -Werror -D_FORTIFY_SOURCE=2 
-ldw -lelf -lnuma -lelf -laudit -I/usr/include/slang -lslang $(shell 
$(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) 
$(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl -lz
 
 test-hello.bin:
$(BUILD)


I pushed this to 'perf/vmlinux-v7' branch.  Please check it there.

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim escreveu:
> Now my Archlinux box shows module symbols correctly.

Now my RHEL6 box doesn't build:

> +++ b/tools/perf/util/dso.c
> @@ -141,17 +141,13 @@ int dso__read_binary_type_filename(const struct dso 
> *dso,
>   return ret;

>  static const struct {
>   const char *fmt;
>   int (*decompress)(const char *input, int output);
>  } compressions[] = {
> - { "gz", decompress_dummy },
> +#ifdef HAVE_ZLIB_SUPPORT
> + { "gz", gzip_decompress_to_file },
> +#endif
>   { NULL, },
>  };

  CC   /tmp/build/perf/util/dso.o
cc1: warnings being treated as errors
util/dso.c:151: error: missing initializer
util/dso.c:151: error: (near initialization for
‘compressions[1].decompress’)
make[1]: *** [/tmp/build/perf/util/dso.o] Error 1
make: Leaving directory `/home/gita/perf-3.18.0-rc1/tools/perf'
make: *** [install] Error 2
[acme@zoo linux]$

Will try and fix it, nevermind :-)

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 04, 2014 at 12:00:17PM +0100, Jiri Olsa escreveu:
> On Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim wrote:
> > Now my Archlinux box shows module symbols correctly.
> 
> with the last comment addressed (-lz in test-all.bin):
> 
> Acked-by: Jiri Olsa 

Thanks, applied the series.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Jiri Olsa
On Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim wrote:
> Now my Archlinux box shows module symbols correctly.

with the last comment addressed (-lz in test-all.bin):

Acked-by: Jiri Olsa 

thanks,
jirka

> 
> Before:
>   $ perf report --stdio
>   Failed to open /tmp/perf-3477.map, continuing without symbols
>   no symbols found in /usr/bin/date, maybe install a debug package?
>   No kallsyms or vmlinux with build-id 
> 7b4ea0a49ae2111925857099aaf05c3246ff33e0 was found
>   [drm] with build id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 not found, 
> continuing without symbols
>   No kallsyms or vmlinux with build-id 
> edd931629094b660ca9dec09a1b635c8d87aa2ee was found
>   [jbd2] with build id edd931629094b660ca9dec09a1b635c8d87aa2ee not found, 
> continuing without symbols
>   No kallsyms or vmlinux with build-id 
> a7b1eada671c34933e5610bb920b2ca4945a82c3 was found
>   [ext4] with build id a7b1eada671c34933e5610bb920b2ca4945a82c3 not found, 
> continuing without symbols
>   No kallsyms or vmlinux with build-id 
> d69511fa3e5840e770336ef45b06c83fef8d74e3 was found
>   [scsi_mod] with build id d69511fa3e5840e770336ef45b06c83fef8d74e3 not 
> found, continuing without symbols
>   No kallsyms or vmlinux with build-id 
> af0430af13461af058770ee9b87afc07922c2e77 was found
>   [libata] with build id af0430af13461af058770ee9b87afc07922c2e77 not found, 
> continuing without symbols
>   No kallsyms or vmlinux with build-id 
> aaeedff8160ce631a5f0333591c6ff291201d29f was found
>   [libahci] with build id aaeedff8160ce631a5f0333591c6ff291201d29f not found, 
> continuing without symbols
>   No kallsyms or vmlinux with build-id 
> c57907712becaf662dc4981824bb372c0441d605 was found
>   [mac80211] with build id c57907712becaf662dc4981824bb372c0441d605 not 
> found, continuing without symbols
>   No kallsyms or vmlinux with build-id 
> e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f was found
>   [iwldvm] with build id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f not found, 
> continuing without symbols
>   No kallsyms or vmlinux with build-id 
> 2d86086bf136bf374a2f029cf85a48194f9b950b was found
>   [cfg80211] with build id 2d86086bf136bf374a2f029cf85a48194f9b950b not 
> found, continuing without symbols
>   No kallsyms or vmlinux with build-id 
> 4493c48599bdb3d91d0f8db5150e0be33fdd9221 was found
>   [iwlwifi] with build id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 not found, 
> continuing without symbols
>   ...
>   #
>   # Overhead  Command  Shared ObjectSymbol
>   #   ...  ...  
> 
>   #
>0.03%  swapper  [ext4]   [k] 0xfe2e
>0.03%  swapper  [kernel.kallsyms][k] 
> account_entity_enqueue
>0.03%  swapper  [ext4]   [k] 0xfc2b
>0.03%  irq/50-iwlwifi   [iwlwifi][k] 0x200b
>0.03%  swapper  [kernel.kallsyms][k] ktime_add_safe
>0.03%  swapper  [kernel.kallsyms][k] 
> elv_completed_request
>0.03%  swapper  [libata] [k] 0x3997
>0.03%  swapper  [libahci][k] 0x1f25
>0.03%  swapper  [kernel.kallsyms][k] rb_next
>0.03%  swapper  [kernel.kallsyms][k] blk_finish_request
>0.03%  swapper  [ext4]   [k] 0x00010248
>0.00%  perf [kernel.kallsyms][k] 
> native_write_msr_safe
> 
> After:
>   $ perf report --stdio
>   Failed to open /tmp/perf-3477.map, continuing without symbols
>   no symbols found in /usr/bin/tr, maybe install a debug package?
>   ...
>   #
>   # Overhead  Command  Shared ObjectSymbol
>   #   ...  ...  
> ..
>   #
> 
>0.04%  kworker/u16:3[ext4]   [k] 
> ext4_read_block_bitmap
>0.03%  kworker/u16:0[mac80211]   [k] 
> ieee80211_sta_reset_beacon_monitor
>0.02%  irq/50-iwlwifi   [mac80211]   [k] 
> ieee80211_get_bssid
>0.02%  firefox  [e1000e] [k] __ew32_prepare
>0.02%  swapper  [libahci][k] 
> ahci_handle_port_interrupt
>0.02%  emacslibglib-2.0.so.0.4000.0  [.] g_mutex_unlock
>0.02%  swapper  [e1000e] [k] 
> e1000_clean_tx_irq
>0.02%  dwm  [kernel.kallsyms][k] __schedule
>0.02%  gnome-terminal-  [vdso]   [.] 
> __vdso_clock_gettime
>0.02%  swapper  [e1000e] [k] 
> e1000_alloc_rx_buffers
>0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
>0.01%  firefox  [vdso] 

Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Jiri Olsa
On Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim wrote:
 Now my Archlinux box shows module symbols correctly.

with the last comment addressed (-lz in test-all.bin):

Acked-by: Jiri Olsa jo...@kernel.org

thanks,
jirka

 
 Before:
   $ perf report --stdio
   Failed to open /tmp/perf-3477.map, continuing without symbols
   no symbols found in /usr/bin/date, maybe install a debug package?
   No kallsyms or vmlinux with build-id 
 7b4ea0a49ae2111925857099aaf05c3246ff33e0 was found
   [drm] with build id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 not found, 
 continuing without symbols
   No kallsyms or vmlinux with build-id 
 edd931629094b660ca9dec09a1b635c8d87aa2ee was found
   [jbd2] with build id edd931629094b660ca9dec09a1b635c8d87aa2ee not found, 
 continuing without symbols
   No kallsyms or vmlinux with build-id 
 a7b1eada671c34933e5610bb920b2ca4945a82c3 was found
   [ext4] with build id a7b1eada671c34933e5610bb920b2ca4945a82c3 not found, 
 continuing without symbols
   No kallsyms or vmlinux with build-id 
 d69511fa3e5840e770336ef45b06c83fef8d74e3 was found
   [scsi_mod] with build id d69511fa3e5840e770336ef45b06c83fef8d74e3 not 
 found, continuing without symbols
   No kallsyms or vmlinux with build-id 
 af0430af13461af058770ee9b87afc07922c2e77 was found
   [libata] with build id af0430af13461af058770ee9b87afc07922c2e77 not found, 
 continuing without symbols
   No kallsyms or vmlinux with build-id 
 aaeedff8160ce631a5f0333591c6ff291201d29f was found
   [libahci] with build id aaeedff8160ce631a5f0333591c6ff291201d29f not found, 
 continuing without symbols
   No kallsyms or vmlinux with build-id 
 c57907712becaf662dc4981824bb372c0441d605 was found
   [mac80211] with build id c57907712becaf662dc4981824bb372c0441d605 not 
 found, continuing without symbols
   No kallsyms or vmlinux with build-id 
 e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f was found
   [iwldvm] with build id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f not found, 
 continuing without symbols
   No kallsyms or vmlinux with build-id 
 2d86086bf136bf374a2f029cf85a48194f9b950b was found
   [cfg80211] with build id 2d86086bf136bf374a2f029cf85a48194f9b950b not 
 found, continuing without symbols
   No kallsyms or vmlinux with build-id 
 4493c48599bdb3d91d0f8db5150e0be33fdd9221 was found
   [iwlwifi] with build id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 not found, 
 continuing without symbols
   ...
   #
   # Overhead  Command  Shared ObjectSymbol
   #   ...  ...  
 
   #
0.03%  swapper  [ext4]   [k] 0xfe2e
0.03%  swapper  [kernel.kallsyms][k] 
 account_entity_enqueue
0.03%  swapper  [ext4]   [k] 0xfc2b
0.03%  irq/50-iwlwifi   [iwlwifi][k] 0x200b
0.03%  swapper  [kernel.kallsyms][k] ktime_add_safe
0.03%  swapper  [kernel.kallsyms][k] 
 elv_completed_request
0.03%  swapper  [libata] [k] 0x3997
0.03%  swapper  [libahci][k] 0x1f25
0.03%  swapper  [kernel.kallsyms][k] rb_next
0.03%  swapper  [kernel.kallsyms][k] blk_finish_request
0.03%  swapper  [ext4]   [k] 0x00010248
0.00%  perf [kernel.kallsyms][k] 
 native_write_msr_safe
 
 After:
   $ perf report --stdio
   Failed to open /tmp/perf-3477.map, continuing without symbols
   no symbols found in /usr/bin/tr, maybe install a debug package?
   ...
   #
   # Overhead  Command  Shared ObjectSymbol
   #   ...  ...  
 ..
   #
 
0.04%  kworker/u16:3[ext4]   [k] 
 ext4_read_block_bitmap
0.03%  kworker/u16:0[mac80211]   [k] 
 ieee80211_sta_reset_beacon_monitor
0.02%  irq/50-iwlwifi   [mac80211]   [k] 
 ieee80211_get_bssid
0.02%  firefox  [e1000e] [k] __ew32_prepare
0.02%  swapper  [libahci][k] 
 ahci_handle_port_interrupt
0.02%  emacslibglib-2.0.so.0.4000.0  [.] g_mutex_unlock
0.02%  swapper  [e1000e] [k] 
 e1000_clean_tx_irq
0.02%  dwm  [kernel.kallsyms][k] __schedule
0.02%  gnome-terminal-  [vdso]   [.] 
 __vdso_clock_gettime
0.02%  swapper  [e1000e] [k] 
 e1000_alloc_rx_buffers
0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
0.01%  firefox  [vdso]   [.] 
 __vdso_gettimeofday
0.01%  irq/50-iwlwifi   

Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 04, 2014 at 12:00:17PM +0100, Jiri Olsa escreveu:
 On Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim wrote:
  Now my Archlinux box shows module symbols correctly.
 
 with the last comment addressed (-lz in test-all.bin):
 
 Acked-by: Jiri Olsa jo...@kernel.org

Thanks, applied the series.

- Arnaldo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim escreveu:
 Now my Archlinux box shows module symbols correctly.

Now my RHEL6 box doesn't build:

 +++ b/tools/perf/util/dso.c
 @@ -141,17 +141,13 @@ int dso__read_binary_type_filename(const struct dso 
 *dso,
   return ret;

  static const struct {
   const char *fmt;
   int (*decompress)(const char *input, int output);
  } compressions[] = {
 - { gz, decompress_dummy },
 +#ifdef HAVE_ZLIB_SUPPORT
 + { gz, gzip_decompress_to_file },
 +#endif
   { NULL, },
  };

  CC   /tmp/build/perf/util/dso.o
cc1: warnings being treated as errors
util/dso.c:151: error: missing initializer
util/dso.c:151: error: (near initialization for
‘compressions[1].decompress’)
make[1]: *** [/tmp/build/perf/util/dso.o] Error 1
make: Leaving directory `/home/gita/perf-3.18.0-rc1/tools/perf'
make: *** [install] Error 2
[acme@zoo linux]$

Will try and fix it, nevermind :-)

- Arnaldo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Namhyung Kim
On Tue, 4 Nov 2014 10:42:29 -0300, Arnaldo Carvalho de Melo wrote:
 Em Tue, Nov 04, 2014 at 12:00:17PM +0100, Jiri Olsa escreveu:
 On Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim wrote:
  Now my Archlinux box shows module symbols correctly.
 
 with the last comment addressed (-lz in test-all.bin):
 
 Acked-by: Jiri Olsa jo...@kernel.org

 Thanks, applied the series.

Oh-oh, wait.  I need to add -lz to test-all.bin target in Makefile so
you need to apply this hunk, sorry. :-/


diff --git a/tools/perf/config/feature-checks/Makefile 
b/tools/perf/config/feature-checks/Mak
efile
index 7c68ec74a808..53f19b5dbc37 100644
--- a/tools/perf/config/feature-checks/Makefile
+++ b/tools/perf/config/feature-checks/Makefile
@@ -41,7 +42,7 @@ BUILD = $(CC) $(CFLAGS) -o $(OUTPUT)$@ $(patsubst 
%.bin,%.c,$@) $(LDFLAGS)
 ###
 
 test-all.bin:
-   $(BUILD) -Werror -fstack-protector-all -O2 -Werror -D_FORTIFY_SOURCE=2 
-ldw -lelf -lnuma -lelf -laudit -I/usr/include/slang -lslang $(shell 
$(PKG_CONFIG) --libs --cflags gtk+-2.0 2/dev/null) $(FLAGS_PERL_EMBED) 
$(FLAGS_PYTHON_EMBED) -DPACKAGE='perf' -lbfd -ldl
+   $(BUILD) -Werror -fstack-protector-all -O2 -Werror -D_FORTIFY_SOURCE=2 
-ldw -lelf -lnuma -lelf -laudit -I/usr/include/slang -lslang $(shell 
$(PKG_CONFIG) --libs --cflags gtk+-2.0 2/dev/null) $(FLAGS_PERL_EMBED) 
$(FLAGS_PYTHON_EMBED) -DPACKAGE='perf' -lbfd -ldl -lz
 
 test-hello.bin:
$(BUILD)


I pushed this to 'perf/vmlinux-v7' branch.  Please check it there.

Thanks,
Namhyung
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-04 Thread Namhyung Kim
On Tue, 4 Nov 2014 11:15:08 -0300, Arnaldo Carvalho de Melo wrote:
 Em Tue, Nov 04, 2014 at 10:14:28AM +0900, Namhyung Kim escreveu:
 Now my Archlinux box shows module symbols correctly.

 Now my RHEL6 box doesn't build:

 +++ b/tools/perf/util/dso.c
 @@ -141,17 +141,13 @@ int dso__read_binary_type_filename(const struct dso 
 *dso,
  return ret;

  static const struct {
  const char *fmt;
  int (*decompress)(const char *input, int output);
  } compressions[] = {
 -{ gz, decompress_dummy },
 +#ifdef HAVE_ZLIB_SUPPORT
 +{ gz, gzip_decompress_to_file },
 +#endif
  { NULL, },
  };

   CC   /tmp/build/perf/util/dso.o
 cc1: warnings being treated as errors
 util/dso.c:151: error: missing initializer
 util/dso.c:151: error: (near initialization for
 ‘compressions[1].decompress’)
 make[1]: *** [/tmp/build/perf/util/dso.o] Error 1
 make: Leaving directory `/home/gita/perf-3.18.0-rc1/tools/perf'
 make: *** [install] Error 2
 [acme@zoo linux]$

 Will try and fix it, nevermind :-)

Also fixed and pushed to perf/vmlinux-v7 branch.

Thanks,
Namhyung
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-03 Thread Namhyung Kim
Now my Archlinux box shows module symbols correctly.

Before:
  $ perf report --stdio
  Failed to open /tmp/perf-3477.map, continuing without symbols
  no symbols found in /usr/bin/date, maybe install a debug package?
  No kallsyms or vmlinux with build-id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 
was found
  [drm] with build id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id edd931629094b660ca9dec09a1b635c8d87aa2ee 
was found
  [jbd2] with build id edd931629094b660ca9dec09a1b635c8d87aa2ee not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id a7b1eada671c34933e5610bb920b2ca4945a82c3 
was found
  [ext4] with build id a7b1eada671c34933e5610bb920b2ca4945a82c3 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id d69511fa3e5840e770336ef45b06c83fef8d74e3 
was found
  [scsi_mod] with build id d69511fa3e5840e770336ef45b06c83fef8d74e3 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id af0430af13461af058770ee9b87afc07922c2e77 
was found
  [libata] with build id af0430af13461af058770ee9b87afc07922c2e77 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id aaeedff8160ce631a5f0333591c6ff291201d29f 
was found
  [libahci] with build id aaeedff8160ce631a5f0333591c6ff291201d29f not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id c57907712becaf662dc4981824bb372c0441d605 
was found
  [mac80211] with build id c57907712becaf662dc4981824bb372c0441d605 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f 
was found
  [iwldvm] with build id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id 2d86086bf136bf374a2f029cf85a48194f9b950b 
was found
  [cfg80211] with build id 2d86086bf136bf374a2f029cf85a48194f9b950b not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 
was found
  [iwlwifi] with build id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 not found, 
continuing without symbols
  ...
  #
  # Overhead  Command  Shared ObjectSymbol
  #   ...  ...  

  #
   0.03%  swapper  [ext4]   [k] 0xfe2e
   0.03%  swapper  [kernel.kallsyms][k] 
account_entity_enqueue
   0.03%  swapper  [ext4]   [k] 0xfc2b
   0.03%  irq/50-iwlwifi   [iwlwifi][k] 0x200b
   0.03%  swapper  [kernel.kallsyms][k] ktime_add_safe
   0.03%  swapper  [kernel.kallsyms][k] 
elv_completed_request
   0.03%  swapper  [libata] [k] 0x3997
   0.03%  swapper  [libahci][k] 0x1f25
   0.03%  swapper  [kernel.kallsyms][k] rb_next
   0.03%  swapper  [kernel.kallsyms][k] blk_finish_request
   0.03%  swapper  [ext4]   [k] 0x00010248
   0.00%  perf [kernel.kallsyms][k] 
native_write_msr_safe

After:
  $ perf report --stdio
  Failed to open /tmp/perf-3477.map, continuing without symbols
  no symbols found in /usr/bin/tr, maybe install a debug package?
  ...
  #
  # Overhead  Command  Shared ObjectSymbol
  #   ...  ...  
..
  #

   0.04%  kworker/u16:3[ext4]   [k] 
ext4_read_block_bitmap
   0.03%  kworker/u16:0[mac80211]   [k] 
ieee80211_sta_reset_beacon_monitor
   0.02%  irq/50-iwlwifi   [mac80211]   [k] 
ieee80211_get_bssid
   0.02%  firefox  [e1000e] [k] __ew32_prepare
   0.02%  swapper  [libahci][k] 
ahci_handle_port_interrupt
   0.02%  emacslibglib-2.0.so.0.4000.0  [.] g_mutex_unlock
   0.02%  swapper  [e1000e] [k] 
e1000_clean_tx_irq
   0.02%  dwm  [kernel.kallsyms][k] __schedule
   0.02%  gnome-terminal-  [vdso]   [.] 
__vdso_clock_gettime
   0.02%  swapper  [e1000e] [k] 
e1000_alloc_rx_buffers
   0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
   0.01%  firefox  [vdso]   [.] 
__vdso_gettimeofday
   0.01%  irq/50-iwlwifi   [iwlwifi][k] 
iwl_pcie_rxq_restock.part.13

Signed-off-by: Namhyung Kim 
---
 tools/perf/Makefile.perf |  7 +++
 tools/perf/config/Makefile   | 15 +-
 tools/perf/config/feature-checks/Makefile|  6 ++-
 

Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-03 Thread Namhyung Kim
On Mon, Nov 3, 2014 at 10:54 PM, Jiri Olsa  wrote:
> On Mon, Nov 03, 2014 at 04:27:52PM +0900, Namhyung Kim wrote:
>
> SNIP
>
>>   #
>>   # Overhead  Command  Shared ObjectSymbol
>>   #   ...  ...  
>> ..
>>   #
>>
>>0.04%  kworker/u16:3[ext4]   [k] 
>> ext4_read_block_bitmap
>>0.03%  kworker/u16:0[mac80211]   [k] 
>> ieee80211_sta_reset_beacon_monitor
>>0.02%  irq/50-iwlwifi   [mac80211]   [k] 
>> ieee80211_get_bssid
>>0.02%  firefox  [e1000e] [k] 
>> __ew32_prepare
>>0.02%  swapper  [libahci][k] 
>> ahci_handle_port_interrupt
>>0.02%  emacslibglib-2.0.so.0.4000.0  [.] 
>> g_mutex_unlock
>>0.02%  swapper  [e1000e] [k] 
>> e1000_clean_tx_irq
>>0.02%  dwm  [kernel.kallsyms][k] __schedule
>>0.02%  gnome-terminal-  [vdso]   [.] 
>> __vdso_clock_gettime
>>0.02%  swapper  [e1000e] [k] 
>> e1000_alloc_rx_buffers
>>0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
>>0.01%  firefox  [vdso]   [.] 
>> __vdso_gettimeofday
>>0.01%  irq/50-iwlwifi   [iwlwifi][k] 
>> iwl_pcie_rxq_restock.part.13
>>
>> Signed-off-by: Namhyung Kim 
>> ---
>>  tools/perf/Makefile.perf |  7 +++
>>  tools/perf/config/Makefile   | 15 +-
>>  tools/perf/config/feature-checks/Makefile|  6 ++-
>>  tools/perf/config/feature-checks/test-zlib.c |  9 
>
> missing update for feature-checks/test-all.c

Ah, right.  Will add. :)

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-03 Thread Jiri Olsa
On Mon, Nov 03, 2014 at 04:27:52PM +0900, Namhyung Kim wrote:

SNIP

>   #
>   # Overhead  Command  Shared ObjectSymbol
>   #   ...  ...  
> ..
>   #
> 
>0.04%  kworker/u16:3[ext4]   [k] 
> ext4_read_block_bitmap
>0.03%  kworker/u16:0[mac80211]   [k] 
> ieee80211_sta_reset_beacon_monitor
>0.02%  irq/50-iwlwifi   [mac80211]   [k] 
> ieee80211_get_bssid
>0.02%  firefox  [e1000e] [k] __ew32_prepare
>0.02%  swapper  [libahci][k] 
> ahci_handle_port_interrupt
>0.02%  emacslibglib-2.0.so.0.4000.0  [.] g_mutex_unlock
>0.02%  swapper  [e1000e] [k] 
> e1000_clean_tx_irq
>0.02%  dwm  [kernel.kallsyms][k] __schedule
>0.02%  gnome-terminal-  [vdso]   [.] 
> __vdso_clock_gettime
>0.02%  swapper  [e1000e] [k] 
> e1000_alloc_rx_buffers
>0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
>0.01%  firefox  [vdso]   [.] 
> __vdso_gettimeofday
>0.01%  irq/50-iwlwifi   [iwlwifi][k] 
> iwl_pcie_rxq_restock.part.13
> 
> Signed-off-by: Namhyung Kim 
> ---
>  tools/perf/Makefile.perf |  7 +++
>  tools/perf/config/Makefile   | 15 +-
>  tools/perf/config/feature-checks/Makefile|  6 ++-
>  tools/perf/config/feature-checks/test-zlib.c |  9 

missing update for feature-checks/test-all.c

thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-03 Thread Jiri Olsa
On Mon, Nov 03, 2014 at 04:27:52PM +0900, Namhyung Kim wrote:

SNIP

   #
   # Overhead  Command  Shared ObjectSymbol
   #   ...  ...  
 ..
   #
 
0.04%  kworker/u16:3[ext4]   [k] 
 ext4_read_block_bitmap
0.03%  kworker/u16:0[mac80211]   [k] 
 ieee80211_sta_reset_beacon_monitor
0.02%  irq/50-iwlwifi   [mac80211]   [k] 
 ieee80211_get_bssid
0.02%  firefox  [e1000e] [k] __ew32_prepare
0.02%  swapper  [libahci][k] 
 ahci_handle_port_interrupt
0.02%  emacslibglib-2.0.so.0.4000.0  [.] g_mutex_unlock
0.02%  swapper  [e1000e] [k] 
 e1000_clean_tx_irq
0.02%  dwm  [kernel.kallsyms][k] __schedule
0.02%  gnome-terminal-  [vdso]   [.] 
 __vdso_clock_gettime
0.02%  swapper  [e1000e] [k] 
 e1000_alloc_rx_buffers
0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
0.01%  firefox  [vdso]   [.] 
 __vdso_gettimeofday
0.01%  irq/50-iwlwifi   [iwlwifi][k] 
 iwl_pcie_rxq_restock.part.13
 
 Signed-off-by: Namhyung Kim namhy...@kernel.org
 ---
  tools/perf/Makefile.perf |  7 +++
  tools/perf/config/Makefile   | 15 +-
  tools/perf/config/feature-checks/Makefile|  6 ++-
  tools/perf/config/feature-checks/test-zlib.c |  9 

missing update for feature-checks/test-all.c

thanks,
jirka
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-03 Thread Namhyung Kim
On Mon, Nov 3, 2014 at 10:54 PM, Jiri Olsa jo...@redhat.com wrote:
 On Mon, Nov 03, 2014 at 04:27:52PM +0900, Namhyung Kim wrote:

 SNIP

   #
   # Overhead  Command  Shared ObjectSymbol
   #   ...  ...  
 ..
   #

0.04%  kworker/u16:3[ext4]   [k] 
 ext4_read_block_bitmap
0.03%  kworker/u16:0[mac80211]   [k] 
 ieee80211_sta_reset_beacon_monitor
0.02%  irq/50-iwlwifi   [mac80211]   [k] 
 ieee80211_get_bssid
0.02%  firefox  [e1000e] [k] 
 __ew32_prepare
0.02%  swapper  [libahci][k] 
 ahci_handle_port_interrupt
0.02%  emacslibglib-2.0.so.0.4000.0  [.] 
 g_mutex_unlock
0.02%  swapper  [e1000e] [k] 
 e1000_clean_tx_irq
0.02%  dwm  [kernel.kallsyms][k] __schedule
0.02%  gnome-terminal-  [vdso]   [.] 
 __vdso_clock_gettime
0.02%  swapper  [e1000e] [k] 
 e1000_alloc_rx_buffers
0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
0.01%  firefox  [vdso]   [.] 
 __vdso_gettimeofday
0.01%  irq/50-iwlwifi   [iwlwifi][k] 
 iwl_pcie_rxq_restock.part.13

 Signed-off-by: Namhyung Kim namhy...@kernel.org
 ---
  tools/perf/Makefile.perf |  7 +++
  tools/perf/config/Makefile   | 15 +-
  tools/perf/config/feature-checks/Makefile|  6 ++-
  tools/perf/config/feature-checks/test-zlib.c |  9 

 missing update for feature-checks/test-all.c

Ah, right.  Will add. :)

Thanks,
Namhyung
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-03 Thread Namhyung Kim
Now my Archlinux box shows module symbols correctly.

Before:
  $ perf report --stdio
  Failed to open /tmp/perf-3477.map, continuing without symbols
  no symbols found in /usr/bin/date, maybe install a debug package?
  No kallsyms or vmlinux with build-id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 
was found
  [drm] with build id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id edd931629094b660ca9dec09a1b635c8d87aa2ee 
was found
  [jbd2] with build id edd931629094b660ca9dec09a1b635c8d87aa2ee not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id a7b1eada671c34933e5610bb920b2ca4945a82c3 
was found
  [ext4] with build id a7b1eada671c34933e5610bb920b2ca4945a82c3 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id d69511fa3e5840e770336ef45b06c83fef8d74e3 
was found
  [scsi_mod] with build id d69511fa3e5840e770336ef45b06c83fef8d74e3 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id af0430af13461af058770ee9b87afc07922c2e77 
was found
  [libata] with build id af0430af13461af058770ee9b87afc07922c2e77 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id aaeedff8160ce631a5f0333591c6ff291201d29f 
was found
  [libahci] with build id aaeedff8160ce631a5f0333591c6ff291201d29f not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id c57907712becaf662dc4981824bb372c0441d605 
was found
  [mac80211] with build id c57907712becaf662dc4981824bb372c0441d605 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f 
was found
  [iwldvm] with build id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id 2d86086bf136bf374a2f029cf85a48194f9b950b 
was found
  [cfg80211] with build id 2d86086bf136bf374a2f029cf85a48194f9b950b not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 
was found
  [iwlwifi] with build id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 not found, 
continuing without symbols
  ...
  #
  # Overhead  Command  Shared ObjectSymbol
  #   ...  ...  

  #
   0.03%  swapper  [ext4]   [k] 0xfe2e
   0.03%  swapper  [kernel.kallsyms][k] 
account_entity_enqueue
   0.03%  swapper  [ext4]   [k] 0xfc2b
   0.03%  irq/50-iwlwifi   [iwlwifi][k] 0x200b
   0.03%  swapper  [kernel.kallsyms][k] ktime_add_safe
   0.03%  swapper  [kernel.kallsyms][k] 
elv_completed_request
   0.03%  swapper  [libata] [k] 0x3997
   0.03%  swapper  [libahci][k] 0x1f25
   0.03%  swapper  [kernel.kallsyms][k] rb_next
   0.03%  swapper  [kernel.kallsyms][k] blk_finish_request
   0.03%  swapper  [ext4]   [k] 0x00010248
   0.00%  perf [kernel.kallsyms][k] 
native_write_msr_safe

After:
  $ perf report --stdio
  Failed to open /tmp/perf-3477.map, continuing without symbols
  no symbols found in /usr/bin/tr, maybe install a debug package?
  ...
  #
  # Overhead  Command  Shared ObjectSymbol
  #   ...  ...  
..
  #

   0.04%  kworker/u16:3[ext4]   [k] 
ext4_read_block_bitmap
   0.03%  kworker/u16:0[mac80211]   [k] 
ieee80211_sta_reset_beacon_monitor
   0.02%  irq/50-iwlwifi   [mac80211]   [k] 
ieee80211_get_bssid
   0.02%  firefox  [e1000e] [k] __ew32_prepare
   0.02%  swapper  [libahci][k] 
ahci_handle_port_interrupt
   0.02%  emacslibglib-2.0.so.0.4000.0  [.] g_mutex_unlock
   0.02%  swapper  [e1000e] [k] 
e1000_clean_tx_irq
   0.02%  dwm  [kernel.kallsyms][k] __schedule
   0.02%  gnome-terminal-  [vdso]   [.] 
__vdso_clock_gettime
   0.02%  swapper  [e1000e] [k] 
e1000_alloc_rx_buffers
   0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
   0.01%  firefox  [vdso]   [.] 
__vdso_gettimeofday
   0.01%  irq/50-iwlwifi   [iwlwifi][k] 
iwl_pcie_rxq_restock.part.13

Signed-off-by: Namhyung Kim namhy...@kernel.org
---
 tools/perf/Makefile.perf |  7 +++
 tools/perf/config/Makefile   | 15 +-
 tools/perf/config/feature-checks/Makefile   

[PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-02 Thread Namhyung Kim
Now my Archlinux box shows module symbols correctly.

Before:
  $ perf report --stdio
  Failed to open /tmp/perf-3477.map, continuing without symbols
  no symbols found in /usr/bin/date, maybe install a debug package?
  No kallsyms or vmlinux with build-id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 
was found
  [drm] with build id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id edd931629094b660ca9dec09a1b635c8d87aa2ee 
was found
  [jbd2] with build id edd931629094b660ca9dec09a1b635c8d87aa2ee not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id a7b1eada671c34933e5610bb920b2ca4945a82c3 
was found
  [ext4] with build id a7b1eada671c34933e5610bb920b2ca4945a82c3 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id d69511fa3e5840e770336ef45b06c83fef8d74e3 
was found
  [scsi_mod] with build id d69511fa3e5840e770336ef45b06c83fef8d74e3 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id af0430af13461af058770ee9b87afc07922c2e77 
was found
  [libata] with build id af0430af13461af058770ee9b87afc07922c2e77 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id aaeedff8160ce631a5f0333591c6ff291201d29f 
was found
  [libahci] with build id aaeedff8160ce631a5f0333591c6ff291201d29f not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id c57907712becaf662dc4981824bb372c0441d605 
was found
  [mac80211] with build id c57907712becaf662dc4981824bb372c0441d605 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f 
was found
  [iwldvm] with build id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id 2d86086bf136bf374a2f029cf85a48194f9b950b 
was found
  [cfg80211] with build id 2d86086bf136bf374a2f029cf85a48194f9b950b not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 
was found
  [iwlwifi] with build id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 not found, 
continuing without symbols
  ...
  #
  # Overhead  Command  Shared ObjectSymbol
  #   ...  ...  

  #
   0.03%  swapper  [ext4]   [k] 0xfe2e
   0.03%  swapper  [kernel.kallsyms][k] 
account_entity_enqueue
   0.03%  swapper  [ext4]   [k] 0xfc2b
   0.03%  irq/50-iwlwifi   [iwlwifi][k] 0x200b
   0.03%  swapper  [kernel.kallsyms][k] ktime_add_safe
   0.03%  swapper  [kernel.kallsyms][k] 
elv_completed_request
   0.03%  swapper  [libata] [k] 0x3997
   0.03%  swapper  [libahci][k] 0x1f25
   0.03%  swapper  [kernel.kallsyms][k] rb_next
   0.03%  swapper  [kernel.kallsyms][k] blk_finish_request
   0.03%  swapper  [ext4]   [k] 0x00010248
   0.00%  perf [kernel.kallsyms][k] 
native_write_msr_safe

After:
  $ perf report --stdio
  Failed to open /tmp/perf-3477.map, continuing without symbols
  no symbols found in /usr/bin/tr, maybe install a debug package?
  ...
  #
  # Overhead  Command  Shared ObjectSymbol
  #   ...  ...  
..
  #

   0.04%  kworker/u16:3[ext4]   [k] 
ext4_read_block_bitmap
   0.03%  kworker/u16:0[mac80211]   [k] 
ieee80211_sta_reset_beacon_monitor
   0.02%  irq/50-iwlwifi   [mac80211]   [k] 
ieee80211_get_bssid
   0.02%  firefox  [e1000e] [k] __ew32_prepare
   0.02%  swapper  [libahci][k] 
ahci_handle_port_interrupt
   0.02%  emacslibglib-2.0.so.0.4000.0  [.] g_mutex_unlock
   0.02%  swapper  [e1000e] [k] 
e1000_clean_tx_irq
   0.02%  dwm  [kernel.kallsyms][k] __schedule
   0.02%  gnome-terminal-  [vdso]   [.] 
__vdso_clock_gettime
   0.02%  swapper  [e1000e] [k] 
e1000_alloc_rx_buffers
   0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
   0.01%  firefox  [vdso]   [.] 
__vdso_gettimeofday
   0.01%  irq/50-iwlwifi   [iwlwifi][k] 
iwl_pcie_rxq_restock.part.13

Signed-off-by: Namhyung Kim 
---
 tools/perf/Makefile.perf |  7 +++
 tools/perf/config/Makefile   | 15 +-
 tools/perf/config/feature-checks/Makefile|  6 ++-
 

[PATCH 2/8] perf tools: Add gzip decompression support for kernel module

2014-11-02 Thread Namhyung Kim
Now my Archlinux box shows module symbols correctly.

Before:
  $ perf report --stdio
  Failed to open /tmp/perf-3477.map, continuing without symbols
  no symbols found in /usr/bin/date, maybe install a debug package?
  No kallsyms or vmlinux with build-id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 
was found
  [drm] with build id 7b4ea0a49ae2111925857099aaf05c3246ff33e0 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id edd931629094b660ca9dec09a1b635c8d87aa2ee 
was found
  [jbd2] with build id edd931629094b660ca9dec09a1b635c8d87aa2ee not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id a7b1eada671c34933e5610bb920b2ca4945a82c3 
was found
  [ext4] with build id a7b1eada671c34933e5610bb920b2ca4945a82c3 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id d69511fa3e5840e770336ef45b06c83fef8d74e3 
was found
  [scsi_mod] with build id d69511fa3e5840e770336ef45b06c83fef8d74e3 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id af0430af13461af058770ee9b87afc07922c2e77 
was found
  [libata] with build id af0430af13461af058770ee9b87afc07922c2e77 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id aaeedff8160ce631a5f0333591c6ff291201d29f 
was found
  [libahci] with build id aaeedff8160ce631a5f0333591c6ff291201d29f not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id c57907712becaf662dc4981824bb372c0441d605 
was found
  [mac80211] with build id c57907712becaf662dc4981824bb372c0441d605 not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f 
was found
  [iwldvm] with build id e0589077cc0ec8c3e4c40eb9f2d9e69d236bee8f not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id 2d86086bf136bf374a2f029cf85a48194f9b950b 
was found
  [cfg80211] with build id 2d86086bf136bf374a2f029cf85a48194f9b950b not found, 
continuing without symbols
  No kallsyms or vmlinux with build-id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 
was found
  [iwlwifi] with build id 4493c48599bdb3d91d0f8db5150e0be33fdd9221 not found, 
continuing without symbols
  ...
  #
  # Overhead  Command  Shared ObjectSymbol
  #   ...  ...  

  #
   0.03%  swapper  [ext4]   [k] 0xfe2e
   0.03%  swapper  [kernel.kallsyms][k] 
account_entity_enqueue
   0.03%  swapper  [ext4]   [k] 0xfc2b
   0.03%  irq/50-iwlwifi   [iwlwifi][k] 0x200b
   0.03%  swapper  [kernel.kallsyms][k] ktime_add_safe
   0.03%  swapper  [kernel.kallsyms][k] 
elv_completed_request
   0.03%  swapper  [libata] [k] 0x3997
   0.03%  swapper  [libahci][k] 0x1f25
   0.03%  swapper  [kernel.kallsyms][k] rb_next
   0.03%  swapper  [kernel.kallsyms][k] blk_finish_request
   0.03%  swapper  [ext4]   [k] 0x00010248
   0.00%  perf [kernel.kallsyms][k] 
native_write_msr_safe

After:
  $ perf report --stdio
  Failed to open /tmp/perf-3477.map, continuing without symbols
  no symbols found in /usr/bin/tr, maybe install a debug package?
  ...
  #
  # Overhead  Command  Shared ObjectSymbol
  #   ...  ...  
..
  #

   0.04%  kworker/u16:3[ext4]   [k] 
ext4_read_block_bitmap
   0.03%  kworker/u16:0[mac80211]   [k] 
ieee80211_sta_reset_beacon_monitor
   0.02%  irq/50-iwlwifi   [mac80211]   [k] 
ieee80211_get_bssid
   0.02%  firefox  [e1000e] [k] __ew32_prepare
   0.02%  swapper  [libahci][k] 
ahci_handle_port_interrupt
   0.02%  emacslibglib-2.0.so.0.4000.0  [.] g_mutex_unlock
   0.02%  swapper  [e1000e] [k] 
e1000_clean_tx_irq
   0.02%  dwm  [kernel.kallsyms][k] __schedule
   0.02%  gnome-terminal-  [vdso]   [.] 
__vdso_clock_gettime
   0.02%  swapper  [e1000e] [k] 
e1000_alloc_rx_buffers
   0.02%  irq/50-iwlwifi   [mac80211]   [k] ieee80211_rx
   0.01%  firefox  [vdso]   [.] 
__vdso_gettimeofday
   0.01%  irq/50-iwlwifi   [iwlwifi][k] 
iwl_pcie_rxq_restock.part.13

Signed-off-by: Namhyung Kim namhy...@kernel.org
---
 tools/perf/Makefile.perf |  7 +++
 tools/perf/config/Makefile   | 15 +-
 tools/perf/config/feature-checks/Makefile