diff options
Diffstat (limited to 'tools/perf/util/header.c')
-rw-r--r-- | tools/perf/util/header.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 538598012139..2dd5edf161b7 100644 --- a/tools/perf/util/header.c +++ b/tools/perf/util/header.c | |||
@@ -437,7 +437,7 @@ static bool perf_session__read_build_ids(struct perf_session *session, bool with | |||
437 | return ret; | 437 | return ret; |
438 | } | 438 | } |
439 | 439 | ||
440 | static int write_trace_info(int fd, struct perf_header *h __used, | 440 | static int write_tracing_data(int fd, struct perf_header *h __used, |
441 | struct perf_evlist *evlist) | 441 | struct perf_evlist *evlist) |
442 | { | 442 | { |
443 | return read_tracing_data(fd, &evlist->entries); | 443 | return read_tracing_data(fd, &evlist->entries); |
@@ -1472,7 +1472,7 @@ out: | |||
1472 | return err; | 1472 | return err; |
1473 | } | 1473 | } |
1474 | 1474 | ||
1475 | static int process_trace_info(struct perf_file_section *section __unused, | 1475 | static int process_tracing_data(struct perf_file_section *section __unused, |
1476 | struct perf_header *ph __unused, | 1476 | struct perf_header *ph __unused, |
1477 | int feat __unused, int fd) | 1477 | int feat __unused, int fd) |
1478 | { | 1478 | { |
@@ -1508,11 +1508,11 @@ struct feature_ops { | |||
1508 | .full_only = true } | 1508 | .full_only = true } |
1509 | 1509 | ||
1510 | /* feature_ops not implemented: */ | 1510 | /* feature_ops not implemented: */ |
1511 | #define print_trace_info NULL | 1511 | #define print_tracing_data NULL |
1512 | #define print_build_id NULL | 1512 | #define print_build_id NULL |
1513 | 1513 | ||
1514 | static const struct feature_ops feat_ops[HEADER_LAST_FEATURE] = { | 1514 | static const struct feature_ops feat_ops[HEADER_LAST_FEATURE] = { |
1515 | FEAT_OPP(HEADER_TRACE_INFO, trace_info), | 1515 | FEAT_OPP(HEADER_TRACING_DATA, tracing_data), |
1516 | FEAT_OPP(HEADER_BUILD_ID, build_id), | 1516 | FEAT_OPP(HEADER_BUILD_ID, build_id), |
1517 | FEAT_OPA(HEADER_HOSTNAME, hostname), | 1517 | FEAT_OPA(HEADER_HOSTNAME, hostname), |
1518 | FEAT_OPA(HEADER_OSRELEASE, osrelease), | 1518 | FEAT_OPA(HEADER_OSRELEASE, osrelease), |