aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2011-06-02 10:55:10 -0300
committerArnaldo Carvalho de Melo <[email protected]>2011-06-03 10:07:01 -0300
commit9c850d6c4b95bb07fb066eb7f43dd4e3b4842b85 (patch)
tree5f6429b7558b215593f274b061c2979196df877a /net/unix/sysctl_net_unix.c
parentd21cc9f67d689effbfd24bac878bc2c057de8c46 (diff)
perf python: Use exception to propagate errors
We were using pr_debug to tell the user about not being able to parse a sample where we should really use the python way of reporting errors: exceptions. Fixes this problem: [root@emilia ~]# python >>> import perf Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /home/acme/git/build/perf/python/perf.so: undefined symbol: eprintf >>> [root@emilia ~] As we want to keep the objects linked in the python binding (and in the future in a shared library) minimal. Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions