diff options
Diffstat (limited to 'tools/perf/builtin-diff.c')
| -rw-r--r-- | tools/perf/builtin-diff.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 18b3f505f9d..20df7352629 100644 --- a/tools/perf/builtin-diff.c +++ b/tools/perf/builtin-diff.c @@ -26,7 +26,8 @@ static int perf_session__add_hist_entry(struct perf_session *self,  					struct addr_location *al, u64 count)  {  	bool hit; -	struct hist_entry *he = __perf_session__add_hist_entry(self, al, NULL, +	struct hist_entry *he = __perf_session__add_hist_entry(&self->hists, +							       al, NULL,  							       count, &hit);  	if (he == NULL)  		return -ENOMEM;  |