15 Feb, 2019

1 commit

  • Rename build libperf to perf, because it's used to build perf.

    The libperf build object name will be used for libperf library.

    Signed-off-by: Jiri Olsa
    Cc: Alexander Shishkin
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20190213123246.4015-4-jolsa@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     

23 Jan, 2018

1 commit

  • Change the Makefile and build process to no longer require audit-libs
    interfaces when the architecture provides system call tables.

    Committer notes:

    Its not enough to hook into the NO_LIBAUDIT makefile block, we need to
    define a CONFIG_TRACE that gets selected by both architectures
    generating the syscall tables from the kernel headers and from detecting
    the availability of libaudit.

    With that in place we will not link against libaudit even if the
    necessary files are available for that, in fact we will not even try to
    detect its availability, speeding up a bit the feature detection phase.

    Signed-off-by: Hendrik Brueckner
    Reviewed-by: Thomas Richter
    Tested-by: Arnaldo Carvalho de Melo
    Cc: Jiri Olsa
    Cc: Michael Petlan
    Cc: linux-s390@vger.kernel.org
    LPU-Reference: 1516352177-11106-6-git-send-email-brueckner@linux.vnet.ibm.com
    Link: https://lkml.kernel.org/n/tip-j68lub6ipm8apvy52vd3l4cm@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Hendrik Brueckner
     

19 Jul, 2017

1 commit


01 Apr, 2017

1 commit

  • To test it, build samples/statx/test_statx, which I did as:

    $ make headers_install
    $ cc -I ~/git/linux/usr/include samples/statx/test-statx.c -o /tmp/statx

    And then use perf trace on it:

    # perf trace -e statx /tmp/statx /etc/passwd
    statx(/etc/passwd) = 0
    results=7ff
    Size: 3496 Blocks: 8 IO Block: 4096 regular file
    Device: fd:00 Inode: 280156 Links: 1
    Access: (0644/-rw-r--r--) Uid: 0 Gid: 0
    Access: 2017-03-29 16:01:01.650073438-0300
    Modify: 2017-03-10 16:25:14.156479354-0300
    Change: 2017-03-10 16:25:14.171479328-0300
    0.000 ( 0.007 ms): statx/30648 statx(dfd: CWD, filename: 0x7ef503f4, flags: SYMLINK_NOFOLLOW, mask: TYPE|MODE|NLINK|UID|GID|ATIME|MTIME|CTIME|INO|SIZE|BLOCKS|BTIME, buffer: 0x7fff7ef4eb10) = 0
    #

    Using the test-stat.c options to change the mask:

    # perf trace -e statx /tmp/statx -O /etc/passwd > /dev/null
    0.000 ( 0.008 ms): statx/30745 statx(dfd: CWD, filename: 0x3a0753f4, flags: SYMLINK_NOFOLLOW, mask: BTIME, buffer: 0x7ffd3a0735c0) = 0
    #
    # perf trace -e statx /tmp/statx -A /etc/passwd > /dev/null
    0.000 ( 0.010 ms): statx/30757 statx(dfd: CWD, filename: 0xa94e63f4, flags: SYMLINK_NOFOLLOW|NO_AUTOMOUNT, mask: TYPE|MODE|NLINK|UID|GID|ATIME|MTIME|CTIME|INO|SIZE|BLOCKS|BTIME, buffer: 0x7ffea94e49d0) = 0
    #
    # trace --no-inherit -e statx /tmp/statx -F /etc/passwd > /dev/null
    0.000 ( 0.011 ms): statx(dfd: CWD, filename: 0x3b02d3f3, flags: SYMLINK_NOFOLLOW|STATX_FORCE_SYNC, mask: TYPE|MODE|NLINK|UID|GID|ATIME|MTIME|CTIME|INO|SIZE|BLOCKS|BTIME, buffer: 0x7ffd3b02c850) = 0
    #
    # trace --no-inherit -e statx /tmp/statx -F -L /etc/passwd > /dev/null
    0.000 ( 0.008 ms): statx(dfd: CWD, filename: 0x15cff3f3, flags: STATX_FORCE_SYNC, mask: TYPE|MODE|NLINK|UID|GID|ATIME|MTIME|CTIME|INO|SIZE|BLOCKS|BTIME, buffer: 0x7fff15cfdda0) = 0
    #
    # trace --no-inherit -e statx /tmp/statx -D -O /etc/passwd > /dev/null
    0.000 ( 0.009 ms): statx(dfd: CWD, filename: 0xfa37f3f3, flags: SYMLINK_NOFOLLOW|STATX_DONT_SYNC, mask: BTIME, buffer: 0x7ffffa37da20) = 0
    #

    Adding a probe to get the filename collected as well:

    # perf probe 'vfs_getname=getname_flags:72 pathname=result->name:string'
    Added new event:
    probe:vfs_getname (on getname_flags:72 with pathname=result->name:string)

    You can now use it in all perf tools, such as:

    perf record -e probe:vfs_getname -aR sleep 1

    # trace --no-inherit -e statx /tmp/statx -D -O /etc/passwd > /dev/null
    0.169 ( 0.007 ms): statx(dfd: CWD, filename: /etc/passwd, flags: SYMLINK_NOFOLLOW|STATX_DONT_SYNC, mask: BTIME, buffer: 0x7ffda9bf50f0) = 0
    #

    Same technique could be used to collect and beautify the result put in
    the 'buffer' argument.

    Finally do a system wide 'perf trace' session looking for any use of statx,
    then run the test proggie with various flags:

    # trace -e statx
    16612.967 ( 0.028 ms): statx/4562 statx(dfd: CWD, filename: /tmp/statx, flags: SYMLINK_NOFOLLOW, mask: TYPE|MODE|NLINK|UID|GID|ATIME|MTIME|CTIME|INO|SIZE|BLOCKS|BTIME, buffer: 0x7ffef195d660) = 0
    33064.447 ( 0.011 ms): statx/4569 statx(dfd: CWD, filename: /tmp/statx, flags: SYMLINK_NOFOLLOW|STATX_FORCE_SYNC, mask: TYPE|MODE|NLINK|UID|GID|ATIME|MTIME|CTIME|INO|SIZE|BLOCKS|BTIME, buffer: 0x7ffc5484c790) = 0
    36050.891 ( 0.023 ms): statx/4576 statx(dfd: CWD, filename: /tmp/statx, flags: SYMLINK_NOFOLLOW, mask: BTIME, buffer: 0x7ffeb18b66e0) = 0
    38039.889 ( 0.023 ms): statx/4584 statx(dfd: CWD, filename: /tmp/statx, flags: SYMLINK_NOFOLLOW, mask: TYPE|MODE|NLINK|UID|GID|ATIME|MTIME|CTIME|INO|SIZE|BLOCKS|BTIME, buffer: 0x7fff1db0ea90) = 0
    ^C#

    This one also starts moving the beautifiers from files directly included
    in builtin-trace.c to separate objects + a beauty.h header with
    prototypes, so that we can add test cases in tools/perf/tests/ to fire
    syscalls with various arguments and then get them intercepted as
    syscalls:sys_enter_foo or raw_syscalls:sys_enter + sys_exit to then
    format and check that the formatted output is the one we expect.

    Cc: Adrian Hunter
    Cc: Al Viro
    Cc: David Ahern
    Cc: David Howells
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Wang Nan
    Link: http://lkml.kernel.org/n/tip-xvzw8eynffvez5czyzidhrno@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     

26 Jan, 2017

1 commit

  • The 'perf ftrace' command is a simple wrapper of kernel's ftrace
    functionality. It only supports single thread tracing currently and
    just reads trace_pipe in text and then write it to stdout.

    Committer notes:

    Testing it:

    # perf ftrace -f function_graph usleep 123456

    2) | SyS_nanosleep() {
    2) | _copy_from_user() {

    2) 0.900 us | }
    2) 1.354 us | }
    2) | hrtimer_nanosleep() {
    2) 0.062 us | __hrtimer_init();
    2) | do_nanosleep() {
    2) | hrtimer_start_range_ns() {

    2) 5.025 us | }
    2) | schedule() {
    2) 0.125 us | rcu_note_context_switch();
    2) 0.057 us | _raw_spin_lock();
    2) | deactivate_task() {
    2) 0.369 us | update_rq_clock.part.77();
    2) | dequeue_task_fair() {

    2) + 22.453 us | }
    2) + 23.736 us | }
    2) | pick_next_task_fair() {

    2) + 47.167 us | }
    2) | pick_next_task_idle() {

    2) 4.462 us | }
    ------------------------------------------
    2) usleep-20387 => -0
    ------------------------------------------

    2) 0.806 us | switch_mm_irqs_off();
    ------------------------------------------
    2) -0 => usleep-20387
    ------------------------------------------

    2) 0.151 us | finish_task_switch();
    2) @ 123597.2 us | }
    2) 0.037 us | _cond_resched();
    2) | hrtimer_try_to_cancel() {
    2) 0.064 us | hrtimer_active();
    2) 0.353 us | }
    2) @ 123605.3 us | }
    2) @ 123606.2 us | }
    2) @ 123608.3 us | } /* SyS_nanosleep */
    2) | __do_page_fault() {

    Signed-off-by: Namhyung Kim
    Tested-by: Arnaldo Carvalho de Melo
    Tested-by: Masami Hiramatsu
    Cc: Frederic Weisbecker
    Cc: Jeremy Eder
    Cc: Jiri Olsa ,
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/n/tip-r1hgmsj4dxny8arn3o9mw512@git.kernel.org
    [ Various foward port fixes, add man page ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     

17 Jan, 2017

1 commit

  • The use_browser and perf_version_string variables are both declared in
    perf.c but they are also referenced by other functions of libperf.a.

    Therefore a user linking an own main() with libperf.a must declare those
    two variables in their files even if the files never use the browser or
    the version information.

    This patch fixes this issue by moving use_browser and
    perf_version_string out of perf.c to some other files.

    Signed-off-by: Soramichi Akiyama
    Cc: Alexander Shishkin
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20170117002237.c1aec0ce3b4d675dca018deb@m.soramichi.jp
    Signed-off-by: Arnaldo Carvalho de Melo

    Soramichi AKIYAMA
     

12 Jan, 2017

1 commit

  • Its similar to doing grep on a /proc/kallsyms, but it also shows extra
    information like the path to the kernel module and the unrelocated
    addresses in it, to help in diagnosing problems.

    It is also helps demonstrate the use of the symbols routines so that
    tool writers can use them more effectively.

    Using it:

    $ perf kallsyms e1000_xmit_frame netif_rx usb_stor_set_xfer_buf
    e1000_xmit_frame: [e1000e] /lib/modules/4.9.0+/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko 0xffffffffc046fc10-0xffffffffc0470bb0 (0x19c80-0x1ac20)
    netif_rx: [kernel] [kernel.kallsyms] 0xffffffff916f03a0-0xffffffff916f0410 (0xffffffff916f03a0-0xffffffff916f0410)
    usb_stor_set_xfer_buf: [usb_storage] /lib/modules/4.9.0+/kernel/drivers/usb/storage/usb-storage.ko 0xffffffffc057aea0-0xffffffffc057af19 (0xf10-0xf89)
    $

    Cc: Adrian Hunter
    Cc: David Ahern
    Cc: Jiri Olsa
    Cc: Masami Hiramatsu
    Cc: Namhyung Kim
    Cc: Wang Nan
    Link: http://lkml.kernel.org/n/tip-79bk9pakujn4l4vq0f90klv3@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     

20 Oct, 2016

1 commit

  • Adding c2c command base wirings. Its implementation is going to be added
    gradually in following patches.

    Signed-off-by: Jiri Olsa
    Cc: Andi Kleen
    Cc: David Ahern
    Cc: Don Zickus
    Cc: Joe Mario
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1474558645-19956-11-git-send-email-jolsa@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     

12 Jan, 2016

1 commit

  • It'll be used to locate perf document directory to find tips.txt in case
    it's not installed on the system.

    Signed-off-by: Namhyung Kim
    Cc: Andi Kleen
    Cc: David Ahern
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Cc: Wang Nan
    Link: http://lkml.kernel.org/r/1452334589-8782-3-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     

09 Jan, 2016

1 commit

  • Currently perf report only shows a help message "For a higher level
    overview, try: perf report --sort comm,dso" unconditionally (even if
    the sort keys were used). Add more help tips and show randomly.

    Load tips from ${prefix}/share/doc/perf-tip/tips.txt file.

    $ perf report | tail
    0.10% swapper [kernel.vmlinux] [k] irq_exit
    0.09% swapper [kernel.vmlinux] [k] flush_smp_call_function_queue
    0.08% swapper [kernel.vmlinux] [k] native_write_msr_safe
    0.03% swapper [kernel.vmlinux] [k] group_sched_in
    0.01% perf [kernel.vmlinux] [k] native_write_msr_safe

    #
    # (Tip: Search options using a keyword: perf report -h )
    #

    Signed-off-by: Namhyung Kim
    Acked-by: Ingo Molnar
    Cc: Andi Kleen
    Cc: David Ahern
    Cc: Jiri Olsa
    Cc: Masami Hiramatsu
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Wang Nan
    Link: http://lkml.kernel.org/r/1452166913-27046-1-git-send-email-namhyung@kernel.org
    [ Renamed it to perf_tip() and the parameter dirname to dirpath to fix the build on older distros ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     

17 Dec, 2015

1 commit

  • Create init functions for exec_cmd.c and pager.c. This allows their
    configuration to be specified at runtime so they can be split out into a
    separate library which can be used by other programs. Their
    configuration is stored in a shared subcmd_config struct.

    Signed-off-by: Josh Poimboeuf
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/21f5f6b38da72c985a8dcfa185700d03e7eecd1d.1450193761.git.jpoimboe@redhat.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Josh Poimboeuf
     

10 Dec, 2015

1 commit

  • Move cmd_version() to its own file so that help.c can be moved to a
    library.

    Signed-off-by: Josh Poimboeuf
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/e908b1b68f20ab6d8d33941d5571c23110622e60.1449548395.git.jpoimboe@redhat.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Josh Poimboeuf
     

24 Nov, 2015

1 commit

  • The perf configuration file contains many variables to change various
    aspects of each of its tools, including output, disk usage, etc.

    But looking at the state of configuration is difficult and there's no
    documentation about config variables except for the variables in
    perfconfig.example exist.

    So this patch adds a 'perf-config' command with a '--list' option.

    perf config [options]

    display current perf config variables.
    # perf config -l | --list

    Signed-off-by: Taeung Song
    Acked-by: Namhyung Kim
    Cc: Jiri Olsa
    Link: http://lkml.kernel.org/r/1447768424-17327-1-git-send-email-treeze.taeung@gmail.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Taeung Song
     

21 Jul, 2015

1 commit

  • I.e.:

    $ cat ~/share/perf-core/strace/groups/file
    access
    chmod
    creat
    execve
    faccessat
    getcwd
    lstat
    mkdir
    open
    openat
    quotactl
    readlink
    rename
    rmdir
    stat
    statfs
    symlink
    unlink
    $

    Then, on a quiet desktop, try running this and then moving your mouse to
    see the deluge of mouse related activity:

    # perf probe 'vfs_getname=getname_flags:72 pathname=filename:string'
    Added new event:
    probe:vfs_getname (on getname_flags:72 with pathname=filename:string)

    You can now use it in all perf tools, such as:

    perf record -e probe:vfs_getname -aR sleep 1
    #
    # trace --ev probe:vfs_getname --filter-pids 2232 -e file
    0.042 (0.042 ms): mousetweaks/2235 open(filename: 0x14e3910, mode: 438 ) ...
    0.042 ( ): probe:vfs_getname:(ffffffff812230bc) pathname="/home/acme/.icons/Adwaita/cursors/xterm")
    0.100 (0.100 ms): mousetweaks/2235 ... [continued]: open()) = -1 ENOENT No such file or directory
    0.142 (0.018 ms): mousetweaks/2235 open(filename: 0x14c3c10, mode: 438 ) ...
    0.142 ( ): probe:vfs_getname:(ffffffff812230bc) pathname="/home/acme/.icons/Adwaita/index.theme")
    0.192 (0.069 ms): mousetweaks/2235 ... [continued]: open()) = -1 ENOENT No such file or directory
    0.230 (0.017 ms): mousetweaks/2235 open(filename: 0x14c3c10, mode: 438 ) ...
    0.230 ( ): probe:vfs_getname:(ffffffff812230bc) pathname="/usr/share/icons/Adwaita/cursors/xterm")
    0.253 (0.041 ms): mousetweaks/2235 ... [continued]: open()) = 14
    0.459 (0.008 ms): mousetweaks/2235 open(filename: 0x14e3910, mode: 438 ) ...
    0.459 ( ): probe:vfs_getname:(ffffffff812230bc) pathname="/home/acme/.icons/Adwaita/cursors/left_side")
    0.468 (0.017 ms): mousetweaks/2235 ... [continued]: open()) = -1 ENOENT No such file or directory

    Need to combine that raw_syscalls:sys_enter(open) + probe:vfs_getname +
    raw_syscalls:sys_exit(open) sequence...

    Now, if you're bored, please write some more syscall groups, like the ones
    in 'strace' and send it our way :-)

    Cc: Adrian Hunter
    Cc: Borislav Petkov
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Milian Wolff
    Cc: Namhyung Kim
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-a42xklu59lcbxp7bbnic74a8@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     

25 Feb, 2015

1 commit

  • Adding new 'perf data' command to provide operations over data files.

    The 'perf data convert' sub command is coming in following patch, but
    there's possibility for other useful commands like 'perf data ls' (to
    display perf data file in directory in ls style).

    Signed-off-by: Jiri Olsa
    Acked-by: Namhyung Kim
    Reviewed-by: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jeremie Galarneau
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Sebastian Andrzej Siewior
    Cc: Tom Zanussi
    Cc: Wang Nan
    Link: http://lkml.kernel.org/r/1424470628-5969-3-git-send-email-jolsa@kernel.org
    Signed-off-by: Sebastian Andrzej Siewior
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     

13 Feb, 2015

1 commit

  • Move the perf object building under build framework to be included in
    the perf build object.

    Signed-off-by: Jiri Olsa
    Tested-by: Sukadev Bhattiprolu
    Tested-by: Will Deacon
    Cc: Alexis Berlemont
    Cc: Borislav Petkov
    Cc: Corey Ashford
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-wiiciip2w6ajvj03huqz50xw@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     

12 Feb, 2015

8 commits

  • Move the scripts objects building under build framework to be included
    in the libperf build object.

    Signed-off-by: Jiri Olsa
    Tested-by: Sukadev Bhattiprolu
    Tested-by: Will Deacon
    Cc: Alexis Berlemont
    Cc: Borislav Petkov
    Cc: Corey Ashford
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-ry8pd41ahwpq9h46i8te33c7@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • Move the gtk objects building under build framework.

    Add new gtk build object so it's separated from the rest of the code and
    could be librarized.

    Signed-off-by: Jiri Olsa
    Tested-by: Sukadev Bhattiprolu
    Tested-by: Will Deacon
    Cc: Alexis Berlemont
    Cc: Borislav Petkov
    Cc: Corey Ashford
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-cd27z7vww85nxdq37rkjkkbm@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • Move the ui objects building under build framework to be included in the
    libperf build object.

    Signed-off-by: Jiri Olsa
    Tested-by: Sukadev Bhattiprolu
    Tested-by: Will Deacon
    Cc: Alexis Berlemont
    Cc: Borislav Petkov
    Cc: Corey Ashford
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-re5vuat8uu396n7hyor9b5ve@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • Move the probe objects building under build framework to be included in
    the libperf build object.

    Signed-off-by: Jiri Olsa
    Tested-by: Sukadev Bhattiprolu
    Tested-by: Will Deacon
    Cc: Alexis Berlemont
    Cc: Borislav Petkov
    Cc: Corey Ashford
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-p39iitiu2ltgmtbn48bsh7nz@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • Move the util objects building under build framework.

    Add the new libperf build object so it's separated from the rest of the
    perf code and could be librarized.

    Signed-off-by: Jiri Olsa
    Tested-by: Sukadev Bhattiprolu
    Tested-by: Will Deacon
    Cc: Alexis Berlemont
    Cc: Borislav Petkov
    Cc: Corey Ashford
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-574tgt9t23tnxo9td8qjiibc@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • Move the rest of builtin objects (bench and test are already in)
    building under build framework.

    Signed-off-by: Jiri Olsa
    Tested-by: Sukadev Bhattiprolu
    Tested-by: Will Deacon
    Cc: Alexis Berlemont
    Cc: Borislav Petkov
    Cc: Corey Ashford
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-mrh2d4kfyi4g1el4kmdcghl8@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • Move test objects building under build framework.

    Signed-off-by: Jiri Olsa
    Tested-by: Sukadev Bhattiprolu
    Tested-by: Will Deacon
    Cc: Alexis Berlemont
    Cc: Borislav Petkov
    Cc: Corey Ashford
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-azbkwd1fl32t997a4shz4lgp@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • Move bench objects building under build framework and enable perf-in.o
    rule.

    Signed-off-by: Jiri Olsa
    Tested-by: Sukadev Bhattiprolu
    Tested-by: Will Deacon
    Cc: Alexis Berlemont
    Cc: Borislav Petkov
    Cc: Corey Ashford
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-b0gxubmn3qjabaq0lune53y3@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa