X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tools%2Fperf%2Futil%2Fdata_map.c;h=08c4cf5e66baf7e8fe1418da6162b62f476538ed;hb=4e4f06e4c8f17ea96f7dd76251cab99511026401;hp=44dea211cc65baf0cb454847b27d88a8fe525c45;hpb=b9bf089212d95746ce66482bcdbc7e77a0651088;p=pandora-kernel.git diff --git a/tools/perf/util/data_map.c b/tools/perf/util/data_map.c index 44dea211cc65..08c4cf5e66ba 100644 --- a/tools/perf/util/data_map.c +++ b/tools/perf/util/data_map.c @@ -161,7 +161,7 @@ int perf_session__process_events(struct perf_session *self, err = -EINVAL; if (ops->sample_type_check && - ops->sample_type_check(sample_type) < 0) + ops->sample_type_check(sample_type, self) < 0) goto out_err; if (!ops->full_paths) {