perf tools: Remove unused evsel parameter from machine__resolve_callchain
[firefly-linux-kernel-4.4.55.git] / tools / perf / builtin-script.c
index 8f9f9b6140db630a6d5ce748b208eab84f83cba9..8fecd3b8130a75c6347ab9bd727e6c9e9a008567 100644 (file)
@@ -389,7 +389,7 @@ static void print_sample_bts(union perf_event *event,
                        printf(" ");
                else
                        printf("\n");
-               perf_event__print_ip(event, sample, machine, evsel,
+               perf_event__print_ip(event, sample, machine,
                                     PRINT_FIELD(SYM), PRINT_FIELD(DSO),
                                     PRINT_FIELD(SYMOFFSET));
        }
@@ -433,7 +433,7 @@ static void process_event(union perf_event *event __unused,
                        printf(" ");
                else
                        printf("\n");
-               perf_event__print_ip(event, sample, machine, evsel,
+               perf_event__print_ip(event, sample, machine,
                                     PRINT_FIELD(SYM), PRINT_FIELD(DSO),
                                     PRINT_FIELD(SYMOFFSET));
        }