History

perf util: Make util its own library

Make the util directory into its own library. This is done to avoid compiling code twice, once for the perf tool and once for the perf python module. For convenience: arch/common.c scripts/perl/Perf-Trace-Util/Context.c scripts/python/Perf-Trace-Util/Context.c are made part of this library.

Ian Rogers committed 2 years ago

Commit e4677051 parent 21cc3bc36 files · +316 −305Browse files

Showing the changes to tools/perf/scripts/python (1 of 36 files). Show all

Unified · Split

tools/perf/scripts/python/Perf-Trace-Util/Build+1−1
@@ -1,4 +1,4 @@
1−perf-y += Context.o
1+perf-util-y += Context.o
22
33 # -Wno-declaration-after-statement: The python headers have mixed code with declarations (decls after asserts, for instance)
44 CFLAGS_Context.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-nested-externs -Wno-declaration-after-statement

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t