Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Dec 9, 2013
1 parent 31cbf25 commit 98ca932
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ use the profile as input.

.. _`struct_layout`: https://github.com/arvidn/struct_layout

.. note::
``access_profiler`` is currently not compatible with
``std::make_shared`` or similar functions, since those
won't invoke the ``new`` operator. To profile such types,
convert them to regular ``std::shared_ptr`` constructor
which still allocates the object with ``new``.

output format
-------------

Expand Down
2 changes: 1 addition & 1 deletion access_profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void init_instrumentation()
sa.sa_sigaction = &single_step_handler;
sigaction(SIGTRAP, &sa, NULL);

access.resize(500);
access.resize(max_types);
}

void print_report()
Expand Down

0 comments on commit 98ca932

Please sign in to comment.