[PATCH 01/31] bpf tools: New API to get name from a BPF object

2015-08-28 Thread Wang Nan
Before this patch there's no way to connect a loaded bpf object to its source file. However, during applying perf's '--filter' to BPF object, without this connection makes things harder, because perf loads all programs together, but '--filter' setting is for each object. API of

[PATCH 01/31] bpf tools: New API to get name from a BPF object

2015-08-28 Thread Wang Nan
Before this patch there's no way to connect a loaded bpf object to its source file. However, during applying perf's '--filter' to BPF object, without this connection makes things harder, because perf loads all programs together, but '--filter' setting is for each object. API of