aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2018-10-01 09:28:45 +0300
committerArnaldo Carvalho de Melo <[email protected]>2018-10-23 14:26:06 -0300
commit341e73cbd3019d350d1271803b45d84af88f2408 (patch)
treee15524ae20116722e22858e2f4c97703ec503707 /scripts/patch-kernel
parent4be9ace7e1cdcb44c1fba1fb41ec2b92dda06732 (diff)
perf scripts python: call-graph-from-sql.py: Refactor TreeItem class
class TreeItem represents items at all levels of the call-graph tree. However, not all the levels represent the same data i.e. the top-level is comms, the next level is threads, and subsequent levels are functions. Consequently it is simpler to have separate classes for different levels with commonality in a base class. Refactor TreeItem class accordingly. Signed-off-by: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions