• Stanislaw Gruszka's avatar
    debugobjects: Add hint for better object identification · 99777288
    Stanislaw Gruszka authored
    In complex subsystems like mac80211 structures can contain several
    timers and work structs, so identifying a specific instance from the
    call trace and object type output of debugobjects can be hard.
    Allow the subsystems which support debugobjects to provide a hint
    function. This function returns a pointer to a kernel address
    (preferrably the objects callback function) which is printed along
    with the debugobjects type.
    Add hint methods for timer_list, work_struct and hrtimer.
    [ tglx: Massaged changelog, made it compile ]
    Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
    LKML-Reference: <20110307085809.GA9334@redhat.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>