summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2009-12-19 14:43:01 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-06 01:11:29 -0800
commit10b465aaf9536ee5a16652fa0700740183d48ec9 (patch)
tree402597ee1ed00b2cfb57f14dba96199134a79b26 /tools/perf/scripts/python/stackcollapse.py
parent74d2e4f8d79ae0c4b6ec027958d5b18058662eea (diff)
downloadkernel-10b465aaf9536ee5a16652fa0700740183d48ec9.tar.gz
modules: Skip empty sections when exporting section notes
Commit 35dead4 "modules: don't export section names of empty sections via sysfs" changed the set of sections that have attributes, but did not change the iteration over these attributes in add_notes_attrs(). This can lead to add_notes_attrs() creating attributes with the wrong names or with null name pointers. Introduce a sect_empty() function and use it in both add_sect_attrs() and add_notes_attrs(). Reported-by: Martin Michlmayr <tbm@cyrius.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Tested-by: Martin Michlmayr <tbm@cyrius.com> Cc: stable@kernel.org Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
href='/distro/kernel/commit/kernel/power/suspend.c?h=linux-6.12.y&id=ef25ba0476015908ef5960f9faac149ddf34ede0'>PM / sleep: Add flags to indicate platform firmware involvementRafael J. Wysocki 2015-07-31PM / suspend: make sync() on suspend-to-RAM build-time optionalLen Brown 2015-05-19PM / sleep: Return -EBUSY from suspend_enter() on wakeup detectionRuchi Kandoi 2015-05-12PM / sleep: Refine diagnostic messages in enter_state()Rafael J. Wysocki 2015-02-26PM / sleep: add configurable delay for pm_testBrian Norris 2015-02-13PM / sleep: Re-implement suspend-to-idle handlingRafael J. Wysocki 2014-11-08PM / sleep: Fix entering suspend-to-IDLE if no freeze_oops is setDmitry Eremin-Solenikov 2014-09-30ACPI / sleep: Rework the handling of ACPI GPE wakeup from suspend-to-idleRafael J. Wysocki 2014-09-30PM / sleep: Rename platform suspend/resume functions in suspend.cRafael J. Wysocki 2014-09-30PM / sleep: Export dpm_suspend_late/noirq() and dpm_resume_early/noirq()Rafael J. Wysocki 2014-09-22PM / sleep: new suspend_resume trace event for console resumeTodd E Brandt 2014-09-03PM / sleep: Fix test_suspend= command line optionRafael J. Wysocki 2014-08-06Merge tag 'pm+acpi-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds 2014-08-04Merge tag 'trace-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds 2014-07-23PM / sleep: Move platform suspend operations to separate functionsRafael J. Wysocki 2014-07-21PM / sleep: Simplify sleep states sysfs interface codeRafael J. Wysocki 2014-07-17PM / Sleep: Remove ftrace_stop/start() from suspend and hibernateSteven Rostedt (Red Hat) 2014-07-15PM / sleep: fix freeze_ops NULL pointer dereferencesZhang Rui 2014-06-07PM / sleep: trace events for suspend/resumeTodd E Brandt 2014-06-07Merge branch 'acpi-pm' into pm-sleepRafael J. Wysocki 2014-05-26PM / sleep: Introduce command line argument for sleep state enumerationRafael J. Wysocki 2014-05-26PM / sleep: Use valid_state() for platform-dependent sleep states onlyRafael J. Wysocki 2014-05-26PM / sleep: Add state field to pm_states[] entriesRafael J. Wysocki 2014-05-20Merge branch 'pm-sleep' into acpi-pmRafael J. Wysocki 2014-05-16ACPI / PM: Hold ACPI scan lock over the "freeze" sleep stateRafael J. Wysocki 2014-05-07PM / suspend: Always use deepest C-state in the "freeze" sleep stateRafael J. Wysocki 2014-04-21PM / suspend: Make cpuidle work in the "freeze" stateRafael J. Wysocki 2014-04-07kernel: use macros from compiler.h instead of __attribute__((...))Gideon Israel Dsouza 2014-03-11PM / suspend: Remove unnecessary !!Viresh Kumar 2013-07-26PM / Sleep: increase ftrace coverage in suspend/resumeBrandt, Todd E 2013-06-11PM / wakeup: Adjust messaging for wake events during suspendBernie Thompson