Arnaldo Carvalho de Melo
46cb25b1a0
perf tools: Add missing object file to the python binding linkage list
...
In ac12f6764c ("perf tools: Implement branch_type event parameter") we
started using the parse_branch_str() function from one of the files used
in the python binding, which caused this entry in 'perf test' to fail:
# perf test -v python
16: Try 'import perf' in python, checking link problems :
--- start ---
test child forked, pid 16667
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /tmp/build/perf/python/perf.so: undefined symbol:
parse_branch_str
test child finished with -1
---- end ----
Try 'import perf' in python, checking link problems: FAILED!
#
I must've commited some mistake when running 'perf test' to send the
pull request for the perf-core-for-mingo-20161024 tag, to have let this
regression to pass, sigh.
Just add tools/perf/util/parse-branch-options.c and switch from using
ui__warning(), that is not available in the python binding, use
pr_warning() instead, which is good enough for this case.
Now:
# perf test python
16: Try 'import perf' in python, checking link problems : Ok
#
Cc: Adrian Hunter <adrian.hunter@intel.com >
Cc: David Ahern <dsahern@gmail.com >
Cc: Jiri Olsa <jolsa@kernel.org >
Cc: Namhyung Kim <namhyung@kernel.org >
Cc: Wang Nan <wangnan0@huawei.com >
Cc: Andi Kleen <ak@linux.intel.com >
Fixes: ac12f6764c ("perf tools: Implement branch_type event parameter")
Link: http://lkml.kernel.org/n/tip-9kn1ct1cx9ppwqlmzl6z0xhs@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com >
2016-10-28 11:29:45 -02:00
..
2016-09-01 12:41:09 -03:00
2016-10-24 10:31:32 -03:00
2016-06-23 10:30:31 -03:00
2016-08-23 15:37:33 -03:00
2016-07-12 15:19:58 -03:00
2016-09-20 12:28:30 -03:00
2016-09-20 12:28:29 -03:00
2016-09-29 11:17:02 -03:00
2016-09-29 11:17:02 -03:00
2016-09-08 13:44:03 -03:00
2016-09-08 13:44:03 -03:00
2016-10-24 11:07:42 -03:00
2016-07-13 23:09:03 -03:00
2015-11-18 17:51:04 -03:00
2015-11-18 17:51:04 -03:00
2016-10-24 11:07:37 -03:00
2016-09-29 11:17:02 -03:00
2016-07-13 23:09:08 -03:00
2016-07-12 15:19:58 -03:00
2016-05-06 13:00:43 -03:00
2016-05-06 13:00:43 -03:00
2016-05-05 21:03:59 -03:00
2016-07-04 19:39:01 -03:00
2016-06-23 11:26:15 -03:00
2016-03-23 15:06:35 -03:00
2016-07-12 15:20:34 -03:00
2016-03-23 15:06:35 -03:00
2016-07-12 15:20:24 -03:00
2015-08-05 16:44:02 -03:00
2016-06-23 17:20:04 -03:00
2016-06-23 17:20:04 -03:00
2015-08-08 14:16:49 -03:00
2015-08-08 14:16:49 -03:00
2016-07-18 19:42:47 -03:00
2016-07-18 19:42:47 -03:00
2016-09-22 12:19:40 -03:00
2016-02-24 20:21:12 -03:00
2016-09-28 10:38:20 -03:00
2016-06-28 10:54:55 -03:00
2016-06-28 10:54:56 -03:00
2016-07-12 15:19:47 -03:00
2016-04-14 08:57:54 -03:00
2016-05-30 12:41:43 -03:00
2016-05-06 13:00:53 -03:00
2016-08-23 15:37:33 -03:00
2016-07-12 15:19:47 -03:00
2016-02-05 09:46:45 -03:00
2016-02-05 09:46:45 -03:00
2016-07-12 16:12:38 -03:00
2016-07-12 16:12:38 -03:00
2016-09-22 12:19:41 -03:00
2016-09-22 12:19:41 -03:00
2016-09-20 16:20:21 -03:00
2016-07-12 15:20:24 -03:00
2016-09-29 11:17:08 -03:00
2016-09-29 11:17:08 -03:00
2016-09-01 12:41:09 -03:00
2016-07-04 19:39:01 -03:00
2016-07-04 19:39:01 -03:00
2016-09-28 10:21:15 -03:00
2016-10-24 10:31:32 -03:00
2016-10-03 11:24:13 -03:00
2016-07-15 17:27:50 -03:00
2016-09-29 11:17:00 -03:00
2016-10-24 11:07:35 -03:00
2016-10-24 11:07:35 -03:00
2016-02-05 12:33:09 -03:00
2016-10-24 11:07:40 -03:00
2016-10-24 11:07:40 -03:00
2016-01-08 12:46:17 -03:00
2016-06-06 17:04:15 -03:00
2016-10-24 11:07:34 -03:00
2016-10-03 19:58:00 -03:00
2016-07-12 15:20:24 -03:00
2015-12-14 12:30:37 -03:00
2016-10-21 10:31:57 -03:00
2016-10-21 10:31:57 -03:00
2016-10-24 10:31:32 -03:00
2015-08-21 11:34:10 -03:00
2016-10-24 10:31:32 -03:00
2016-09-29 11:17:05 -03:00
2016-06-23 11:39:19 -03:00
2016-03-23 15:06:35 -03:00
2016-10-24 11:07:40 -03:00
2016-10-24 11:07:39 -03:00
2016-01-29 17:49:54 -03:00
2016-07-12 15:19:58 -03:00
2016-10-24 11:07:42 -03:00
2016-06-21 13:18:34 -03:00
2016-08-24 11:20:58 -03:00
2016-10-03 11:24:13 -03:00
2016-09-05 11:14:50 -03:00
2016-10-24 11:07:42 -03:00
2016-09-05 11:14:50 -03:00
2016-10-19 13:18:31 -03:00
2016-10-19 13:18:31 -03:00
2016-04-14 08:57:54 -03:00
2016-04-14 08:57:54 -03:00
2016-10-28 11:29:45 -02:00
2016-10-24 11:07:35 -03:00
2016-10-24 11:07:35 -03:00
2016-10-03 21:35:47 -03:00
2016-10-17 11:24:18 -03:00
2016-09-13 17:09:11 -03:00
2015-12-17 14:27:14 -03:00
2015-08-31 18:01:33 -03:00
2016-07-12 15:19:58 -03:00
2016-05-11 21:54:06 +10:00
2015-09-30 18:34:27 -03:00
2016-10-28 11:29:42 -02:00
2016-10-03 21:35:47 -03:00
2016-10-03 11:24:12 -03:00
2016-09-01 12:42:25 -03:00
2016-09-29 11:17:02 -03:00
2016-08-23 17:03:31 -03:00
2016-09-29 11:17:07 -03:00
2016-09-01 12:41:09 -03:00
2016-10-28 11:29:45 -02:00
2016-07-18 19:49:47 -03:00
2016-10-24 11:07:44 -03:00
2016-07-12 15:19:55 -03:00
2016-06-23 11:35:07 -03:00
2016-06-23 11:26:15 -03:00
2016-10-24 11:07:33 -03:00
2016-04-13 10:11:52 -03:00
2016-02-29 11:18:25 -03:00
2016-10-19 13:18:31 -03:00
2016-10-19 13:18:31 -03:00
2015-09-02 16:30:46 -03:00
2016-06-06 17:04:16 -03:00
2016-06-23 11:26:15 -03:00
2016-06-06 17:04:16 -03:00
2016-07-12 15:19:55 -03:00
2016-10-03 11:24:13 -03:00
2016-10-24 11:07:46 -03:00
2016-01-12 12:42:07 -03:00
2016-06-23 11:35:01 -03:00
2016-08-23 15:37:33 -03:00
2016-03-23 15:06:35 -03:00
2016-04-14 19:46:53 -03:00
2016-09-05 11:14:50 -03:00
2016-09-05 11:14:50 -03:00
2016-09-29 11:17:01 -03:00
2016-09-29 11:17:01 -03:00
2016-04-08 09:58:14 -03:00
2016-04-08 09:58:14 -03:00
2016-07-29 11:54:35 -03:00
2015-12-09 13:42:02 -03:00
2015-12-09 13:42:02 -03:00
2016-06-23 11:35:01 -03:00
2016-04-13 10:11:51 -03:00
2016-06-23 17:04:26 -03:00
2016-06-23 17:04:26 -03:00
2016-10-03 11:24:13 -03:00
2016-06-07 12:08:52 -03:00
2016-03-31 10:52:24 -03:00
2016-05-20 11:43:55 -03:00
2015-09-04 12:00:45 -03:00
2015-12-11 11:52:24 -08:00
2015-07-23 22:51:11 -03:00
2016-10-28 11:29:44 -02:00
2016-07-12 16:14:52 -03:00
2016-07-12 16:14:52 -03:00
2016-04-28 09:58:58 -03:00
2016-03-08 10:11:18 +01:00
2016-04-01 18:42:55 -03:00
2016-08-16 15:23:29 -03:00
2015-11-23 18:31:13 -03:00
2016-10-24 11:07:39 -03:00
2016-07-04 20:27:12 -03:00
2016-07-04 20:27:12 -03:00
2016-03-23 12:32:31 -03:00
2016-10-28 11:29:40 -02:00
2016-10-28 11:29:40 -02:00
2016-10-24 11:07:44 -03:00
2016-10-24 11:07:44 -03:00
2016-06-23 10:25:58 -03:00
2015-06-16 10:34:39 -03:00
2015-06-16 10:34:39 -03:00