25 Nov, 2008

3 commits


24 Nov, 2008

1 commit


23 Nov, 2008

3 commits

  • Impact: modify+improve the userstacktrace tracing visualization feature

    Store thread group leader id, and use it to lookup the address in the
    process's map. We could have looked up the address on thread's map,
    but the thread might not exist by the time we are called. The process
    might not exist either, but if you are reading trace_pipe, that is
    unlikely.

    Example usage:

    mount -t debugfs nodev /sys/kernel/debug
    cd /sys/kernel/debug/tracing
    echo userstacktrace >iter_ctrl
    echo sym-userobj >iter_ctrl
    echo sched_switch >current_tracer
    echo 1 >tracing_enabled
    cat trace_pipe >/tmp/trace&
    .... run application ...
    echo 0 >tracing_enabled
    cat /tmp/trace

    You'll see stack entries like:

    /lib/libpthread-2.7.so[+0xd370]

    You can convert them to function/line using:

    addr2line -fie /lib/libpthread-2.7.so 0xd370

    Or:

    addr2line -fie /usr/lib/debug/libpthread-2.7.so 0xd370

    For non-PIC/PIE executables this won't work:

    a.out[+0x73b]

    You need to run the following: addr2line -fie a.out 0x40073b
    (where 0x400000 is the default load address of a.out)

    Signed-off-by: Török Edwin
    Signed-off-by: Ingo Molnar

    Török Edwin
     
  • Impact: add new (default-off) tracing visualization feature

    Usage example:

    mount -t debugfs nodev /sys/kernel/debug
    cd /sys/kernel/debug/tracing
    echo userstacktrace >iter_ctrl
    echo sched_switch >current_tracer
    echo 1 >tracing_enabled
    .... run application ...
    echo 0 >tracing_enabled

    Then read one of 'trace','latency_trace','trace_pipe'.

    To get the best output you can compile your userspace programs with
    frame pointers (at least glibc + the app you are tracing).

    Signed-off-by: Török Edwin
    Signed-off-by: Ingo Molnar

    Török Edwin
     
  • Ingo Molnar
     

21 Nov, 2008

2 commits

  • Ingo Molnar
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (23 commits)
    net: fix tiny output corruption of /proc/net/snmp6
    atl2: don't request irq on resume if netif running
    ipv6: use seq_release_private for ip6mr.c /proc entries
    pkt_sched: fix missing check for packet overrun in qdisc_dump_stab()
    smc911x: Fix printf format typo in smc911x driver.
    asix: Fix asix-based cards connecting to 10/100Mbs LAN.
    mv643xx_eth: fix recycle check bound
    mv643xx_eth: fix the order of mdiobus_{unregister, free}() calls
    sh: sh_eth: Update to change of mii_bus
    TPROXY: supply a struct flowi->flags argument in inet_sk_rebuild_header()
    TPROXY: fill struct flowi->flags in udp_sendmsg()
    net: ipg.c fix bracing on endian swapping
    phylib: Fix auto-negotiation restart avoidance
    net: jme.c rxdesc.flags is __le16, other missing endian swaps
    phylib: fix phy name example in documentation
    net: Do not fire linkwatch events until the device is registered.
    phonet: fix compilation with gcc-3.4
    ixgbe: fix compilation with gcc-3.4
    pktgen: fix multiple queue warning
    net: fix ip_mr_init() error path
    ...

    Linus Torvalds
     

20 Nov, 2008

3 commits

  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: more general identifier for Phoenix BIOS
    AMD IOMMU: check for next_bit also in unmapped area
    AMD IOMMU: fix fullflush comparison length
    AMD IOMMU: enable device isolation per default
    AMD IOMMU: add parameter to disable device isolation
    x86, PEBS/DS: fix code flow in ds_request()
    x86: add rdtsc barrier to TSC sync check
    xen: fix scrub_page()
    x86: fix es7000 compiling
    x86, bts: fix unlock problem in ds.c
    x86, voyager: fix smp generic helper voyager breakage
    x86: move iomap.h to the new include location

    Linus Torvalds
     
  • Add "min_addr" documentation.
    For "max_addr", add nn before [KMG] since a number is needed and this
    is consistent with other uses of [KMG].

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • All MDIO bus drivers currently name bus with "%x" format.
    There is one exception where mv643xx_eth driver is using "%d".
    Phy address on the bus uses format "%02x".

    Fixing phy name example to match all real life MDIO drivers.

    Signed-off-by: Paulius Zaleckas
    Signed-off-by: David S. Miller

    Paulius Zaleckas
     

19 Nov, 2008

2 commits


18 Nov, 2008

2 commits


16 Nov, 2008

6 commits


15 Nov, 2008

1 commit


13 Nov, 2008

12 commits

  • Impact: rename file /debug/tracing/iter_ctrl to /debug/tracing/trace_options

    The original ftrace had a file called "iter_ctrl" that would control
    the way the output was iterated. But this file grew into a catch all
    for different trace options. This patch renames the file from iter_ctrl
    to trace_options to reflect this change.

    Signed-off-by: Steven Rostedt
    Signed-off-by: Ingo Molnar

    Steven Rostedt
     
  • Impact: change the units of buffer_size_kb to kilobytes

    This patch changes the units of the buffer_size_kb file to kilobytes.
    Reading and writing to the file uses kilobytes as units. To help
    users to know what units are used, the output of the file now
    looks like:

    # cat /debug/tracing/buffer_size_kb
    1408

    Signed-off-by: Steven Rostedt
    Signed-off-by: Ingo Molnar

    Steven Rostedt
     
  • Impact: rename of debugfs file trace_entries to buffer_size_kb

    The original ftrace had fixed size entries, and the number of entries
    was shown and modified via the file called trace_entries. By converting
    to the unified trace buffer, we now allow for variable size entries
    which makes the meaning of trace_entries pointless.

    Since trace_size might be confused to the size of the trace, this patch
    names it "buffer_size_kb" (thanks to Arjan van de Ven for this idea).

    [ mingo@elte.hu: changed from buffer_size to buffer_size_kb ]

    ( Note, the units are still bytes - the next patch changes that,
    to keep the wide rename patch separate from the unit-change patch. )

    Signed-off-by: Steven Rostedt
    Signed-off-by: Ingo Molnar

    Steven Rostedt
     
  • C2port implements a two wire serial communication protocol (bit
    banging) designed to enable in-system programming, debugging, and
    boundary-scan testing on low pin-count Silicon Labs devices.

    Currently this code supports only flash programming through sysfs
    interface but extensions shoud be easy to add.

    Signed-off-by: Rodolfo Giometti
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rodolfo Giometti
     
  • Add a brief document about omap2430/3430 HDQ/1-wire driver.

    Signed-off-by: Madhusudhan Chikkature
    Acked-by: Evgeniy Polyakov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Madhusudhan Chikkature
     
  • The ics932s401 is a clock generator chip. This driver allows users to
    read the current clock outputs.

    Signed-off-by: Darrick J. Wong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Darrick J. Wong
     
  • New driver to play with. As Jean mentioned a couple of years ago, this
    chip is a beast with odd combinations of 8 fans, 4 temperatures, and 13
    voltage sensors. This driver has been tested on an IntelliStation Z30.

    Signed-off-by: Darrick J. Wong
    Cc: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Darrick J. Wong
     
  • This adds a driver to the accelerometer sensor found in several HP
    laptops (under the commercial names of "HP Mobile Data Protection System
    3D" and "HP 3D driveguard"). It tries to have more or less the same
    interfaces as the hdaps and other accelerometer drivers: in sysfs and as
    a joystick.

    This driver was first written by Yan Burman. Eric Piel has updated it
    and slimed it up (including the removal of an interface to access to the
    free-fall feature of the sensor because it is not reliable enough for
    now). Pavel Machek removed few more features and switched locking from
    semaphore to mutex.

    Several people have contributed to the database of the axes.

    [eric.piel@tremplin-utc.net: LIS3LV02D: Conform to the new ACPI API]
    Signed-off-by: Eric Piel
    Signed-off-by: Yan Burman
    Signed-off-by: Pavel Machek
    Cc: "Mark M. Hoffman"
    Signed-off-by: Eric Piel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Machek
     
  • xip documentation updated:
    - change "get_xip_page" to "get_xip_mem";
    - explain changed function parameters

    Signed-off-by: Marco Stornelli
    Signed-off-by: Randy Dunlap
    Cc: Carsten Otte
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Marco Stornelli
     
  • Add printk-formats.txt so that we don't have to keep fixing the
    same things over and over again.

    Signed-off-by: Randy Dunlap
    Cc: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • With this change, control file 'freezer.state' doesn't exist in root
    cgroup, making root cgroup unfreezable.

    I think it's reasonable to disallow freeze tasks in the root cgroup. And
    then we can avoid fork overhead when freezer subsystem is compiled but not
    used.

    Also make writing invalid value to freezer.state returns EINVAL rather
    than EIO. This is more consistent with other cgroup subsystem.

    Signed-off-by: Li Zefan
    Acked-by: Paul Menage
    Cc: Cedric Le Goater
    Cc: Paul Menage
    Cc: Matt Helsley
    Cc: "Serge E. Hallyn"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Li Zefan
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (47 commits)
    ACPI: pci_link: remove acpi_irq_balance_set() interface
    fujitsu-laptop: Add DMI callback for Lifebook S6420
    ACPI: EC: Don't do transaction from GPE handler in poll mode.
    ACPI: EC: lower interrupt storm treshold
    ACPICA: Use spinlock for acpi_{en|dis}able_gpe
    ACPI: EC: restart failed command
    ACPI: EC: wait for last write gpe
    ACPI: EC: make kernel messages more useful when GPE storm is detected
    ACPI: EC: revert msleep patch
    thinkpad_acpi: fingers off backlight if video.ko is serving this functionality
    sony-laptop: fingers off backlight if video.ko is serving this functionality
    msi-laptop: fingers off backlight if video.ko is serving this functionality
    fujitsu-laptop: fingers off backlight if video.ko is serving this functionality
    eeepc-laptop: fingers off backlight if video.ko is serving this functionality
    compal: fingers off backlight if video.ko is serving this functionality
    asus-acpi: fingers off backlight if video.ko is serving this functionality
    Acer-WMI: fingers off backlight if video.ko is serving this functionality
    ACPI video: if no ACPI backlight support, use vendor drivers
    ACPI: video: Ignore devices that aren't present in hardware
    Delete an unwanted return statement at evgpe.c
    ...

    Linus Torvalds
     

12 Nov, 2008

5 commits