aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-08-20 16:12:39 -0700
committerAlexei Starovoitov <[email protected]>2020-08-21 15:40:22 -0700
commit9c0f8cbdc0e9cf8a2a3a96045778b8d759f172c2 (patch)
treedda535077729918dc5752f275d2ca26b370f31e8 /tools/perf/scripts/python/flamegraph.py
parent50e09460d9f8dee9fbaaa3194c7921753d75cd96 (diff)
libbpf: Normalize and improve logging across few functions
Make libbpf logs follow similar pattern and provide more context like section name or program name, where appropriate. Also, add BPF_INSN_SZ constant and use it throughout to clean up code a little bit. This commit doesn't have any functional changes and just removes some code changes out of the way before bigger refactoring in libbpf internals. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions