aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZhou Chengming <[email protected]>2016-07-28 15:48:35 -0700
committerLinus Torvalds <[email protected]>2016-07-28 16:07:41 -0700
commit91fd8b95d656dcd3f0a4e17b6583e7b0220b0747 (patch)
tree8e33bf623881a0471ff611f3176f603cc27efe7d /tools/perf/scripts/python/export-to-postgresql.py
parent98c42d945238c55ab56e5716e89553fb7de45b66 (diff)
make __section_nr() more efficient
When CONFIG_SPARSEMEM_EXTREME is disabled, __section_nr can get the section number with a subtraction directly. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Zhou Chengming <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Hanjun Guo <[email protected]> Cc: Li Bin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions