27 Oct, 2011

1 commit

  • * 'slab/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux:
    tools, slub: Fix off-by-one buffer corruption after readlink() call
    slub: Discard slab page when node partial > minimum partial number
    slub: correct comments error for per cpu partial
    mm: restrict access to slab files under procfs and sysfs
    slub: Code optimization in get_partial_node()
    slub: doc: update the slabinfo.c file path
    slub: explicitly document position of inserting slab to partial list
    slub: update slabinfo tools to report per cpu partial list statistics
    slub: per cpu cache for partial pages
    slub: return object pointer from get_partial() / new_slab().
    slub: pass kmem_cache_cpu pointer to get_partial()
    slub: Prepare inuse field in new_slab()
    slub: Remove useless statements in __slab_alloc
    slub: free slabs without holding locks
    slub: use print_hex_dump
    slab: use print_hex_dump

    Linus Torvalds
     

26 Oct, 2011

3 commits

  • Pekka Enberg
     
  • * 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (121 commits)
    perf symbols: Increase symbol KSYM_NAME_LEN size
    perf hists browser: Refuse 'a' hotkey on non symbolic views
    perf ui browser: Use libslang to read keys
    perf tools: Fix tracing info recording
    perf hists browser: Elide DSO column when it is set to just one DSO, ditto for threads
    perf hists: Don't consider filtered entries when calculating column widths
    perf hists: Don't decay total_period for filtered entries
    perf hists browser: Honour symbol_conf.show_{nr_samples,total_period}
    perf hists browser: Do not exit on tab key with single event
    perf annotate browser: Don't change selection line when returning from callq
    perf tools: handle endianness of feature bitmap
    perf tools: Add prelink suggestion to dso update message
    perf script: Fix unknown feature comment
    perf hists browser: Apply the dso and thread filters when merging new batches
    perf hists: Move the dso and thread filters from hist_browser
    perf ui browser: Honour the xterm colors
    perf top tui: Give color hints just on the percentage, like on --stdio
    perf ui browser: Make the colors configurable and change the defaults
    perf tui: Remove unneeded call to newtCls on startup
    perf hists: Don't format the percentage on hist_entry__snprintf
    ...

    Fix up conflicts in arch/x86/kernel/kprobes.c manually.

    Ingo's tree did the insane "add volatile to const array", which just
    doesn't make sense ("volatile const"?). But we could remove the const
    *and* make the array volatile to make doubly sure that gcc doesn't
    optimize it away..

    Also fix up kernel/trace/ring_buffer.c non-data-conflicts manually: the
    reader_lock has been turned into a raw lock by the core locking merge,
    and there was a new user of it introduced in this perf core merge. Make
    sure that new use also uses the raw accessor functions.

    Linus Torvalds
     
  • * 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1519 commits)
    staging: et131x: Remove redundant check and return statement
    staging: et131x: Mainly whitespace changes to appease checkpatch
    staging: et131x: Remove last of the forward declarations
    staging: et131x: Remove even more forward declarations
    staging: et131x: Remove yet more forward declarations
    staging: et131x: Remove more forward declarations
    staging: et131x: Remove forward declaration of et131x_adapter_setup
    staging: et131x: Remove some forward declarations
    staging: et131x: Remove unused rx_ring.recv_packet_pool
    staging: et131x: Remove call to find pci pm capability
    staging: et131x: Remove redundant et131x_reset_recv() call
    staging: et131x: Remove unused rx_ring.recv_buffer_pool
    Staging: bcm: Fix three initialization errors in InterfaceDld.c
    Staging: bcm: Fix coding style issues in InterfaceDld.c
    staging:iio:dac: Add AD5360 driver
    staging:iio:trigger:bfin-timer: Fix compile error
    Staging: vt6655: add some range checks before memcpy()
    Staging: vt6655: whitespace fixes to iotcl.c
    Staging: vt6656: add some range checks before memcpy()
    Staging: vt6656: whitespace cleanups in ioctl.c
    ...

    Fix up conflicts in:
    - drivers/{Kconfig,Makefile}, drivers/staging/{Kconfig,Makefile}:
    vg driver movement
    - drivers/staging/brcm80211/brcmfmac/{dhd_linux.c,mac80211_if.c}:
    driver removal vs now stale changes
    - drivers/staging/rtl8192e/r8192E_core.c:
    driver removal vs now stale changes
    - drivers/staging/et131x/et131*:
    driver consolidation into one file, tried to do fixups

    Linus Torvalds
     

25 Oct, 2011

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (59 commits)
    MAINTAINERS: linux-m32r is moderated for non-subscribers
    linux@lists.openrisc.net is moderated for non-subscribers
    Drop default from "DM365 codec select" choice
    parisc: Kconfig: cleanup Kernel page size default
    Kconfig: remove redundant CONFIG_ prefix on two symbols
    cris: remove arch/cris/arch-v32/lib/nand_init.S
    microblaze: add missing CONFIG_ prefixes
    h8300: drop puzzling Kconfig dependencies
    MAINTAINERS: microblaze-uclinux@itee.uq.edu.au is moderated for non-subscribers
    tty: drop superfluous dependency in Kconfig
    ARM: mxc: fix Kconfig typo 'i.MX51'
    Fix file references in Kconfig files
    aic7xxx: fix Kconfig references to READMEs
    Fix file references in drivers/ide/
    thinkpad_acpi: Fix printk typo 'bluestooth'
    bcmring: drop commented out line in Kconfig
    btmrvl_sdio: fix typo 'btmrvl_sdio_sd6888'
    doc: raw1394: Trivial typo fix
    CIFS: Don't free volume_info->UNC until we are entirely done with it.
    treewide: Correct spelling of successfully in comments
    ...

    Linus Torvalds
     
  • This was done to resolve a conflict in the
    drivers/staging/comedi/drivers/ni_labpc.c file that resolved a build
    bugfix in Linus's tree with a "better" bugfix that was in the
    staging-next tree that resolved the issue in a more complete manner.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

21 Oct, 2011

3 commits

  • Fglrx propietary driver has symbol names over 128 chars (:S). This
    breaks the function kallsyms__parse.

    This fix increases the size of KSYM_NAME_LEN, so kallsyms__parse can
    work on such kernels.

    The only counterparty, is that such function requires 128 more bytes to
    work.

    Acked-by: Pekka Enberg
    Cc: Anton Blanchard
    Cc: David Ahern
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Pekka Enberg
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1319096606-11568-1-git-send-email-ricardo.ribalda@gmail.com
    Signed-off-by: Ricardo Ribalda Delgado
    Signed-off-by: Arnaldo Carvalho de Melo

    Ricardo Ribalda Delgado
     
  • We don't allocate the histogram data structures for --sort lists without
    "sym", so, just like was done for the menu, don't try to annotate when
    'a' is pressed, just warn the user about it.

    Reported-by: David Ahern
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-27mjg02s2mbw8lfxqv7jpzec@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Just another step in stopping the use of libnewt in perf.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-uy6s534uqxq8tenh6s3k8ocj@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     

20 Oct, 2011

5 commits

  • Fixing the way the tracing information is stored within record command.
    The current implementation is causing issues for pipe output.

    Following commands fail currently:
    perf script syscall-counts ls
    perf record -e syscalls:sys_exit_read ls | ./perf report -i -

    The tracing information is part of the perf data file. It contains
    several files from within the tracing debugfs and procs directories.

    Beside some static header files, for each tracing event the format
    file is added. The /proc/kallsyms file is also added.

    The tracing data are stored with preceeding size. This is causing some
    dificulties for pipe output, since there's no way to tell debugfs/proc
    file size before reading it. So, for pipe output, all the debugfs files
    were read twice. Once to get the overall size and once to store the
    content itself. This can cause problem in case any of these file
    changed, within the storage time.

    To fix this behaviour and ensure the integrity of the tracing data, we:
    - read debugfs/proc file into the temp file
    - get temp file size and dump it to the pipe
    - dump the temp file contents to the pipe

    Cc: Eric Dumazet
    Cc: Ingo Molnar
    Cc: Neil Horman
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/20111020135943.GD2092@jolsa.brq.redhat.com
    Signed-off-by: Jiri Olsa
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     
  • And also no leed to show the [.] (level: k, . for userspace) when
    showing just one DSO.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-4h3f6ro5o7ebepjbssxf0dd3@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-rf01wktu1e3f3az32nry86vu@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Following the 'perf report' model we don't zap hist_entry instances from
    the rb tree, we just keep them with he->filtered set to a mask of the
    filters applied to it (thread, parent, DSO so far).

    In top we need to decay even filtered entries, but we better not touch
    total_period for them...

    Now everything seems to work when filters are applied on top as they
    worked in 'report', i.e. both dynamic and static hist entry browsing
    works with filters.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-yt4xsbq20u9x9ypuwwyw2kao@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • We lost that when we move it outside hist_entry__snprintf, but better
    leave it untangled of 'perf diff' stuff (pair_hist, etc).

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-qlhb6ictf5twykog6x344s0b@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     

19 Oct, 2011

15 commits

  • TUI help states for multiple event sessions the TAB/UNTAB keys are used
    to switch events. For single event sessions (e.g., the default) the tab
    key currently causes the tui to exit. Change that to do nothing since
    there is not no second event to switch to.

    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1319045867-12728-1-git-send-email-dsahern@gmail.com
    Signed-off-by: David Ahern
    Signed-off-by: Arnaldo Carvalho de Melo

    David Ahern
     
  • When the user navigates to another annotation browser pressing -> on a
    'callq' line, on exit (
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-z5vgver0jgevbiicfndqni5g@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Feature bitmap is declared as an array of unsigned longs -- not good
    since its size can differ between the host that generated the data file
    and the host analyzing the file.

    We need to handle endianness, but we don't know the size of the unsigned
    long where the file was generated. Take a best guess at determining it:
    try 64-bit swap first (ie., file created on a 64-bit host), and check if
    the hostname feature bit is set (this feature bit is forced on as of
    fbe96f2). If the bit is not, undo the 64-bit swap and try a 32-bit
    swap. If the hostname bit is still not set (e.g., older data file), punt
    and fallback to the original behavior -- clearing all feature bits and
    setting buildid.

    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/1318980841-12616-1-git-send-email-dsahern@gmail.com
    Signed-off-by: David Ahern
    Signed-off-by: Arnaldo Carvalho de Melo

    David Ahern
     
  • Following a prelink run mapped files for long running processes can show
    as deleted. The current message suggests restarting long running
    processes. Add to that a suggestion that prelink might be the cause.

    Old message:
    /lib64/libc-2.14.so was updated, restart the long running
    apps that use it!

    New message:
    /lib64/libc-2.14.so was updated (is prelink enabled?).
    Restart the long running apps that use it!

    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1318985085-20776-1-git-send-email-dsahern@gmail.com
    Signed-off-by: David Ahern
    Signed-off-by: Arnaldo Carvalho de Melo

    David Ahern
     
  • "perf script -v" emits:

    unknown feature 3, continuing...
    unknown feature 4, continuing...
    unknown feature 5, continuing...
    unknown feature 6, continuing...
    unknown feature 7, continuing...
    unknown feature 8, continuing...
    unknown feature 9, continuing...
    unknown feature 10, continuing...
    unknown feature 11, continuing...
    unknown feature 12, continuing...
    unknown feature 13, continuing...
    unknown feature 14, continuing...

    These are all new features added by fbe96f2. Update
    perf_file_section__process to know they are valid feature ids.

    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/1318984464-20650-1-git-send-email-dsahern@gmail.com
    Signed-off-by: David Ahern
    Signed-off-by: Arnaldo Carvalho de Melo

    David Ahern
     
  • Now that we dynamicly add entries on the timer we need to not only
    traverse all entries when the user zooms into threads and/or DSOs, but
    as well after that apply it to the new batches of hist entries in
    hists__collapse_resort.

    Reported-by: Mike Galbraith
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-zustn633c7hnrae94x6nld1p@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Since with dynamic addition of new hist entries we need to apply those
    filters as we merge new batches of hist_entry instances, for instance in
    perf top.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-zjhhf8kh9w1buty9p10od6rz@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • So slang after all _has_ a 'default' color, call me color blind. Change
    the default to it.

    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Tom Zanussi
    Link: http://lkml.kernel.org/n/tip-1dfxivxv0jhwldpds3v4zla2@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • And like it was in the old top.

    Another change so that the familiarity with the old visual is maintained.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-ypmyx9p0ah4byqaygrnb09x8@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Just use as a starting point the "[colors]" section of
    tools/perf/Documentation/perfconfig.example.

    Changed the colors to be the ones in the old perf tool if used in a green on
    black xterm.

    The next patches should allow using the colors configured for the xterm.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-3vqmyerkaqltqolmnlehonew@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • That was just filling the screen with blue, even if not a crash, not
    something pleasant nor useful ;-)

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-58znjqvan9b1mv5pojxboidg@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • We can't have color correctly set there because in libslang (and in a future
    GUI) the colors must be set on a separate function call, so move that part to a
    separate function and make the stdio fprintf function call it.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-jpgy42438ce9tgbqppm397lq@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • The selection and scroll bar are really needed only when the user starts
    navigating, before that it just provide distractions.

    This also brings the initial screen to look more like the stdio UI,
    which more people are used to.

    The new code is flexible enough that menu like browsers can opt out and
    start with those UI elements.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-jfgok30kkerpfw8wtcltgy6z@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • readlink() never zero terminates the provided buffer.
    Therefore we already do

    buffer[count] = 0;

    This leads to an off-by-one buffer corruption as readlink()
    might return the full size of the buffer.

    The common technique is to reduce the buffer size by one.
    Another fix would be to check

    if (count < 0 || count == sizeof(buffer))
    fatal();

    Reducing the buffer size by one is easier IMHO.

    Signed-off-by: Thomas Jarosch
    Acked-by: David Rientjes
    Acked-by: Christoph Lameter
    Signed-off-by: Pekka Enberg

    Thomas Jarosch
     
  • Resetting the terminal to a sane state.

    Reported-by: Ingo Molnar
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-myu44ujofadcy3y6an2mk383@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     

18 Oct, 2011

1 commit


17 Oct, 2011

3 commits

  • CC util/ui/browsers/annotate.o
    In file included from util/ui/browsers/annotate.c:2:0:
    util/ui/browsers/../helpline.h:9:42: error: expected declaration
    specifiers or ‘...’ before ‘va_list’
    CC util/ui/browsers/hists.o
    make: *** [util/ui/browsers/annotate.o] Error 1
    make: *** Waiting for unfinished jobs....

    Signed-off-by: Mike Galbraith
    Link: http://lkml.kernel.org/n/tip-9vefl2807smi7t4luhs00tg6@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Mike Galbraith
     
  • We were not recognizing 'E' as a hotkey due to a bug introduced when
    switching to the new, hist_entry based top. Fix it by returning that 'E'
    is mapped if evlist->nr_entries > 1.

    Reported-by: Mike Galbraith
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-zcx055vnhagddvqlaqxvdhtb@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • The new decay routine (__hists__decay_entries) wasn't being passed the
    toggles, fix it.

    Reported-by: Mike Galbraith
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-hg6m0mi1colket982oq9hhly@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     

15 Oct, 2011

1 commit


14 Oct, 2011

5 commits

  • The readlink function doesn't guarantee that a '\0' will be put at the
    end of the provided buffer if there is no space left.

    No need to do "buf[len] = '\0';" since the buffer is allocated with
    zalloc().

    Link: http://lkml.kernel.org/r/4E986ABF.9040706@intra2net.com
    Signed-off-by: Thomas Jarosch
    Signed-off-by: Arnaldo Carvalho de Melo

    Thomas Jarosch
     
  • Just press 'S' on any assembly line and the source code will be hidden
    while the current line remains selected. Press 'S' again to show them
    back.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-efmxm5etouebb7es0kkyqqwa@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Its becoming common to allow the user to filter out parts of the data
    structure being browsed, like already done in the hists browser and in
    the annotate browser in the next commit, so provide it directly in the
    ui_browser class list_head helpers.

    More work required to move the equivalent routines found now in the
    hists browser to the rb_tree helpers.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-jk7danyt1d9ji4e3o2xuthpn@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • We lost that functionality on ed7e566, restore it.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-z8eb8af2x46x42lgpn1ustid@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • With underlying dynamic data structures we need to invalidate pointers
    to them after a timer, as that entry may have vanished (decayed in top,
    for instance).

    I forgot about browser_ui->top. Fix it by resetting it to null after a
    timer. The seek operation from SEEK_SET will then set it to a valid
    entry because it starts from rb_first(&hists->entries).

    Reported-by: Ingo Molnar
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-2ssjm0ouh9tsz4dwkcu7c40n@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     

13 Oct, 2011

1 commit

  • When using multiple events the 'top' and 'report' tools will first
    present the user with a menu to choose the event to browse.

    After that the user can either press
    [ committer note: the line above is for the compiler warning ]
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Mike Galbraith
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-ujxkbvj9vy8w6xe2op5m51tb@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo