From a83bdecfaae1ff40eabceb255ad7d36844d96758 Mon Sep 17 00:00:00 2001 From: Namhyung Kim Date: Mon, 15 Oct 2012 12:39:43 +0900 Subject: [PATCH] --- yaml --- r: 334655 b: refs/heads/master c: 88481b6b33d6cb5edb57e5794abae4daeabd08c5 h: refs/heads/master i: 334653: 9d5a2aaae01732476b348f0286ae57067547f03e 334651: 37a9d9d7dd2ebe55405bb6d3f734af5148c2e1d2 334647: 39c6a9a7f75038802355b69e3c10d3d1cde3d522 334639: 2d10802e3e4026c8b9b598320fc9f65461d48ed7 334623: c54ae10642d334a7b2f14eb522a5897366621583 334591: 83ecf23a3ab3748b8cfb74f996a7e83c0bac5e07 v: v3 --- [refs] | 2 +- trunk/tools/perf/util/sort.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 52b53ca50454..3bdceb3cbf8f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ffe10c6f95412da01695e659e967747333d5e812 +refs/heads/master: 88481b6b33d6cb5edb57e5794abae4daeabd08c5 diff --git a/trunk/tools/perf/util/sort.c b/trunk/tools/perf/util/sort.c index dd68f115d392..cfd1c0feb32d 100644 --- a/trunk/tools/perf/util/sort.c +++ b/trunk/tools/perf/util/sort.c @@ -263,6 +263,9 @@ static int hist_entry__srcline_snprintf(struct hist_entry *self, char *bf, if (!self->ms.map) goto out_ip; + if (!strncmp(self->ms.map->dso->long_name, "/tmp/perf-", 10)) + goto out_ip; + snprintf(cmd, sizeof(cmd), "addr2line -e %s %016" PRIx64, self->ms.map->dso->long_name, self->ip); fp = popen(cmd, "r");