libperf: Rename the PERF_RECORD_ structs to have a "perf" suffix
Even more, to have a "perf_record_" prefix, so that they match the PERF_RECORD_ enum they map to. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-qbabmcz2a0pkzt72liyuz3p8@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
int setns(int fd, int nstype);
|
||||
#endif
|
||||
|
||||
struct namespaces_event;
|
||||
struct perf_record_namespaces;
|
||||
|
||||
struct namespaces {
|
||||
struct list_head list;
|
||||
@@ -25,7 +25,7 @@ struct namespaces {
|
||||
struct perf_ns_link_info link_info[];
|
||||
};
|
||||
|
||||
struct namespaces *namespaces__new(struct namespaces_event *event);
|
||||
struct namespaces *namespaces__new(struct perf_record_namespaces *event);
|
||||
void namespaces__free(struct namespaces *namespaces);
|
||||
|
||||
struct nsinfo {
|
||||
|
||||
Reference in New Issue
Block a user