summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2020-02-26 22:30:04 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-02-27 11:03:13 -0300
commitbd862b1d839221322b2e38eb8a06861604804b5e (patch)
treedd74ce3f9f1374574ab62fc8a9f8068a6e76bc9b /tools/perf/util/annotate.h
parentb0aaf4c8f31feb21de59df723231c286df2d6be3 (diff)
downloadlinux-stable-bd862b1d839221322b2e38eb8a06861604804b5e.tar.gz
linux-stable-bd862b1d839221322b2e38eb8a06861604804b5e.tar.bz2
linux-stable-bd862b1d839221322b2e38eb8a06861604804b5e.zip
perf probe: Check return value of strlist__add() for -ENOMEM
strlist__add() may fail with -ENOMEM. Check it and give debugging hint in advance. Signed-off-by: He Zhe <zhe.he@windriver.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Kate Stewart <kstewart@linuxfoundation.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lore.kernel.org/lkml/1582727404-180095-1-git-send-email-zhe.he@windriver.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions