aboutsummaryrefslogtreecommitdiff
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2012-10-16 14:51:04 -0300
committerArnaldo Carvalho de Melo <[email protected]>2012-10-17 11:45:38 -0300
commit356712f6e296fdae1edae51b96b485ed830bdc0c (patch)
treec39d432024ac279c23ae4d9083fc103b1fcc7125 /net/unix/garbage.c
parent743df75ff10630f1f2a461f0f4b51f601f53ec44 (diff)
perf python: Initialize 'page_size' variable
The commit 0c1fe6b: 'perf tools: Have the page size value available for all tools' Broke the python binding because the global variable 'page_size' is initialized on the main() routine, that is not called when using just the python binding, causing evlist.mmap() to fail because it expects that variable to be initialized to the system's page size. Fix it by initializing it on the binding init routine. Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[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/garbage.c')
0 files changed, 0 insertions, 0 deletions