diff options
| author | Amir Vadai <[email protected]> | 2014-08-25 16:06:52 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-08-25 15:42:19 -0700 |
| commit | b3292e88e33677a90c18236fd895ace2d80efa3c (patch) | |
| tree | 9ee265c2a402a693c01cdac53b7845a200117f65 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | a77e4accce126d50d02705c687dd0b5025b63f89 (diff) | |
crash_dump: Make is_kdump_kernel() accessible from modules
In order to make is_kdump_kernel() accessible from modules, need to
make elfcorehdr_addr exported.
This was rejected in the past [1] because reset_devices was prefered in
that context (reseting the device in kdump kernel), but now there are
some network drivers that need to reduce memory usage when loaded from
a kdump kernel. And in that context, is_kdump_kernel() suits better.
[1] - https://lkml.org/lkml/2011/1/27/341
CC: Vivek Goyal <[email protected]>
Signed-off-by: Amir Vadai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions